summaryrefslogtreecommitdiffstats
path: root/kpdf/part.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2025-04-09 15:51:42 +0300
committerMavridis Philippe <mavridisf@gmail.com>2025-04-14 19:09:53 +0300
commit4c0b40a916e69640fde5784471469723a0d7a9ae (patch)
treef19690db6a7c6906cdf0ed88590a9b2661629a0d /kpdf/part.h
parent0599e57edd9b4998aa99b0a14f4d83c2b9390b29 (diff)
downloadtdegraphics-4c0b40a9.tar.gz
tdegraphics-4c0b40a9.zip
KPDF Shell: Fix bugs related to tabbing
* Update tab caption when user opens another document * Fix activation event setting window/tab title to full URL * Add tooltip with full path to tabs Resolves #119. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 982cdfa5adaefa4f0d9dbba77a2853ef0a63a9e7)
Diffstat (limited to 'kpdf/part.h')
-rw-r--r--kpdf/part.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/kpdf/part.h b/kpdf/part.h
index aa3b6659..7a5b2739 100644
--- a/kpdf/part.h
+++ b/kpdf/part.h
@@ -17,6 +17,7 @@
#define _KPDF_PART_H_
#include <tdeparts/browserextension.h>
+#include <tdeparts/event.h>
#include <tdeparts/part.h>
#include <tqguardedptr.h>
#include "core/document.h"
@@ -89,8 +90,9 @@ protected:
bool openFile();
bool openURL(const KURL &url);
bool closeURL();
- // filter that watches for splitter size changes
- bool eventFilter( TQObject * watched, TQEvent * e );
+ void guiActivateEvent(KParts::GUIActivateEvent *e);
+ // filter that watches for splitter size changes
+ bool eventFilter( TQObject * watched, TQEvent * e );
protected slots:
void openURLFromDocument(const KURL &url);