Diffstat (limited to 'noncore/comm/keypebble/krfbcanvas.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/comm/keypebble/krfbcanvas.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/comm/keypebble/krfbcanvas.h b/noncore/comm/keypebble/krfbcanvas.h index cd3047c..5c7b949 100644 --- a/noncore/comm/keypebble/krfbcanvas.h +++ b/noncore/comm/keypebble/krfbcanvas.h | |||
@@ -23,34 +23,38 @@ public: | |||
23 | void setConnection( KRFBConnection * ); | 23 | void setConnection( KRFBConnection * ); |
24 | KRFBConnection *connection() { return connection_; }; | 24 | KRFBConnection *connection() { return connection_; }; |
25 | 25 | ||
26 | public slots: | 26 | public slots: |
27 | 27 | ||
28 | void openConnection (KRFBServer); | 28 | void openConnection (KRFBServer); |
29 | void openURL( const QUrl & ); | 29 | void openURL( const QUrl & ); |
30 | void closeConnection(); | 30 | void closeConnection(); |
31 | 31 | ||
32 | void refresh(); | 32 | void refresh(); |
33 | void bell(); | 33 | void bell(); |
34 | void sendCtlAltDel(void); | 34 | void sendCtlAltDel(void); |
35 | void markRightClick(void); | ||
36 | void markDoubleClick(void); | ||
35 | 37 | ||
36 | protected: | 38 | protected: |
37 | virtual void keyPressEvent( QKeyEvent * ); | 39 | virtual void keyPressEvent( QKeyEvent * ); |
38 | virtual void keyReleaseEvent( QKeyEvent * ); | 40 | virtual void keyReleaseEvent( QKeyEvent * ); |
39 | virtual void contentsMousePressEvent( QMouseEvent * ); | 41 | virtual void contentsMousePressEvent( QMouseEvent * ); |
40 | virtual void contentsMouseReleaseEvent( QMouseEvent * ); | 42 | virtual void contentsMouseReleaseEvent( QMouseEvent * ); |
41 | virtual void contentsMouseMoveEvent( QMouseEvent * ); | 43 | virtual void contentsMouseMoveEvent( QMouseEvent * ); |
42 | 44 | ||
43 | virtual void viewportPaintEvent( QPaintEvent *e ); | 45 | virtual void viewportPaintEvent( QPaintEvent *e ); |
44 | 46 | ||
45 | protected slots: | 47 | protected slots: |
46 | void loggedIn(); | 48 | void loggedIn(); |
47 | void viewportUpdate( int x, int y, int w, int h ); | 49 | void viewportUpdate( int x, int y, int w, int h ); |
48 | void clipboardChanged(); | 50 | void clipboardChanged(); |
49 | 51 | ||
50 | private: | 52 | private: |
53 | int nextRightClick; | ||
54 | int nextDoubleClick; | ||
51 | KRFBConnection *connection_; | 55 | KRFBConnection *connection_; |
52 | QString password; | 56 | QString password; |
53 | bool loggedIn_; | 57 | bool loggedIn_; |
54 | }; | 58 | }; |
55 | 59 | ||
56 | #endif // KRFBCANVAS_H | 60 | #endif // KRFBCANVAS_H |