Diffstat (limited to 'noncore/comm/keypebble/krfbcanvas.h') (more/less context) (ignore 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 @@ -11,46 +11,50 @@ class KRFBServer; /** * Displays data from an KRFBDecoder, and sends events to the * KRFBConnection. */ class KRFBCanvas : public QScrollView { Q_OBJECT public: KRFBCanvas( QWidget *parent, const char *name=0 ); ~KRFBCanvas(); void setConnection( KRFBConnection * ); KRFBConnection *connection() { return connection_; }; public slots: void openConnection (KRFBServer); void openURL( const QUrl & ); void closeConnection(); void refresh(); void bell(); void sendCtlAltDel(void); + void markRightClick(void); + void markDoubleClick(void); protected: virtual void keyPressEvent( QKeyEvent * ); virtual void keyReleaseEvent( QKeyEvent * ); virtual void contentsMousePressEvent( QMouseEvent * ); virtual void contentsMouseReleaseEvent( QMouseEvent * ); virtual void contentsMouseMoveEvent( QMouseEvent * ); virtual void viewportPaintEvent( QPaintEvent *e ); protected slots: void loggedIn(); void viewportUpdate( int x, int y, int w, int h ); void clipboardChanged(); private: + int nextRightClick; + int nextDoubleClick; KRFBConnection *connection_; QString password; bool loggedIn_; }; #endif // KRFBCANVAS_H |