korganizer Library API Documentation

testnewstuff.h

00001 #ifndef TESTNEWSTUFF_H
00002 #define TESTNEWSTUFF_H
00003 
00004 #include <stdlib.h>
00005 
00006 #include <qpushbutton.h>
00007 
00008 #include <kapplication.h>
00009 #include <kdebug.h>
00010 
00011 #include "knewstuff.h"
00012 
00013 class TestNewStuff : public KNewStuff
00014 {
00015   public:
00016     TestNewStuff() : KNewStuff( "korganizer/calendar" ) {}
00017     
00018     bool install( const QString &fileName );
00019     
00020     bool createUploadFile( const QString &fileName );
00021 };
00022 
00023 class MyWidget : public QWidget
00024 {
00025     Q_OBJECT
00026   public:
00027     MyWidget();
00028     ~MyWidget();
00029     
00030   public slots:
00031     void upload();
00032     void download();
00033 
00034   private:
00035     KNewStuff *mNewStuff;
00036 };
00037 
00038 #endif
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sat Oct 18 02:47:32 2003 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001