diff options
Diffstat (limited to 'src/libgui/hex_editor.cpp')
-rw-r--r-- | src/libgui/hex_editor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libgui/hex_editor.cpp b/src/libgui/hex_editor.cpp index c8b2727..438996c 100644 --- a/src/libgui/hex_editor.cpp +++ b/src/libgui/hex_editor.cpp @@ -99,7 +99,7 @@ bool HexEditor::simpleLoad() TQStringList warnings; if ( _memory->fromHexBuffer(_hexBuffer, warnings)!=Device::Memory::NoWarning ) { _labelWarning->setText(i18n("<b>Warning:</b> hex file seems to be incompatible with the selected device %1:<br>%2") - .tqarg(_memory->device().name()).tqarg(warnings.join("<br>"))); + .arg(_memory->device().name()).arg(warnings.join("<br>"))); _labelWarning->show(); } else _labelWarning->hide(); display(); @@ -139,7 +139,7 @@ bool HexEditor::open(const PURL::Url &url) bool HexEditor::save(const PURL::Url &url) { - return save(url, i18n("File URL: \"%1\".").tqarg(url.pretty())); + return save(url, i18n("File URL: \"%1\".").arg(url.pretty())); } bool HexEditor::save(const PURL::Url &url, const TQString &fileErrorString) @@ -147,7 +147,7 @@ bool HexEditor::save(const PURL::Url &url, const TQString &fileErrorString) PURL::File file(url, Main::compileLog()); if ( !file.openForWrite() ) return false; if ( !_memory->save(file.stream(), HexBuffer::IHX32) ) { - MessageBox::detailedSorry(i18n("Error while writing file \"%1\".").tqarg(url.pretty()), fileErrorString, Log::Show); + MessageBox::detailedSorry(i18n("Error while writing file \"%1\".").arg(url.pretty()), fileErrorString, Log::Show); return false; } _originalMemory->copyFrom(*_memory); @@ -186,7 +186,7 @@ void HexEditor::statusChanged() TQString s; if (_memory) { BitValue cs = static_cast<Device::HexView *>(_view)->checksum(); - s = i18n("Checksum: %1").tqarg(toHexLabel(cs, 4)); + s = i18n("Checksum: %1").arg(toHexLabel(cs, 4)); } emit statusTextChanged(s); } |