kaddressbook
ldapoptionswidget.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef LDAPOPTIONSWIDGET_H
00025 #define LDAPOPTIONSWIDGET_H
00026
00027 #include <qwidget.h>
00028
00029 class QToolButton;
00030 class KListView;
00031 class QListViewItem;
00032 class QPushButton;
00033
00034 class LDAPOptionsWidget : public QWidget
00035 {
00036 Q_OBJECT
00037
00038 public:
00039 LDAPOptionsWidget( QWidget* parent = 0, const char* name = 0 );
00040 ~LDAPOptionsWidget();
00041
00042 void restoreSettings();
00043 void saveSettings();
00044 void defaults();
00045
00046 signals:
00047 void changed( bool );
00048
00049 private slots:
00050 void slotAddHost();
00051 void slotEditHost();
00052 void slotRemoveHost();
00053 void slotSelectionChanged( QListViewItem* );
00054 void slotItemClicked( QListViewItem* );
00055 void slotMoveUp();
00056 void slotMoveDown();
00057
00058 private:
00059 void initGUI();
00060
00061 KListView* mHostListView;
00062
00063 QPushButton* mAddButton;
00064 QPushButton* mEditButton;
00065 QPushButton* mRemoveButton;
00066
00067 QToolButton* mUpButton;
00068 QToolButton* mDownButton;
00069 };
00070
00071 #endif
|