summaryrefslogtreecommitdiff
path: root/noncore/comm/keypebble/kvnc.h
Side-by-side diff
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 @@
#ifndef KVNC_H
#define KVNC_H
#include <qmainwindow.h>
#include <qurl.h>
+#include <qwidgetstack.h>
+#include "kvncbookmarkdlg.h"
class QAction;
class KRFBCanvas;
class QPushButton;
class QToolBar;
@@ -22,16 +24,19 @@ class KVNC : public QMainWindow
Q_OBJECT
public:
KVNC( const char *name = 0 );
~KVNC();
public slots:
+ void newConnection();
+ void deleteBookmark();
+ void openConnection(QListBoxItem *);
+ void openConnection(QString);
+ void openConnection(void);
void toggleFullScreen();
- void openURL( const QUrl & );
void closeConnection();
- void showOptions();
protected:
void setupActions();
protected slots:
void showMenu();
@@ -47,10 +52,15 @@ private:
KRFBCanvas *canvas;
QPopupMenu *cornerMenu;
QPushButton *cornerButton;
QAction *fullScreenAction;
QAction *optionsAction;
QAction *disconnectAction;
+ QAction *ctlAltDelAction;;
QAction *connectAction;
+
+ KVNCBookmarkDlg * bookmarkSelector;
+ QWidgetStack * stack;
+ KRFBServer * curServer;
};
#endif // KVNC_H