summaryrefslogtreecommitdiff
path: root/noncore/comm
Unidiff
Diffstat (limited to 'noncore/comm') (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 @@
1// -*- c++ -*-
2
3#ifndef KVNCBOOKMARKDLG_H
4#define KVNCBOOKMARKDLG_H
5
6#include <qlist.h>
7#include "kvncbookmarkdlgbase.h"
8#include "krfbserver.h"
9
10
11class KVNCBookmarkDlg : public KVNCBookmarkDlgBase
12{
13 Q_OBJECT
14
15 public:
16 KVNCBookmarkDlg ( QWidget * parent=0, const char * name=0, WFlags f=0 ) ;
17
18 ~KVNCBookmarkDlg();
19 KRFBServer * getServer(QString);
20 void addBookmark(KRFBServer*);
21 void deleteBookmark(QString);
22 QString selectedBookmark(void);
23
24 public slots:
25 void readBookmarks();
26 void writeBookmarks();
27
28 private:
29 void refresh(void);
30 QString decipher(const QString& cipher);
31 QString encipher(const QString& cipher);
32 QList< KRFBServer> servers;
33};
34
35#endif // KVNCBOOKMARKDLG_H
36
37
38
39
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 @@
1// -*- c++ -*-
2
3#ifndef KVNCCONNECTION_H
4#define KVNCCONNECTION_H
5
6#include "kvncconndlgbase.h"
7#include "krfbserver.h"
8
9
10class KVNCConnDlg : public KVNCConnDlgBase
11{
12 Q_OBJECT
13
14 public:
15 KVNCConnDlg( KRFBServer *options,
16 QWidget *parent = 0, char *name = 0, bool modal = true );
17 ~KVNCConnDlg();
18
19 protected:
20 void accept();
21 private slots:
22 void save();
23
24 private:
25 KRFBServer tmpOptions;
26 KRFBServer * options;
27};
28
29#endif // KVNCCONNECTION_H
30
31
32
33