diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-08 11:54:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-08 11:54:17 +0900 |
commit | 7c53a87adc27550ff875d6c17fccdbfbe2942ee1 (patch) | |
tree | 95bbf7f48ecaf56bb12d97ebd83cd614c1f43bd8 /gui/polkit-tqt-gui-actionbutton.cpp | |
parent | 7e4828f14affb938d8b0b337251d27adb33edcbb (diff) | |
download | polkit-tqt-7c53a87adc27550ff875d6c17fccdbfbe2942ee1.tar.gz polkit-tqt-7c53a87adc27550ff875d6c17fccdbfbe2942ee1.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'gui/polkit-tqt-gui-actionbutton.cpp')
-rw-r--r-- | gui/polkit-tqt-gui-actionbutton.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gui/polkit-tqt-gui-actionbutton.cpp b/gui/polkit-tqt-gui-actionbutton.cpp index eaf4a3aa7..402b2f024 100644 --- a/gui/polkit-tqt-gui-actionbutton.cpp +++ b/gui/polkit-tqt-gui-actionbutton.cpp @@ -40,8 +40,8 @@ namespace Gui void ActionButtonPrivate::addButton(TQButton *button) { buttons.append(button); - TQObject::connect(button, TQT_SIGNAL(clicked()), q, TQT_SLOT(streamClicked())); - TQObject::connect(q, TQT_SIGNAL(toggled(bool)), button, TQT_SLOT(toggle())); + TQObject::connect(button, TQ_SIGNAL(clicked()), q, TQ_SLOT(streamClicked())); + TQObject::connect(q, TQ_SIGNAL(toggled(bool)), button, TQ_SLOT(toggle())); q->updateButton(); } @@ -49,8 +49,8 @@ void ActionButtonPrivate::removeButton(TQButton *button) { if (buttons.contains(button)) { - TQObject::disconnect(button, SIGNAL(clicked(bool)), q, SLOT(streamClicked())); - TQObject::disconnect(q, SIGNAL(toggled(bool)), button, SLOT(toggle())); + TQObject::disconnect(button, TQ_SIGNAL(clicked(bool)), q, TQ_SLOT(streamClicked())); + TQObject::disconnect(q, TQ_SIGNAL(toggled(bool)), button, TQ_SLOT(toggle())); TQValueList<TQButton*>::iterator butIt = buttons.find(button); if (butIt != buttons.end()) { @@ -67,7 +67,7 @@ ActionButton::ActionButton(ActionButtonPrivate &dd, const TQString &actionId, TQ : Action(actionId, parent), d(&dd) { d->q = this; - connect(this, TQT_SIGNAL(dataChanged()), this, TQT_SLOT(updateButton())); + connect(this, TQ_SIGNAL(dataChanged()), this, TQ_SLOT(updateButton())); } ActionButton::ActionButton(TQButton *button, const TQString &actionId, TQObject *parent) @@ -77,7 +77,7 @@ ActionButton::ActionButton(TQButton *button, const TQString &actionId, TQObject d->buttons.append(button); setButton(button); - connect(this, TQT_SIGNAL(dataChanged()), this, TQT_SLOT(updateButton())); + connect(this, TQ_SIGNAL(dataChanged()), this, TQ_SLOT(updateButton())); } ActionButton::~ActionButton() |