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.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/parts/quickopen/quickopendialog.cpp b/parts/quickopen/quickopendialog.cpp
index e0d40295..bebbbc53 100644
--- a/parts/quickopen/quickopendialog.cpp
+++ b/parts/quickopen/quickopendialog.cpp
@@ -28,8 +28,8 @@
#include "quickopendialog.h"
#include "quickopen_part.h"
-QuickOpenDialog::QuickOpenDialog(QuickOpenPart* part, TQWidget* parent, const char* name, bool modal, WFlags fl)
- : QuickOpenDialogBase( parent, name, modal, fl ), m_part( part )
+QuickOpenDialog::QuickOpenDialog(QuickOpenPart* part, TQWidget* tqparent, const char* name, bool modal, WFlags fl)
+ : QuickOpenDialogBase( tqparent, name, modal, fl ), m_part( part )
{
nameEdit->installEventFilter(this);
connect( &m_typeTimeout, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTextChangedDelayed()) );
@@ -58,7 +58,7 @@ void QuickOpenDialog::setFirstItemSelected()
itemList->setCurrentItem(0);
// We are doing this indirectly because the event handler does things for multiple
// selections we cannot do through the public interface.
- TQKeyEvent e(TQEvent::KeyPress, Qt::Key_Home, 0, 0);
+ TQKeyEvent e(TQEvent::KeyPress, TQt::Key_Home, 0, 0);
TQApplication::sendEvent(itemList, &e);
}
@@ -74,7 +74,7 @@ bool QuickOpenDialog::eventFilter( TQObject * watched, TQEvent * e )
if (!watched || !e)
return true;
- if ((watched == nameEdit) && (e->type() == TQEvent::KeyPress))
+ if ((TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(nameEdit)) && (e->type() == TQEvent::KeyPress))
{
TQKeyEvent *ke = (TQKeyEvent*)e;
if (ke->key() == Key_Up)
@@ -117,7 +117,7 @@ TQStringList QuickOpenDialog::wildCardCompletion(const TQString & text)
TQStringList::const_iterator it = m_items.begin();
while( it != m_items.end() )
{
- if ( (*it).find( re ) != -1 )
+ if ( (*it).tqfind( re ) != -1 )
{
matches << *it;
}
@@ -127,7 +127,7 @@ TQStringList QuickOpenDialog::wildCardCompletion(const TQString & text)
return matches;
}
-void QuickOpenDialog::QStringList_unique( TQStringList & list )
+void QuickOpenDialog::TQStringList_unique( TQStringList & list )
{
if ( list.size() < 2 ) return;