diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | bcb704366cb5e333a626c18c308c7e0448a8e69f (patch) | |
tree | f0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /kdict/sets.h | |
download | tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdict/sets.h')
-rw-r--r-- | kdict/sets.h | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/kdict/sets.h b/kdict/sets.h new file mode 100644 index 00000000..3e874a6e --- /dev/null +++ b/kdict/sets.h @@ -0,0 +1,68 @@ +/* ------------------------------------------------------------- + + sets.h (part of The KDE Dictionary Client) + + Copyright (C) 2000-2001 Christian Gebauer <gebauer@kde.org> + + This file is distributed under the Artistic License. + See LICENSE for details. + + ------------------------------------------------------------- + + dbSetsDialog dialog for editing the user defined database sets + + ------------------------------------------------------------- */ + +#ifndef _KDICT_SETS_H_ +#define _KDICT_SETS_H_ + +#include <kdialogbase.h> + +class QListBox; + + +//********* DbSetsDialog ****************************************** + + +class DbSetsDialog : public KDialogBase +{ + Q_OBJECT + +public: + + DbSetsDialog(QWidget *parent=0, const char *name=0); + +signals: + + void setsChanged(); + void dialogClosed(); + +protected: + void hideEvent(QHideEvent *); + +private slots: + + void newPressed(); + void deletePressed(); + void allLeftPressed(); + void leftPressed(); + void rightPressed(); + void allRightPressed(); + void closePressed(); + void transferSet(); + void activateSet(int num); + void leftSelected(int index); + void rightSelected(int index); + void leftHighlighted(int index); + void rightHighlighted(int index); + +private: + + void checkButtons(); + + QComboBox *w_set; + QListBox *w_leftBox, *w_rightBox; + QPushButton *w_delete,*w_save,*w_allLeft,*w_left,*w_right,*w_allRight; +}; + +#endif |