summaryrefslogtreecommitdiff
path: root/noncore/comm/keypebble/kvncconnectdlg.h
authorkergoth <kergoth>2002-01-25 22:14:26 (UTC)
committer kergoth <kergoth>2002-01-25 22:14:26 (UTC)
commit15318cad33835e4e2dc620d033e43cd930676cdd (patch) (side-by-side diff)
treec2fa0399a2c47fda8e2cd0092c73a809d17f68eb /noncore/comm/keypebble/kvncconnectdlg.h
downloadopie-15318cad33835e4e2dc620d033e43cd930676cdd.zip
opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.gz
opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.bz2
Initial revision
Diffstat (limited to 'noncore/comm/keypebble/kvncconnectdlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/comm/keypebble/kvncconnectdlg.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/noncore/comm/keypebble/kvncconnectdlg.h b/noncore/comm/keypebble/kvncconnectdlg.h
new file mode 100644
index 0000000..cf34aab
--- a/dev/null
+++ b/noncore/comm/keypebble/kvncconnectdlg.h
@@ -0,0 +1,39 @@
+// -*- c++ -*-
+
+#ifndef KVNCCONNECTDLG_H
+#define KVNCCONNECTDLG_H
+
+#include <qdialog.h>
+#include <qspinbox.h>
+#include <qcombobox.h>
+#include <qlineedit.h>
+#include <qurl.h>
+
+class KRFBConnection;
+
+class KVNCConnectDlg : public QDialog
+{
+ Q_OBJECT
+
+public:
+ KVNCConnectDlg( KRFBConnection *con,
+ QWidget *parent = 0, const char *name = 0 );
+
+ QString hostname() { return hostNameCombo->currentText(); };
+ int display() { return displayNumberEdit->value(); };
+ QString password() const { return passwordEdit->text(); }
+
+protected:
+ void accept();
+
+protected slots:
+ void options();
+
+private:
+ QComboBox *hostNameCombo;
+ QSpinBox *displayNumberEdit;
+ QLineEdit *passwordEdit;
+ KRFBConnection *con;
+};
+
+#endif // KVNCCONNECTDLG_H