kontact
sidepanebase.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
00021
00022 #ifndef KONTACT_SIDEPANEBASE_H
00023 #define KONTACT_SIDEPANEBASE_H
00024
00025 #include <kvbox.h>
00026 #include <QList>
00027
00028 class KActionCollection;
00029
00030 namespace KParts {
00031 class Part;
00032 }
00033
00034 namespace Kontact
00035 {
00036
00037 class Core;
00038 class Plugin;
00039
00040 class SidePaneBase : public KVBox
00041 {
00042 Q_OBJECT
00043 public:
00044 SidePaneBase( Core *core, QWidget *parent );
00045 virtual ~SidePaneBase();
00046
00047 virtual void setCurrentPlugin( const QString & ) = 0;
00048
00049 signals:
00050 void pluginSelected( Kontact::Plugin * );
00051
00052 public slots:
00057 virtual void updatePlugins() = 0;
00058
00059 protected:
00060 Core *core() const;
00061
00062 private:
00063 Core *mCore;
00064 KActionCollection *mActionCollection;
00065 };
00066
00067 }
00068
00069 #endif