author | treke <treke> | 2002-09-04 17:53:12 (UTC) |
---|---|---|
committer | treke <treke> | 2002-09-04 17:53:12 (UTC) |
commit | 605d854057eb470a1d75210193b82eb0b1ad6b53 (patch) (unidiff) | |
tree | c411b661d5211fefbd83a7c8f63eef8c9cca72ee /noncore/comm/keypebble/kvnc.h | |
parent | c35a5eabd8f5ed18e4216f6c88ee6794bacfb491 (diff) | |
download | opie-605d854057eb470a1d75210193b82eb0b1ad6b53.zip opie-605d854057eb470a1d75210193b82eb0b1ad6b53.tar.gz opie-605d854057eb470a1d75210193b82eb0b1ad6b53.tar.bz2 |
Major modifications to the User Interface
1) Bookmark support added, all options are stored on a per bookmark basis
2) 16 Bit color is now a supported bit depth for the server
Diffstat (limited to 'noncore/comm/keypebble/kvnc.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/comm/keypebble/kvnc.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/noncore/comm/keypebble/kvnc.h b/noncore/comm/keypebble/kvnc.h index 92666c5..6e0a385 100644 --- a/noncore/comm/keypebble/kvnc.h +++ b/noncore/comm/keypebble/kvnc.h | |||
@@ -2,12 +2,14 @@ | |||
2 | 2 | ||
3 | #ifndef KVNC_H | 3 | #ifndef KVNC_H |
4 | #define KVNC_H | 4 | #define KVNC_H |
5 | 5 | ||
6 | #include <qmainwindow.h> | 6 | #include <qmainwindow.h> |
7 | #include <qurl.h> | 7 | #include <qurl.h> |
8 | #include <qwidgetstack.h> | ||
9 | #include "kvncbookmarkdlg.h" | ||
8 | 10 | ||
9 | class QAction; | 11 | class QAction; |
10 | class KRFBCanvas; | 12 | class KRFBCanvas; |
11 | class QPushButton; | 13 | class QPushButton; |
12 | class QToolBar; | 14 | class QToolBar; |
13 | 15 | ||
@@ -22,16 +24,19 @@ class KVNC : public QMainWindow | |||
22 | Q_OBJECT | 24 | Q_OBJECT |
23 | public: | 25 | public: |
24 | KVNC( const char *name = 0 ); | 26 | KVNC( const char *name = 0 ); |
25 | ~KVNC(); | 27 | ~KVNC(); |
26 | 28 | ||
27 | public slots: | 29 | public slots: |
30 | void newConnection(); | ||
31 | void deleteBookmark(); | ||
32 | void openConnection(QListBoxItem *); | ||
33 | void openConnection(QString); | ||
34 | void openConnection(void); | ||
28 | void toggleFullScreen(); | 35 | void toggleFullScreen(); |
29 | void openURL( const QUrl & ); | ||
30 | void closeConnection(); | 36 | void closeConnection(); |
31 | void showOptions(); | ||
32 | 37 | ||
33 | protected: | 38 | protected: |
34 | void setupActions(); | 39 | void setupActions(); |
35 | 40 | ||
36 | protected slots: | 41 | protected slots: |
37 | void showMenu(); | 42 | void showMenu(); |
@@ -47,10 +52,15 @@ private: | |||
47 | KRFBCanvas *canvas; | 52 | KRFBCanvas *canvas; |
48 | QPopupMenu *cornerMenu; | 53 | QPopupMenu *cornerMenu; |
49 | QPushButton *cornerButton; | 54 | QPushButton *cornerButton; |
50 | QAction *fullScreenAction; | 55 | QAction *fullScreenAction; |
51 | QAction *optionsAction; | 56 | QAction *optionsAction; |
52 | QAction *disconnectAction; | 57 | QAction *disconnectAction; |
58 | QAction *ctlAltDelAction;; | ||
53 | QAction *connectAction; | 59 | QAction *connectAction; |
60 | |||
61 | KVNCBookmarkDlg * bookmarkSelector; | ||
62 | QWidgetStack * stack; | ||
63 | KRFBServer * curServer; | ||
54 | }; | 64 | }; |
55 | 65 | ||
56 | #endif // KVNC_H | 66 | #endif // KVNC_H |