summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoDetailsPane.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoDetailsPane.cpp')
-rw-r--r--lib/kofficecore/KoDetailsPane.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficecore/KoDetailsPane.cpp b/lib/kofficecore/KoDetailsPane.cpp
index 18e0f317b..5a4c34663 100644
--- a/lib/kofficecore/KoDetailsPane.cpp
+++ b/lib/kofficecore/KoDetailsPane.cpp
@@ -226,13 +226,13 @@ void KoTemplatesPane::changeAlwaysUseTemplate(KoTemplatesPane* sender, const TQS
bool KoTemplatesPane::eventFilter(TQObject* watched, TQEvent* e)
{
- if(TQT_BASE_OBJECT(watched) == m_previewLabel) {
+ if(watched == m_previewLabel) {
if(e->type() == TQEvent::MouseButtonDblClick) {
openTemplate();
}
}
- if(TQT_BASE_OBJECT(watched) == m_documentList) {
+ if(watched == m_documentList) {
if((e->type() == TQEvent::Resize) && isShown()) {
emit splitterResized(this, m_splitter->sizes());
}
@@ -444,13 +444,13 @@ void KoRecentDocumentsPane::changePalette()
bool KoRecentDocumentsPane::eventFilter(TQObject* watched, TQEvent* e)
{
- if(TQT_BASE_OBJECT(watched) == m_previewLabel) {
+ if(watched == m_previewLabel) {
if(e->type() == TQEvent::MouseButtonDblClick) {
openFile();
}
}
- if(TQT_BASE_OBJECT(watched) == m_documentList) {
+ if(watched == m_documentList) {
if((e->type() == TQEvent::Resize) && isShown()) {
emit splitterResized(this, m_splitter->sizes());
}