akonadi/clients
agentwidget.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 AGENTWIDGET_H
00023 #define AGENTWIDGET_H
00024
00025 #include <QtGui/QWidget>
00026
00027 namespace Akonadi {
00028 class AgentInstanceWidget;
00029 class AgentManager;
00030 }
00031
00032 class AgentWidget : public QWidget
00033 {
00034 Q_OBJECT
00035
00036 public:
00037 AgentWidget( QWidget *parent = 0 );
00038 Akonadi::AgentInstanceWidget *widget() const { return mWidget; }
00039
00040 private Q_SLOTS:
00041 void addAgent();
00042 void removeAgent();
00043 void configureAgent();
00044 void synchronizeAgent();
00045 void synchronizeTree();
00046 void toggleOnline();
00047
00048 private:
00049 Akonadi::AgentInstanceWidget *mWidget;
00050 Akonadi::AgentManager *mManager;
00051 };
00052
00053 #endif