summaryrefslogtreecommitdiffstats
path: root/parts/quickopen/quickopenfiledialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /parts/quickopen/quickopenfiledialog.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/quickopen/quickopenfiledialog.cpp')
-rw-r--r--parts/quickopen/quickopenfiledialog.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/parts/quickopen/quickopenfiledialog.cpp b/parts/quickopen/quickopenfiledialog.cpp
index a03236b4..adc4a919 100644
--- a/parts/quickopen/quickopenfiledialog.cpp
+++ b/parts/quickopen/quickopenfiledialog.cpp
@@ -29,13 +29,13 @@
#include <klineedit.h>
-#include <qregexp.h>
-#include <qlabel.h>
+#include <tqregexp.h>
+#include <tqlabel.h>
#include "quickopenfiledialog.h"
#include "quickopen_part.h"
-QuickOpenFileDialog::QuickOpenFileDialog(QuickOpenPart* part, QWidget* parent, const char* name, bool modal, WFlags fl)
+QuickOpenFileDialog::QuickOpenFileDialog(QuickOpenPart* part, TQWidget* parent, const char* name, bool modal, WFlags fl)
: QuickOpenDialog( part, parent, name, modal, fl ), m_hasFullPaths( false )
{
nameLabel->setText( i18n("File &name:") );
@@ -45,12 +45,12 @@ QuickOpenFileDialog::QuickOpenFileDialog(QuickOpenPart* part, QWidget* parent, c
nameEdit->setFocus();
- itemList->setSelectionMode( QListBox::Extended );
+ itemList->setSelectionMode( TQListBox::Extended );
itemList->insertStringList( m_items );
setFirstItemSelected();
}
-QuickOpenFileDialog::QuickOpenFileDialog(QuickOpenPart* part, const KURL::List & urls, QWidget* parent, const char* name, bool modal, WFlags fl)
+QuickOpenFileDialog::QuickOpenFileDialog(QuickOpenPart* part, const KURL::List & urls, TQWidget* parent, const char* name, bool modal, WFlags fl)
: QuickOpenDialog( part, parent, name, modal, fl ), m_hasFullPaths( true )
{
nameLabel->setText( i18n("File &name:") );
@@ -63,8 +63,8 @@ QuickOpenFileDialog::QuickOpenFileDialog(QuickOpenPart* part, const KURL::List &
{
for (unsigned int i = 0; i < m_items.count(); ++i)
{
- QString url = m_items[i];
- QString projectUrl = "file://" + m_part->project()->projectDirectory();
+ TQString url = m_items[i];
+ TQString projectUrl = "file://" + m_part->project()->projectDirectory();
if (url.startsWith(projectUrl))
m_items[i] = url.mid(projectUrl.length() + 1);
}
@@ -72,7 +72,7 @@ QuickOpenFileDialog::QuickOpenFileDialog(QuickOpenPart* part, const KURL::List &
nameEdit->setFocus();
- itemList->setSelectionMode( QListBox::Extended );
+ itemList->setSelectionMode( TQListBox::Extended );
itemList->insertStringList( m_items );
setFirstItemSelected();
}
@@ -81,7 +81,7 @@ QuickOpenFileDialog::~QuickOpenFileDialog()
{
}
-void QuickOpenFileDialog::slotExecuted( QListBoxItem* item )
+void QuickOpenFileDialog::slotExecuted( TQListBoxItem* item )
{
if ( !item ) return;