kontact
kmobiletools_plugin.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KMOBILETOOLS_PLUGIN_H
00021 #define KMOBILETOOLS_PLUGIN_H
00022
00023 #include <kontactinterfaces/plugin.h>
00024 #include <kontactinterfaces/uniqueapphandler.h>
00025
00026 #include <kparts/part.h>
00027 #include <klocale.h>
00028
00029 class OrgKdeKmobiletoolsMainInterface;
00030
00031 class KMobileToolsPlugin : public Kontact::Plugin
00032 {
00033 Q_OBJECT
00034
00035 public:
00036 KMobileToolsPlugin( Kontact::Core *core, const QVariantList & );
00037 ~KMobileToolsPlugin();
00038
00039 int weight() const { return 800; }
00040 bool isRunningStandalone();
00041
00042 protected:
00043 KParts::ReadOnlyPart *createPart();
00044 bool partLoaded;
00045 OrgKdeKmobiletoolsMainInterface *m_interface;
00046 public slots:
00047 void slotNewSMS();
00048 };
00049
00050 #endif