summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/FileLocateDialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
commit458efa7b0c935cbaafa2791021a5f8f7241aa876 (patch)
tree624583f2873febe23770bee3fa94b5c24bd59f4f /src/gui/dialogs/FileLocateDialog.cpp
parent747037b72944ae2c02962b7c5c96e0a7f8852e38 (diff)
downloadrosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.tar.gz
rosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.zip
Initial TQt4 port of Rosegarden
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1230242 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/dialogs/FileLocateDialog.cpp')
-rw-r--r--src/gui/dialogs/FileLocateDialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/dialogs/FileLocateDialog.cpp b/src/gui/dialogs/FileLocateDialog.cpp
index 5b2a370..6a40742 100644
--- a/src/gui/dialogs/FileLocateDialog.cpp
+++ b/src/gui/dialogs/FileLocateDialog.cpp
@@ -39,10 +39,10 @@
namespace Rosegarden
{
-FileLocateDialog::FileLocateDialog(TQWidget *parent,
+FileLocateDialog::FileLocateDialog(TQWidget *tqparent,
const TQString &file,
const TQString & /*path*/):
- KDialogBase(parent, 0, true,
+ KDialogBase(tqparent, 0, true,
i18n("Locate audio file"),
User1 | User2 | User3,
Ok,
@@ -55,10 +55,10 @@ FileLocateDialog::FileLocateDialog(TQWidget *parent,
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);
+ "Would you like to try and locate this file or skip it?").tqarg(m_file);
TQLabel *labelW = new TQLabel(label, w);
- labelW->setAlignment(Qt::AlignCenter);
+ labelW->tqsetAlignment(TQt::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(TQFileInfo(m_file).fileName())
- .arg(TQFileInfo(m_file).fileName()),
+ .tqarg(TQFileInfo(m_file).fileName())
+ .tqarg(TQFileInfo(m_file).fileName()),
this, i18n("Select an Audio File"));
RG_DEBUG << "FileLocateDialog::slotUser3() : m_file = " << m_file << endl;