kspread
kspread_dlg_list.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __kspread_dlg_list__
00023 #define __kspread_dlg_list__
00024
00025 #include <kdialogbase.h>
00026
00027 class QListBox;
00028 class QListBoxItem;
00029 class QLineEdit;
00030 class QMultiLineEdit;
00031 class QPushButton;
00032
00033 class KConfig;
00034
00035 namespace KSpread
00036 {
00037
00038 class ListDialog: public KDialogBase
00039 {
00040 Q_OBJECT
00041
00042 public:
00043 ListDialog( QWidget* parent, const char* name );
00044 void init();
00045
00046 public slots:
00047 virtual void slotOk();
00048 void slotDoubleClicked(QListBoxItem *);
00049 void slotTextClicked(QListBoxItem*);
00050 void slotRemove();
00051 void slotAdd();
00052 void slotNew();
00053 void slotModify();
00054 void slotCopy();
00055
00056 protected:
00057 KConfig *config;
00058
00059 QListBox * list;
00060 QMultiLineEdit *entryList;
00061 QPushButton* m_pRemove;
00062 QPushButton* m_pNew;
00063 QPushButton* m_pAdd;
00064 QPushButton* m_pModify;
00065 QPushButton* m_pCopy;
00066 bool m_bChanged;
00067 };
00068
00069 }
00070
00071 #endif
|