author | treke <treke> | 2002-11-17 18:30:27 (UTC) |
---|---|---|
committer | treke <treke> | 2002-11-17 18:30:27 (UTC) |
commit | bdecd392488dee486d302f683b91acf89708d4a6 (patch) (side-by-side diff) | |
tree | 987ed4ddd7c5d0df0ef03f7a949f74837edc9ec7 /noncore/comm/keypebble/krfbcanvas.h | |
parent | 44ffc30c0317e47f91ee20b3dc0b719a74d7991c (diff) | |
download | opie-bdecd392488dee486d302f683b91acf89708d4a6.zip opie-bdecd392488dee486d302f683b91acf89708d4a6.tar.gz opie-bdecd392488dee486d302f683b91acf89708d4a6.tar.bz2 |
Resized a couple dialogs to fit better. Now can synthesize right click
events from the corner menu. Still having problems with double click though
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: 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 |