summaryrefslogtreecommitdiffstats
path: root/kate/app/katemainwindow.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-05-25 22:10:49 +0300
committerMavridis Philippe <mavridisf@gmail.com>2024-06-02 15:35:41 +0300
commitb54bd51cf9345dada244dfbb96c49dc2c802fbf4 (patch)
treee034b80819c2b122fae49f3724cc4bc05d034e03 /kate/app/katemainwindow.h
parent3f9a9bab9230a604bba0d102ea22db8ed9490a75 (diff)
downloadtdebase-b54bd51cf9345dada244dfbb96c49dc2c802fbf4.tar.gz
tdebase-b54bd51cf9345dada244dfbb96c49dc2c802fbf4.zip
Kate: use mouse back/forward buttons to move between open documents
The direction of movement can be configured (reversed) through the settings dialog. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit a9d34c14366e18066f67b972eab79a03d1081726)
Diffstat (limited to 'kate/app/katemainwindow.h')
-rw-r--r--kate/app/katemainwindow.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/kate/app/katemainwindow.h b/kate/app/katemainwindow.h
index 1e8839991..8901be978 100644
--- a/kate/app/katemainwindow.h
+++ b/kate/app/katemainwindow.h
@@ -105,16 +105,16 @@ class KateMainWindow : public KateMDI::MainWindow, virtual public KParts::PartBa
bool queryClose_internal();
void openURL (const TQString &name=0L);
-
+
public slots:
/**
* update "Sessions" menu status when selection in session panel has changed
*/
void slotSelectionChanged();
-
+
/**
* activate the specified session. When there is the need to activate a session
- * from the outside (for example from DCOP), using this method assures that
+ * from the outside (for example from DCOP), using this method assures that
* the session activation is consistent with the behavior of the session panel
* @param sessionId the id of the session to activate
*/
@@ -176,9 +176,10 @@ class KateMainWindow : public KateMDI::MainWindow, virtual public KParts::PartBa
void updateGrepDir (bool visible);
void slotDocumentCloseAll();
-
+
protected:
bool event( TQEvent * );
+ bool eventFilter(TQObject *obj, TQEvent *ev);
private:
static uint uniqueID;
@@ -215,7 +216,7 @@ class KateMainWindow : public KateMDI::MainWindow, virtual public KParts::PartBa
KateExternalToolsMenuAction *externalTools;
GrepTool * greptool;
- bool m_modignore, m_grrr;
+ bool m_modignore;
KateTabWidget *m_tabWidget;
};
@@ -230,7 +231,7 @@ class KateSessionListActionMenu : public TDEActionMenu
public slots:
void slotAboutToShow();
-
+
protected:
KateMainWindow *m_mainWindow;
};