kstars
ksnewstuff.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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 & ) {
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