From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- buildtools/lib/widgets/addfilesdialog.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'buildtools/lib/widgets/addfilesdialog.cpp') 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 #include -#include +#include #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); } -- cgit v1.2.1