From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/dialogs/FileLocateDialog.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/gui/dialogs/FileLocateDialog.cpp') diff --git a/src/gui/dialogs/FileLocateDialog.cpp b/src/gui/dialogs/FileLocateDialog.cpp index 4f153c8..5b2a370 100644 --- a/src/gui/dialogs/FileLocateDialog.cpp +++ b/src/gui/dialogs/FileLocateDialog.cpp @@ -29,19 +29,19 @@ #include "misc/Debug.h" #include #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include namespace Rosegarden { -FileLocateDialog::FileLocateDialog(QWidget *parent, - const QString &file, - const QString & /*path*/): +FileLocateDialog::FileLocateDialog(TQWidget *parent, + const TQString &file, + const TQString & /*path*/): KDialogBase(parent, 0, true, i18n("Locate audio file"), User1 | User2 | User3, @@ -52,12 +52,12 @@ FileLocateDialog::FileLocateDialog(QWidget *parent, i18n("&Locate")), m_file(file) { - QHBox *w = makeHBoxMainWidget(); - QString label = + TQHBox *w = makeHBoxMainWidget(); + TQString label = i18n("Can't find file \"%1\".\n" "Would you like to try and locate this file or skip it?").arg(m_file); - QLabel *labelW = new QLabel(label, w); + TQLabel *labelW = new TQLabel(label, w); labelW->setAlignment(Qt::AlignCenter); labelW->setMinimumHeight(60); } @@ -69,8 +69,8 @@ FileLocateDialog::slotUser3() m_file = KFileDialog::getOpenFileName (":WAVS", i18n("%1|Requested file (%2)\n*.wav|WAV files (*.wav)") - .arg(QFileInfo(m_file).fileName()) - .arg(QFileInfo(m_file).fileName()), + .arg(TQFileInfo(m_file).fileName()) + .arg(TQFileInfo(m_file).fileName()), this, i18n("Select an Audio File")); RG_DEBUG << "FileLocateDialog::slotUser3() : m_file = " << m_file << endl; @@ -79,7 +79,7 @@ FileLocateDialog::slotUser3() RG_DEBUG << "FileLocateDialog::slotUser3() : reject\n"; reject(); } else { - QFileInfo fileInfo(m_file); + TQFileInfo fileInfo(m_file); m_path = fileInfo.dirPath(); accept(); } -- cgit v1.2.3