summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/KMultiFormListBox
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-14 14:09:37 +0900
committerMichele Calgaro <[email protected]>2024-01-14 14:09:37 +0900
commitaf0b8f5d1e5e00b1f3b48658d89876c2df28e71c (patch)
tree11e4cc0bc31cd049daeb734b4d9e0ee00fac9eab /kregexpeditor/KMultiFormListBox
parent09fd0dead9b5dcb29dde24957ae8c07269c49aa1 (diff)
downloadtdeutils-af0b8f5d1e5e00b1f3b48658d89876c2df28e71c.tar.gz
tdeutils-af0b8f5d1e5e00b1f3b48658d89876c2df28e71c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kregexpeditor/KMultiFormListBox')
-rw-r--r--kregexpeditor/KMultiFormListBox/indexWindow.cpp2
-rw-r--r--kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.cpp6
-rw-r--r--kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.cpp18
3 files changed, 13 insertions, 13 deletions
diff --git a/kregexpeditor/KMultiFormListBox/indexWindow.cpp b/kregexpeditor/KMultiFormListBox/indexWindow.cpp
index 22bc14f..020ecf5 100644
--- a/kregexpeditor/KMultiFormListBox/indexWindow.cpp
+++ b/kregexpeditor/KMultiFormListBox/indexWindow.cpp
@@ -29,7 +29,7 @@
indexWindow::indexWindow() : TQWidget(0,"", WStyle_Customize | WType_Popup)
{
lb = new TQListBox(this);
- connect(lb,TQT_SIGNAL(selected(int)), this, TQT_SLOT(lbSelected(int)));
+ connect(lb,TQ_SIGNAL(selected(int)), this, TQ_SLOT(lbSelected(int)));
TQHBoxLayout *lay = new TQHBoxLayout(this);
lay->addWidget(lb);
lbFinish = false;
diff --git a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.cpp b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.cpp
index 02941a2..a394c58 100644
--- a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.cpp
+++ b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.cpp
@@ -178,9 +178,9 @@ void KMultiFormListBoxMultiVisible::insertElmIntoWidget(KMultiFormListBoxEntry *
if (elm->indexButton()) {
elm->indexButton()->setPixmap(TQBitmap(indexButtonWidth, indexButtonHeight,
indexButtonBits, true));
- connect(elm->indexButton(), TQT_SIGNAL(clicked()), elm, TQT_SLOT(acceptIndexButton()));
- connect(elm, TQT_SIGNAL(gotoIndex(KMultiFormListBoxEntry *)),
- this, TQT_SLOT(showIndexList(KMultiFormListBoxEntry *)));
+ connect(elm->indexButton(), TQ_SIGNAL(clicked()), elm, TQ_SLOT(acceptIndexButton()));
+ connect(elm, TQ_SIGNAL(gotoIndex(KMultiFormListBoxEntry *)),
+ this, TQ_SLOT(showIndexList(KMultiFormListBoxEntry *)));
}
// Find the location to insert the new element.
diff --git a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.cpp b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.cpp
index f39c9e9..a366ad1 100644
--- a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.cpp
+++ b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.cpp
@@ -46,40 +46,40 @@ KMultiFormListBoxWindowed::KMultiFormListBoxWindowed(KMultiFormListBoxFactory *f
TQPushButton *but = new TQPushButton(addButtonText, this,"Add Button");
buttons->addWidget(but,0);
- connect(but, TQT_SIGNAL(clicked()), this, TQT_SLOT(addNewElement()));
+ connect(but, TQ_SIGNAL(clicked()), this, TQ_SLOT(addNewElement()));
but = new TQPushButton(i18n("Edit"), this,"Edit Button");
buttons->addWidget(but,0);
- connect(but,TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditSelected()));
- connect(_listbox, TQT_SIGNAL(doubleClicked(TQListBoxItem *)), this, TQT_SLOT(slotEditSelected(TQListBoxItem *)));
+ connect(but,TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditSelected()));
+ connect(_listbox, TQ_SIGNAL(doubleClicked(TQListBoxItem *)), this, TQ_SLOT(slotEditSelected(TQListBoxItem *)));
_buttonList.append(but);
but = new TQPushButton(i18n("Delete"), this, "Delete Button");
buttons->addWidget(but,0);
- connect(but, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDeleteEntry()));
+ connect(but, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDeleteEntry()));
_buttonList.append(but);
but = new TQPushButton(i18n("Copy"), this, "Copy Button");
buttons->addWidget(but,0);
- connect(but, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCopySelected()));
+ connect(but, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCopySelected()));
_buttonList.append(but);
if (showUpDownButtons) {
but = new TQPushButton(i18n("Up"), this, "Up Button");
buttons->addWidget(but, 0);
- connect(but, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotMoveItemUp()));
+ connect(but, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotMoveItemUp()));
_buttonList.append(but);
but = new TQPushButton(i18n("Down"), this, "Down Button");
buttons->addWidget(but, 0);
- connect(but, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotMoveItemDown()));
+ connect(but, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotMoveItemDown()));
_buttonList.append(but);
}
if (showHelpButton) {
but = new KPushButton(KStdGuiItem::help(), this, "Help Button");
buttons->addWidget(but, 0);
- connect(but, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(showHelp()));
+ connect(but, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(showHelp()));
}
buttons->addStretch(1);
@@ -123,7 +123,7 @@ void KMultiFormListBoxWindowed::addNewElement()
TQWidget *widget = new WidgetWindow(_factory, _listbox);
widget->show();
- connect(widget, TQT_SIGNAL(finished()), this, TQT_SLOT(slotUpdateButtonState()));
+ connect(widget, TQ_SIGNAL(finished()), this, TQ_SLOT(slotUpdateButtonState()));
}
void KMultiFormListBoxWindowed::addElement()