kontact

karmdcopiface_stub.h

00001 /****************************************************************************
00002 **
00003 ** DCOP Stub Definition created by dcopidl2cpp from karmdcopiface.kidl
00004 **
00005 ** WARNING! All changes made in this file will be lost!
00006 **
00007 *****************************************************************************/
00008 
00009 #ifndef __KARMDCOPIFACE_STUB__
00010 #define __KARMDCOPIFACE_STUB__
00011 
00012 #include <dcopstub.h>
00013 #include <dcopobject.h>
00014 
00015 
00016 class KarmDCOPIface_stub : virtual public DCOPStub
00017 {
00018 public:
00019     KarmDCOPIface_stub( const QCString& app, const QCString& id );
00020     KarmDCOPIface_stub( DCOPClient* client, const QCString& app, const QCString& id );
00021     explicit KarmDCOPIface_stub( const DCOPRef& ref );
00022     virtual QString version();
00023     virtual QString taskIdFromName( const QString& taskName );
00024     virtual int addTask( const QString& taskName );
00025     virtual QString setPerCentComplete( const QString& taskName, int perCent );
00026     virtual int bookTime( const QString& taskId, const QString& iso8601StartDateTime, long int durationInMinutes );
00027     virtual QString getError( int karmErrorNumber );
00028     virtual int totalMinutesForTaskId( const QString& taskId );
00029     virtual QString starttimerfor( const QString& taskname );
00030     virtual QString stoptimerfor( const QString& taskname );
00031     virtual QString deletetodo();
00032     virtual QString setpromptdelete( bool prompt );
00033     virtual bool getpromptdelete();
00034     virtual QString exportcsvfile( QString filename, QString from, QString to, int type, bool decimalMinutes, bool allTasks, QString delimiter, QString quote );
00035     virtual QString importplannerfile( QString filename );
00036     virtual bool save();
00037     virtual void quit();
00038 protected:
00039     KarmDCOPIface_stub() : DCOPStub( never_use ) {};
00040 };
00041 
00042 
00043 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys