summaryrefslogtreecommitdiffstats
path: root/src/komposefullscreenwidget.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-04-14 19:14:53 +0300
committerMavridis Philippe <mavridisf@gmail.com>2021-04-23 15:09:49 +0300
commit0267f1cf497043a04a5367a33a0d66ae5e879705 (patch)
treebdd04f95e294e73b44cf19add63d3528fe09a0f7 /src/komposefullscreenwidget.h
parent22875e8865b87e40646015e882a444b8bf6965ac (diff)
downloadkompose-0267f1cf497043a04a5367a33a0d66ae5e879705.tar.gz
kompose-0267f1cf497043a04a5367a33a0d66ae5e879705.zip
Added Ctrl+[movement keys] for keyboard navigation between desktops.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/komposefullscreenwidget.h')
-rw-r--r--src/komposefullscreenwidget.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/komposefullscreenwidget.h b/src/komposefullscreenwidget.h
index 7b1af6e..15f3fdf 100644
--- a/src/komposefullscreenwidget.h
+++ b/src/komposefullscreenwidget.h
@@ -44,18 +44,25 @@ protected:
void initMenu();
void createDesktopWidgets();
- void mouseReleaseEvent (TQMouseEvent *);
- void mousePressEvent (TQMouseEvent *);
- void keyReleaseEvent ( TQKeyEvent * e );
+ void mouseReleaseEvent( TQMouseEvent * );
+ void mousePressEvent( TQMouseEvent * );
+ void keyPressEvent( TQKeyEvent *e );
+ void keyReleaseEvent( TQKeyEvent *e );
// void paintEvent ( TQPaintEvent * );
+ bool focusNeighbourDesk( int direction );
+
void destroyChildWidgets();
// virtual void closeEvent ( TQCloseEvent * e );
-
+
+protected slots:
+ void desktopChanged( KomposeDesktopWidget* desk );
+
private:
int type;
TDEPopupMenu *menu;
KRootPixmap *rootpix;
+ KomposeDesktopWidget *current;
};
#endif