Diffstat (limited to 'noncore/comm/keypebble/kvncbookmarkdlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/comm/keypebble/kvncbookmarkdlg.h | 39 |
1 files changed, 39 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 | |||
11 | class 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 | |||