knewstuffgeneric.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KNEWSTUFFGENERIC_H
00022 #define KNEWSTUFFGENERIC_H
00023
00024 #include "knewstuff.h"
00025
00026 class KConfig;
00027
00042 class KDE_EXPORT KNewStuffGeneric : public KNewStuff
00043 {
00044 public:
00051 KNewStuffGeneric( const QString &type, QWidget *parent = 0 );
00052 ~KNewStuffGeneric();
00053
00060 bool install( const QString &fileName );
00061
00070 bool createUploadFile( const QString &fileName );
00071
00078 QString downloadDestination( KNS::Entry *entry );
00079
00080 private:
00081 QString destinationPath( KNS::Entry *entry );
00082
00083 KConfig *mConfig;
00084 };
00085
00086 #endif
This file is part of the documentation for knewstuff Library Version 3.4.0.