summaryrefslogtreecommitdiffstats
path: root/buildtools/lib/widgets/addfilesdialog.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 /buildtools/lib/widgets/addfilesdialog.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 'buildtools/lib/widgets/addfilesdialog.cpp')
-rw-r--r--buildtools/lib/widgets/addfilesdialog.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/buildtools/lib/widgets/addfilesdialog.cpp b/buildtools/lib/widgets/addfilesdialog.cpp
index 569b822f..f5a1fa92 100644
--- a/buildtools/lib/widgets/addfilesdialog.cpp
+++ b/buildtools/lib/widgets/addfilesdialog.cpp
@@ -19,24 +19,24 @@
#include <klocale.h>
#include <kapplication.h>
-#include <qcombobox.h>
+#include <tqcombobox.h>
#include "addfilesdialog.h"
#include "addfilesdialog.moc"
-AddFilesDialog::AddFilesDialog(const QString& startDir, const QString& filter,
- QWidget *parent, const char *name, bool modal):
+AddFilesDialog::AddFilesDialog(const TQString& startDir, const TQString& filter,
+ TQWidget *parent, const char *name, bool modal):
KFileDialog(startDir, filter, parent, name, modal)
{
KConfig *config = kapp->config();
config->setGroup("Add Files Dialog");
- m_extraWidget = new QComboBox(false, this);
+ m_extraWidget = new TQComboBox(false, this);
m_extraWidget->insertItem(i18n("Copy File(s)"), 0);
m_extraWidget->insertItem(i18n("Create Symbolic Link(s)"), 1);
m_extraWidget->insertItem(i18n("Add Relative Path(s)"), 2);
m_extraWidget->setCurrentItem(config->readNumEntry("Mode"));
- connect(m_extraWidget, SIGNAL(activated(int)), this, SLOT(storePreferred(int)));
+ connect(m_extraWidget, TQT_SIGNAL(activated(int)), this, TQT_SLOT(storePreferred(int)));
setPreviewWidget(m_extraWidget);
@@ -44,8 +44,8 @@ AddFilesDialog::AddFilesDialog(const QString& startDir, const QString& filter,
}
-AddFilesDialog::AddFilesDialog(const QString& startDir, const QString& filter,
- QWidget *parent, const char *name, bool modal, QComboBox *extraWidget):
+AddFilesDialog::AddFilesDialog(const TQString& startDir, const TQString& filter,
+ TQWidget *parent, const char *name, bool modal, TQComboBox *extraWidget):
KFileDialog(startDir, filter, parent, name, modal, extraWidget), m_extraWidget(extraWidget)
{
KConfig *config = kapp->config();
@@ -55,7 +55,7 @@ AddFilesDialog::AddFilesDialog(const QString& startDir, const QString& filter,
m_extraWidget->insertItem(i18n("Create Symbolic Link(s)"), 1);
m_extraWidget->insertItem(i18n("Add Relative Path(s)"), 2);
m_extraWidget->setCurrentItem(config->readNumEntry("Mode"));
- connect(m_extraWidget, SIGNAL(activated(int)), this, SLOT(storePreferred(int)));
+ connect(m_extraWidget, TQT_SIGNAL(activated(int)), this, TQT_SLOT(storePreferred(int)));
setOperationMode(Opening);
}