summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/comm/keypebble/kvncbookmarkdlg.h39
-rw-r--r--noncore/comm/keypebble/kvncconndlg.h33
2 files changed, 72 insertions, 0 deletions
diff --git a/noncore/comm/keypebble/kvncbookmarkdlg.h b/noncore/comm/keypebble/kvncbookmarkdlg.h
new file mode 100644
index 0000000..fc0d3e2
--- a/dev/null
+++ b/noncore/comm/keypebble/kvncbookmarkdlg.h
@@ -0,0 +1,39 @@
+// -*- c++ -*-
+
+#ifndef KVNCBOOKMARKDLG_H
+#define KVNCBOOKMARKDLG_H
+
+#include <qlist.h>
+#include "kvncbookmarkdlgbase.h"
+#include "krfbserver.h"
+
+
+class KVNCBookmarkDlg : public KVNCBookmarkDlgBase
+{
+ Q_OBJECT
+
+ public:
+ KVNCBookmarkDlg ( QWidget * parent=0, const char * name=0, WFlags f=0 ) ;
+
+ ~KVNCBookmarkDlg();
+ KRFBServer * getServer(QString);
+ void addBookmark(KRFBServer*);
+ void deleteBookmark(QString);
+ QString selectedBookmark(void);
+
+ public slots:
+ void readBookmarks();
+ void writeBookmarks();
+
+ private:
+ void refresh(void);
+ QString decipher(const QString& cipher);
+ QString encipher(const QString& cipher);
+ QList< KRFBServer> servers;
+};
+
+#endif // KVNCBOOKMARKDLG_H
+
+
+
+
diff --git a/noncore/comm/keypebble/kvncconndlg.h b/noncore/comm/keypebble/kvncconndlg.h
new file mode 100644
index 0000000..fae7d62
--- a/dev/null
+++ b/noncore/comm/keypebble/kvncconndlg.h
@@ -0,0 +1,33 @@
+// -*- c++ -*-
+
+#ifndef KVNCCONNECTION_H
+#define KVNCCONNECTION_H
+
+#include "kvncconndlgbase.h"
+#include "krfbserver.h"
+
+
+class KVNCConnDlg : public KVNCConnDlgBase
+{
+ Q_OBJECT
+
+ public:
+ KVNCConnDlg( KRFBServer *options,
+ QWidget *parent = 0, char *name = 0, bool modal = true );
+ ~KVNCConnDlg();
+
+ protected:
+ void accept();
+ private slots:
+ void save();
+
+ private:
+ KRFBServer tmpOptions;
+ KRFBServer * options;
+};
+
+#endif // KVNCCONNECTION_H
+
+
+
+