summaryrefslogtreecommitdiffstats
path: root/src/devices/pic/gui/pic_memory_editor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-29 16:42:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-29 16:48:53 +0900
commitc679361a50aee162491e7195f2bcfdbbf341dde5 (patch)
treec8ff90ba1810054b7e53a79649b0e33a0937e74f /src/devices/pic/gui/pic_memory_editor.cpp
parenta8207be921513da0ccccf41e36e056736c2b8457 (diff)
downloadpiklab-c679361a50aee162491e7195f2bcfdbbf341dde5.tar.gz
piklab-c679361a50aee162491e7195f2bcfdbbf341dde5.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/devices/pic/gui/pic_memory_editor.cpp')
-rw-r--r--src/devices/pic/gui/pic_memory_editor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/pic/gui/pic_memory_editor.cpp b/src/devices/pic/gui/pic_memory_editor.cpp
index 0c9e188..8ea8057 100644
--- a/src/devices/pic/gui/pic_memory_editor.cpp
+++ b/src/devices/pic/gui/pic_memory_editor.cpp
@@ -38,10 +38,10 @@ Pic::MemoryEditorLegend::Data::Data(const TQString &text, TQWidget *parent)
{
button = new PopupButton(text, parent);
TDEActionCollection *ac = 0;
- TDEAction *a = new TDEAction(i18n("Go to start"), "go-top", 0, parent, TQT_SLOT(gotoStart()), ac);
+ TDEAction *a = new TDEAction(i18n("Go to start"), "go-top", 0, parent, TQ_SLOT(gotoStart()), ac);
actions.append(a);
button->appendAction(a);
- a = new TDEAction(i18n("Go to end"), "go-bottom", 0, parent, TQT_SLOT(gotoEnd()), ac);
+ a = new TDEAction(i18n("Go to end"), "go-bottom", 0, parent, TQ_SLOT(gotoEnd()), ac);
actions.append(a);
button->appendAction(a);
label = new TQLabel(parent);
@@ -193,8 +193,8 @@ void Pic::MemoryRangeEditor::addLegend(TQVBoxLayout *vbox)
{
if ( type()==MemoryRangeType::Code || type()==MemoryRangeType::Eeprom ) {
_legend = new MemoryEditorLegend(type(), memory(), this);
- connect(_legend, TQT_SIGNAL(setStartWord(int)), TQT_SLOT(setStartWord(int)));
- connect(_legend, TQT_SIGNAL(setEndWord(int)), TQT_SLOT(setEndWord(int)));
+ connect(_legend, TQ_SIGNAL(setStartWord(int)), TQ_SLOT(setStartWord(int)));
+ connect(_legend, TQ_SIGNAL(setEndWord(int)), TQ_SLOT(setEndWord(int)));
vbox->addWidget(_legend);
}
}
@@ -317,7 +317,7 @@ void Pic::MemoryUserIdEditor::init(bool first)
{
MemoryTypeRangeEditor::init(first);
_setToChecksum = new TDEToggleAction(i18n("Set to unprotected checksum"), 0, 0,
- this, TQT_SLOT(toggleSetToChecksum()), Main::toplevel().actionCollection());
+ this, TQ_SLOT(toggleSetToChecksum()), Main::toplevel().actionCollection());
addAction(_setToChecksum);
if ( readConfigEntry(BaseGlobalConfig::UserIdSetToChecksum).toBool() && memory().isClear(MemoryRangeType::UserId) ) {
_setToChecksum->activate();