summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/ImportDeviceDialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:35 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:35 -0600
commit6ca08e7a881c0c97f338e0085f75af04ec08ad04 (patch)
tree5462bef0f060df1c19e3fcb98250e5cfa24edc11 /src/gui/dialogs/ImportDeviceDialog.cpp
parent4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (diff)
downloadrosegarden-6ca08e7a881c0c97f338e0085f75af04ec08ad04.tar.gz
rosegarden-6ca08e7a881c0c97f338e0085f75af04ec08ad04.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.
Diffstat (limited to 'src/gui/dialogs/ImportDeviceDialog.cpp')
-rw-r--r--src/gui/dialogs/ImportDeviceDialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/dialogs/ImportDeviceDialog.cpp b/src/gui/dialogs/ImportDeviceDialog.cpp
index 4b24964..6e8b494 100644
--- a/src/gui/dialogs/ImportDeviceDialog.cpp
+++ b/src/gui/dialogs/ImportDeviceDialog.cpp
@@ -24,7 +24,7 @@
#include "ImportDeviceDialog.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <kapplication.h>
#include <klocale.h>
@@ -84,7 +84,7 @@ ImportDeviceDialog::doImport()
TQString target;
if (KIO::NetAccess::download(m_url, target) == false) {
- KMessageBox::error(this, i18n("Cannot download file %1").arg(m_url.prettyURL()));
+ KMessageBox::error(this, i18n("Cannot download file %1").tqarg(m_url.prettyURL()));
return false;
}
@@ -96,14 +96,14 @@ ImportDeviceDialog::doImport()
}
if (!fileRead) {
KMessageBox::error
- (this, i18n("Cannot open file %1").arg(m_url.prettyURL()));
+ (this, i18n("Cannot open file %1").tqarg(m_url.prettyURL()));
reject();
close();
return false;
}
if (m_devices.size() == 0) {
KMessageBox::sorry
- (this, i18n("No devices found in file %1").arg(m_url.prettyURL()));
+ (this, i18n("No devices found in file %1").tqarg(m_url.prettyURL()));
reject();
close();
return false;
@@ -137,7 +137,7 @@ ImportDeviceDialog::doImport()
if ((*i)->getName() != "") {
showRenameOption = true;
} else {
- (*i)->setName(qstrtostr(i18n("Device %1").arg(count)));
+ (*i)->setName(qstrtostr(i18n("Device %1").tqarg(count)));
}
if (m_devices.size() > 1) {
m_deviceCombo->insertItem(strtoqstr((*i)->getName()));
@@ -364,7 +364,7 @@ ImportDeviceDialog::importFromSF2(TQString filename)
MidiBank bank
(msb == 1, msb, lsb,
- qstrtostr(i18n("Bank %1:%2").arg(msb).arg(lsb)));
+ qstrtostr(i18n("Bank %1:%2").tqarg(msb).tqarg(lsb)));
banks.push_back(bank);