• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

ksnewstuff.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           ksnewstuff.h  -  description
00003                              -------------------
00004     begin                : Wed 21 May 2004
00005     copyright            : (C) 2004 by Jason Harris
00006     email                : kstars@30doradus.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00030 #ifndef KSNEWSTUFF_H
00031 #define KSNEWSTUFF_H
00032 
00033 #include <kdeversion.h>
00034 
00035 #if KDE_IS_VERSION( 3, 2, 90 )
00036 
00037 #include <klocale.h>
00038 #include <kdebug.h>
00039 #include <qobject.h>
00040 
00041 #include <knewstuff/knewstuff.h>
00042 
00043 class KDirWatch;
00044 class KStars;
00045 
00046 class KSNewStuff : public QObject, public KNewStuff
00047 {
00048     Q_OBJECT
00049     public:
00054         KSNewStuff( QWidget *parent = 0 );
00055 
00061         bool install( const QString &fileName );
00062 
00068         bool createUploadFile( const QString & /*fileName*/ ) {
00069             kdDebug() << i18n( "Uploading data is not possible yet!" );
00070             return false;
00071         }
00072 
00073     public slots:
00079         void updateData( const QString &newFile );
00080 
00085         void slotProcessEvents();
00086 
00087     private:
00088         KDirWatch *kdw;
00089         KStars *ks;
00090         bool NGCUpdated;
00091 };
00092 
00093 #endif  // KDE >= 3.2.90
00094 #endif  // KSNEWSTUFF_H

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal