kontact
sidepanebase.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KONTACT_SIDEPANEBASE_H
00022 #define KONTACT_SIDEPANEBASE_H
00023
00024 #include <qvbox.h>
00025
00026 namespace KParts { class Part; }
00027
00028 namespace Kontact
00029 {
00030
00031 class Core;
00032 class Plugin;
00033
00034 class SidePaneBase : public QVBox
00035 {
00036 Q_OBJECT
00037 public:
00038 SidePaneBase( Core *core, QWidget *parent, const char *name = 0 );
00039 virtual ~SidePaneBase();
00040
00041 signals:
00042 void pluginSelected( Kontact::Plugin* );
00043
00044 public slots:
00049 virtual void updatePlugins() = 0;
00050
00051
00052 virtual void indicateForegrunding( Kontact::Plugin* ) = 0;
00053 protected:
00054 Core* core() const;
00055
00056 private:
00057 Core* mCore;
00058 KActionCollection *mActionCollection;
00059 };
00060
00061 }
00062
00063 #endif
|