akonadi/kcm
resourcesmanagementwidget.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
00023
00024 #ifndef RESOURCES_MANAGEMENTWIDGET_H
00025 #define RESOURCES_MANAGEMENTWIDGET_H
00026
00027 #include <QtGui/QWidget>
00028 #include <QStringList>
00029
00030 #include <akonadi/agentinstance.h>
00031
00036 class ResourcesManagementWidget : public QWidget
00037 {
00038 Q_OBJECT
00039
00040 public:
00047 explicit ResourcesManagementWidget( QWidget *parent = 0,
00048 const QStringList &filter=QStringList() );
00049
00053 virtual ~ResourcesManagementWidget();
00054
00055 private Q_SLOTS:
00056 void updateButtonState( const Akonadi::AgentInstance& = Akonadi::AgentInstance() );
00057 void addClicked( QAction* );
00058 void editClicked();
00059 void removeClicked();
00060 void updateMenu();
00061
00062 private:
00063 class Private;
00064 Private * const d;
00065 };
00066
00067 #endif