akonadi/contact
imeditordialog.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef IMEDITORDIALOG_H
00024 #define IMEDITORDIALOG_H
00025
00026 #include <kdialog.h>
00027
00028 #include "immodel.h"
00029
00030 class QPushButton;
00031 class QTreeView;
00032
00033 class IMEditorDialog : public KDialog
00034 {
00035 Q_OBJECT
00036
00037 public:
00038 IMEditorDialog( QWidget *parent );
00039 ~IMEditorDialog() {}
00040
00041 void setAddresses( const IMAddress::List &addresses );
00042 IMAddress::List addresses() const;
00043
00044 private Q_SLOTS:
00045 void slotAdd();
00046 void slotRemove();
00047 void slotSetStandard();
00048 void slotUpdateButtons();
00049
00050 private:
00051 QTreeView *mView;
00052 QPushButton *mAddButton;
00053 QPushButton *mRemoveButton;
00054 QPushButton *mStandardButton;
00055
00056 IMModel *mModel;
00057 };
00058
00059 #endif