summaryrefslogtreecommitdiffstats
path: root/parts/quickopen/quickopendialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/quickopen/quickopendialog.cpp')
-rw-r--r--parts/quickopen/quickopendialog.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/parts/quickopen/quickopendialog.cpp b/parts/quickopen/quickopendialog.cpp
index 291cfa73..dd07f2eb 100644
--- a/parts/quickopen/quickopendialog.cpp
+++ b/parts/quickopen/quickopendialog.cpp
@@ -32,7 +32,7 @@ QuickOpenDialog::QuickOpenDialog(QuickOpenPart* part, TQWidget* parent, const ch
: QuickOpenDialogBase( parent, name, modal, fl ), m_part( part )
{
nameEdit->installEventFilter(this);
- connect( &m_typeTimeout, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTextChangedDelayed()) );
+ connect( &m_typeTimeout, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTextChangedDelayed()) );
}
QuickOpenDialog::~QuickOpenDialog()
@@ -74,7 +74,7 @@ bool QuickOpenDialog::eventFilter( TQObject * watched, TQEvent * e )
if (!watched || !e)
return true;
- if ((TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(nameEdit)) && (e->type() == TQEvent::KeyPress))
+ if ((watched == nameEdit) && (e->type() == TQEvent::KeyPress))
{
TQKeyEvent *ke = (TQKeyEvent*)e;
if (ke->key() == Key_Up)
@@ -151,5 +151,3 @@ void QuickOpenDialog::itemSelectionChanged() {
}
#include "quickopendialog.moc"
-
-// kate: space-indent on; indent-width 4; tab-width 4; show-tabs on;