korganizer
korganizerifaceimpl.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef KORGANIZER_SHARED_H
00032 #define KORGANIZER_SHARED_H
00033
00034 #include "korganizeriface.h"
00035
00036 #include <qobject.h>
00037 #include <kdepimmacros.h>
00038
00039 class ActionManager;
00040
00041
00042 class KDE_EXPORT KOrganizerIfaceImpl : public QObject, virtual public KOrganizerIface {
00043 public:
00044 KOrganizerIfaceImpl( ActionManager* mActionManager,
00045 QObject* parent=0, const char* name=0 );
00046 ~KOrganizerIfaceImpl();
00047
00048 bool openURL( const QString &url );
00049 bool mergeURL( const QString &url );
00050 void closeURL();
00051 bool saveURL();
00052 bool saveAsURL( const QString &url );
00053 QString getCurrentURLasString() const;
00054
00055 bool editIncidence( const QString &uid );
00056 bool editIncidence( const QString &uid, const QDate &date );
00057
00059 bool deleteIncidence( const QString &uid ) { return deleteIncidence( uid, false ); }
00061 bool deleteIncidence( const QString &uid, bool force );
00062
00064 bool addIncidence( const QString &iCal );
00065
00067 void loadProfile( const QString& path );
00068
00070 void saveToProfile( const QString& path ) const;
00071
00072 private:
00073 ActionManager* mActionManager;
00074 };
00075
00076
00077 #endif // KORGANIZER_SHARED_H
00078
|