diff options
Diffstat (limited to 'parts/filecreate/filecreate_filedialog.cpp')
-rw-r--r-- | parts/filecreate/filecreate_filedialog.cpp | 18 |
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; |