summaryrefslogtreecommitdiffstats
path: root/src/libgui/hex_editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/hex_editor.cpp')
-rw-r--r--src/libgui/hex_editor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libgui/hex_editor.cpp b/src/libgui/hex_editor.cpp
index 8275169..c8b2727 100644
--- a/src/libgui/hex_editor.cpp
+++ b/src/libgui/hex_editor.cpp
@@ -12,7 +12,7 @@
#include <tqgroupbox.h>
#include <tqhgroupbox.h>
#include <tqregexp.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqscrollview.h>
#include <tqstringlist.h>
#include <tqlabel.h>
@@ -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")
- .arg(_memory->device().name()).arg(warnings.join("<br>")));
+ .tqarg(_memory->device().name()).tqarg(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\".").arg(url.pretty()));
+ return save(url, i18n("File URL: \"%1\".").tqarg(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\".").arg(url.pretty()), fileErrorString, Log::Show);
+ MessageBox::detailedSorry(i18n("Error while writing file \"%1\".").tqarg(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").arg(toHexLabel(cs, 4));
+ s = i18n("Checksum: %1").tqarg(toHexLabel(cs, 4));
}
emit statusTextChanged(s);
}