diff options
Diffstat (limited to 'src/devices/gui')
-rw-r--r-- | src/devices/gui/memory_editor.cpp | 26 | ||||
-rw-r--r-- | src/devices/gui/register_view.cpp | 4 |
2 files changed, 15 insertions, 15 deletions
diff --git a/src/devices/gui/memory_editor.cpp b/src/devices/gui/memory_editor.cpp index db53341..de5da8e 100644 --- a/src/devices/gui/memory_editor.cpp +++ b/src/devices/gui/memory_editor.cpp @@ -75,22 +75,22 @@ void Device::MemoryRangeEditor::init() for (uint i = 0; i<_nbCols; ++i) { HexWordEditor *h = createHexWordEditor(grid); _editors.append(h); - connect(h, TQT_SIGNAL(modified()), TQT_SIGNAL(modified())); - connect(h, TQT_SIGNAL(moveNext()), TQT_SLOT(moveNext())); - connect(h, TQT_SIGNAL(movePrev()), TQT_SLOT(movePrev())); - connect(h, TQT_SIGNAL(moveFirst()), TQT_SLOT(moveFirst())); - connect(h, TQT_SIGNAL(moveLast()), TQT_SLOT(moveLast())); - connect(h, TQT_SIGNAL(moveUp()), TQT_SLOT(moveUp())); - connect(h, TQT_SIGNAL(moveDown()), TQT_SLOT(moveDown())); - connect(h, TQT_SIGNAL(moveNextPage()), TQT_SLOT(moveNextPage())); - connect(h, TQT_SIGNAL(movePrevPage()), TQT_SLOT(movePrevPage())); + connect(h, TQ_SIGNAL(modified()), TQ_SIGNAL(modified())); + connect(h, TQ_SIGNAL(moveNext()), TQ_SLOT(moveNext())); + connect(h, TQ_SIGNAL(movePrev()), TQ_SLOT(movePrev())); + connect(h, TQ_SIGNAL(moveFirst()), TQ_SLOT(moveFirst())); + connect(h, TQ_SIGNAL(moveLast()), TQ_SLOT(moveLast())); + connect(h, TQ_SIGNAL(moveUp()), TQ_SLOT(moveUp())); + connect(h, TQ_SIGNAL(moveDown()), TQ_SLOT(moveDown())); + connect(h, TQ_SIGNAL(moveNextPage()), TQ_SLOT(moveNextPage())); + connect(h, TQ_SIGNAL(movePrevPage()), TQ_SLOT(movePrevPage())); } } // scrollbar if there are more lines to display than visible _scrollbar = new TQScrollBar(0, TQMAX(_nbLines, totalNbLines)-_nbLines, 1, _nbLines, 0, TQt::Vertical, frame, "memory_range_editor_scrollbar"); - connect(_scrollbar, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(setIndex(int))) ; + connect(_scrollbar, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(setIndex(int))) ; if ( totalNbLines<=_nbLines ) _scrollbar->hide(); fbox->addWidget(_scrollbar); fbox->addStretch(1); @@ -254,7 +254,7 @@ Device::MemoryEditorGroup::MemoryEditorGroup(Device::Memory *memory, TQWidget *p void Device::MemoryEditorGroup::addEditor(MemoryEditor *editor) { - connect(editor, TQT_SIGNAL(modified()), TQT_SIGNAL(modified())); + connect(editor, TQ_SIGNAL(modified()), TQ_SIGNAL(modified())); _editors.append(editor); } @@ -300,7 +300,7 @@ void Device::MemoryTypeEditor::init(bool first) for (uint i=0; i<Nb_Actions; i++) { if ( hasAction(Action(i)) ) { _actions[i] = new TDEAction(i18n(ACTION_DATA[i].label), ACTION_DATA[i].icon, 0, - this, TQT_SLOT(doAction()), Main::toplevel().actionCollection()); + this, TQ_SLOT(doAction()), Main::toplevel().actionCollection()); addAction(_actions[i]); } if ( ACTION_DATA[i].properties & SeparatorAfter ) _title->appendSeparator(); @@ -312,7 +312,7 @@ void Device::MemoryTypeEditor::init(bool first) hbox->addWidget(_comment); hbox->addStretch(1); - connect(&Main::toplevel(), TQT_SIGNAL(stateChanged()), TQT_SLOT(stateChanged())); + connect(&Main::toplevel(), TQ_SIGNAL(stateChanged()), TQ_SLOT(stateChanged())); } void Device::MemoryTypeEditor::addAction(TDEAction *action) diff --git a/src/devices/gui/register_view.cpp b/src/devices/gui/register_view.cpp index a290508..6e5c268 100644 --- a/src/devices/gui/register_view.cpp +++ b/src/devices/gui/register_view.cpp @@ -167,8 +167,8 @@ void Register::ListViewItem::editDone(int col, const TQWidget *edit) Register::LineEdit::LineEdit(TQWidget *parent, const char *name) : NumberLineEdit(parent, name), _base(NumberBase::Nb_Types) { - connect(this, TQT_SIGNAL(lostFocus()), TQT_SLOT(updateText())); - connect(this, TQT_SIGNAL(returnPressed()), TQT_SLOT(returnPressedSlot())); + connect(this, TQ_SIGNAL(lostFocus()), TQ_SLOT(updateText())); + connect(this, TQ_SIGNAL(returnPressed()), TQ_SLOT(returnPressedSlot())); } void Register::LineEdit::updateText() |