From bcb704366cb5e333a626c18c308c7e0448a8e69f Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: 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 --- kdict/sets.h | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 kdict/sets.h (limited to 'kdict/sets.h') 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 + + 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 + +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 -- cgit v1.2.1