summaryrefslogtreecommitdiffstats
path: root/parts/filecreate/filecreate_filedialog.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/filecreate/filecreate_filedialog.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/filecreate/filecreate_filedialog.cpp')
-rw-r--r--parts/filecreate/filecreate_filedialog.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/parts/filecreate/filecreate_filedialog.cpp b/parts/filecreate/filecreate_filedialog.cpp
index 81d711cf..ecc8df42 100644
--- a/parts/filecreate/filecreate_filedialog.cpp
+++ b/parts/filecreate/filecreate_filedialog.cpp
@@ -10,7 +10,7 @@
#include "filecreate_filedialog.h"
-#include <qfileinfo.h>
+#include <tqfileinfo.h>
#include <kdeversion.h>
#include <kurlcombobox.h>
#include <kdebug.h>
@@ -20,9 +20,9 @@
namespace FileCreate {
- FileDialog::FileDialog(const QString& startDir, const QString& filter,
- QWidget *parent, const char *name,
- bool modal, QWidget * extraWidget) :
+ FileDialog::FileDialog(const TQString& startDir, const TQString& filter,
+ TQWidget *parent, const char *name,
+ bool modal, TQWidget * extraWidget) :
KFileDialog(startDir, filter, parent, name, modal, extraWidget) {
setOperationMode(Saving);
@@ -30,8 +30,8 @@ namespace FileCreate {
m_extraWidget = extraWidget;
m_typeChooser = dynamic_cast<TypeChooser*>(extraWidget);
- connect(this, SIGNAL(filterChanged(const QString &)), this, SLOT(slotActionFilterChanged(const QString &)) );
- connect(locationEdit, SIGNAL(textChanged(const QString &)), this, SLOT(slotActionTextChanged(const QString &)) );
+ connect(this, TQT_SIGNAL(filterChanged(const TQString &)), this, TQT_SLOT(slotActionFilterChanged(const TQString &)) );
+ connect(locationEdit, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotActionTextChanged(const TQString &)) );
}
@@ -43,13 +43,13 @@ namespace FileCreate {
KFileDialog::initGUI();
}
- void FileDialog::slotActionFilterChanged(const QString & /*filter*/) {
+ void FileDialog::slotActionFilterChanged(const TQString & /*filter*/) {
}
- void FileDialog::slotActionTextChanged(const QString & text) {
+ void FileDialog::slotActionTextChanged(const TQString & text) {
kdDebug(9034) << "slotActionTextChanged - " << text << endl;
if (!m_typeChooser) return;
- QString ext = QFileInfo(text).extension();
+ TQString ext = TQFileInfo(text).extension();
kdDebug(9034) << "Extension is: " << ext << endl;
FileType * filetype = m_typeChooser->part()->getType(ext);
if (!filetype) return;