sknewstuff.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef SKNEWSTUFF_H
00022 #define SKNEWSTUFF_H
00023
00024 #include <kurl.h>
00025 #include "karambaapp.h"
00026
00027 #ifdef HAVE_CONFIG_H
00028 #include <config.h>
00029 #endif
00030
00031 #ifdef HAVE_KNEWSTUFF
00032 #include "knewstuff/knewstuff.h"
00033 #include "knewstuff/entry.h"
00034
00035 class ThemesDlg;
00036 class KArchiveDirectory;
00037
00038 class SKNewStuff : public KNewStuff
00039 {
00040 public:
00041 SKNewStuff( ThemesDlg * );
00042
00043 bool install( const QString &fileName );
00044 bool createUploadFile( const QString &fileName );
00045 QString downloadDestination( KNS::Entry *entry );
00046
00047 private:
00048 ThemesDlg *mDlg;
00049 KURL m_sourceLink;
00050 };
00051
00052 #endif //HAVE_KNEWSTUFF
00053 #endif //SKNEWSTUFF_H
|