summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/serverconfigdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/gui/serverconfigdialog.h')
-rw-r--r--kbugbuster/gui/serverconfigdialog.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/kbugbuster/gui/serverconfigdialog.h b/kbugbuster/gui/serverconfigdialog.h
new file mode 100644
index 00000000..5764bfdf
--- /dev/null
+++ b/kbugbuster/gui/serverconfigdialog.h
@@ -0,0 +1,28 @@
+#ifndef SERVERCONFIGDIALOG_H
+#define SERVERCONFIGDIALOG_H
+
+#include <kdialogbase.h>
+
+class BugServerConfig;
+class QLineEdit;
+class KPasswordEdit;
+class QComboBox;
+
+class ServerConfigDialog : public KDialogBase
+{
+ Q_OBJECT
+ public:
+ ServerConfigDialog( QWidget *parent = 0 , const char *name = 0 );
+
+ void setServerConfig( const BugServerConfig & );
+ BugServerConfig serverConfig();
+
+ private:
+ QLineEdit *mServerName;
+ QLineEdit *mServerUrl;
+ QLineEdit *mUser;
+ KPasswordEdit *mPassword;
+ QComboBox *mVersion;
+};
+
+#endif