summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/ImportDeviceDialog.cpp
diff options
context:
space:
mode:
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);