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 @@ +// -*- 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 + + + + |