summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/preferencesdialog.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitbd9e6617827818fd043452c08c606f07b78014a0 (patch)
tree425bb4c3168f9c02f10150f235d2cb998dcc6108 /kbugbuster/gui/preferencesdialog.h
downloadtdesdk-bd9e6617827818fd043452c08c606f07b78014a0.tar.gz
tdesdk-bd9e6617827818fd043452c08c606f07b78014a0.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/kdesdk@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbugbuster/gui/preferencesdialog.h')
-rw-r--r--kbugbuster/gui/preferencesdialog.h76
1 files changed, 76 insertions, 0 deletions
diff --git a/kbugbuster/gui/preferencesdialog.h b/kbugbuster/gui/preferencesdialog.h
new file mode 100644
index 00000000..29c72eaf
--- /dev/null
+++ b/kbugbuster/gui/preferencesdialog.h
@@ -0,0 +1,76 @@
+#ifndef PREFERENCESDIALOG_H
+#define PREFERENCESDIALOG_H
+
+#include <kdialogbase.h>
+
+class QCheckBox;
+class QRadioButton;
+class QLineEdit;
+class QListView;
+class KIntNumInput;
+class ServerListView;
+
+class PreferencesDialog : public KDialogBase
+{
+ Q_OBJECT
+ public:
+ PreferencesDialog( QWidget* parent = 0, const char* name = 0 );
+ ~PreferencesDialog();
+
+ void createServerItem( ServerListView *listView, const QString &name,
+ const QString &url, const QString &version );
+
+ public:
+ void readConfig();
+ void writeConfig();
+
+ signals:
+ void configChanged();
+
+ protected slots:
+ void setDefaults();
+ void slotApply();
+ void slotOk();
+ void slotCancel();
+
+ void addServer();
+ void editServer();
+ void removeServer();
+
+ void selectServer();
+
+ protected:
+ void setupServerPage();
+ void setupAdvancedPage();
+
+
+ private:
+ QCheckBox *mShowClosedCheckBox;
+ QCheckBox *mShowWishesCheckBox;
+ QCheckBox *mShowVotedCheckBox;
+ QCheckBox *mSendBccCheckBox;
+ KIntNumInput *mMinVotesInput;
+ QRadioButton *mKMailButton;
+ QRadioButton *mDirectButton;
+ QRadioButton *mSendmailButton;
+ QListView *mServerList;
+};
+
+class ServerListView;
+class ServerItem;
+
+class SelectServerDlg : public KDialogBase
+{
+ Q_OBJECT
+public:
+ SelectServerDlg(PreferencesDialog *parent, const char */*name*/ );
+ ServerItem *serverSelected();
+protected slots:
+ void slotDoubleClicked( QListViewItem *);
+
+protected:
+ ServerListView *list;
+};
+
+
+#endif