From a3a855ce18bdb905ef57b9feb174afc441132665 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 2 Jan 2024 11:38:07 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit e9f46130c2656aaf299d8793556310c9bf95daee) --- src/gui/studio/NameSetEditor.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/studio/NameSetEditor.cpp') diff --git a/src/gui/studio/NameSetEditor.cpp b/src/gui/studio/NameSetEditor.cpp index 0abd9b8..8071a2d 100644 --- a/src/gui/studio/NameSetEditor.cpp +++ b/src/gui/studio/NameSetEditor.cpp @@ -103,9 +103,9 @@ NameSetEditor::NameSetEditor(BankEditorDialog* bankEditor, // Initial label; button to adjust whether labels start at 0 or 1 m_initialLabel = new TQPushButton(numberText, numBox); connect(m_initialLabel, - TQT_SIGNAL(clicked()), + TQ_SIGNAL(clicked()), this, - TQT_SLOT(slotToggleInitialLabel())); + TQ_SLOT(slotToggleInitialLabel())); } else { TQLabel *label = new TQLabel(numberText, numBox); label->setFixedWidth(40); @@ -120,8 +120,8 @@ NameSetEditor::NameSetEditor(BankEditorDialog* bankEditor, button->setMaximumWidth(40); button->setMaximumHeight(20); button->setFlat(true); - connect(button, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotEntryButtonPressed())); + connect(button, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotEntryButtonPressed())); m_entryButtons.push_back(button); } @@ -132,9 +132,9 @@ NameSetEditor::NameSetEditor(BankEditorDialog* bankEditor, m_names.push_back(lineEdit); connect(m_names[labelId], - TQT_SIGNAL(textChanged(const TQString&)), + TQ_SIGNAL(textChanged(const TQString&)), this, - TQT_SLOT(slotNameChanged(const TQString&))); + TQ_SLOT(slotNameChanged(const TQString&))); ++labelId; } -- cgit v1.2.3