summaryrefslogtreecommitdiff
path: root/noncore/comm/keypebble/kvnc.h
Unidiff
Diffstat (limited to 'noncore/comm/keypebble/kvnc.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/comm/keypebble/kvnc.h14
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
9class QAction; 11class QAction;
10class KRFBCanvas; 12class KRFBCanvas;
11class QPushButton; 13class QPushButton;
12class QToolBar; 14class QToolBar;
13 15
@@ -22,16 +24,19 @@ class KVNC : public QMainWindow
22 Q_OBJECT 24 Q_OBJECT
23public: 25public:
24 KVNC( const char *name = 0 ); 26 KVNC( const char *name = 0 );
25 ~KVNC(); 27 ~KVNC();
26 28
27public slots: 29public 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
33protected: 38protected:
34 void setupActions(); 39 void setupActions();
35 40
36protected slots: 41protected 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