summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/ImportDeviceDialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:46 -0600
commit4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch)
tree19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/gui/dialogs/ImportDeviceDialog.cpp
parente6d6692eda797b10f322a83ffdcf23fca719709e (diff)
downloadrosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.tar.gz
rosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.zip
Rename a number of old tq methods that are no longer tq specific
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 6e8b494..4b24964 100644
--- a/src/gui/dialogs/ImportDeviceDialog.cpp
+++ b/src/gui/dialogs/ImportDeviceDialog.cpp
@@ -24,7 +24,7 @@
#include "ImportDeviceDialog.h"
-#include <tqlayout.h>
+#include <layout.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").tqarg(m_url.prettyURL()));
+ KMessageBox::error(this, i18n("Cannot download file %1").arg(m_url.prettyURL()));
return false;
}
@@ -96,14 +96,14 @@ ImportDeviceDialog::doImport()
}
if (!fileRead) {
KMessageBox::error
- (this, i18n("Cannot open file %1").tqarg(m_url.prettyURL()));
+ (this, i18n("Cannot open file %1").arg(m_url.prettyURL()));
reject();
close();
return false;
}
if (m_devices.size() == 0) {
KMessageBox::sorry
- (this, i18n("No devices found in file %1").tqarg(m_url.prettyURL()));
+ (this, i18n("No devices found in file %1").arg(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").tqarg(count)));
+ (*i)->setName(qstrtostr(i18n("Device %1").arg(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").tqarg(msb).tqarg(lsb)));
+ qstrtostr(i18n("Bank %1:%2").arg(msb).arg(lsb)));
banks.push_back(bank);