diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-10-30 13:47:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-10-30 13:47:29 +0900 |
commit | e8494e60efeb94c67c813d1c1c038031915e8c17 (patch) | |
tree | 3238b3e8ceeb577a8eda00da66704c7e5fc6f9f5 /gui/polkitqt1-gui-actionbuttons.cpp | |
parent | 28de2ff84f59ac0b173670aa9c5331bc77c1e63f (diff) | |
download | polkit-tqt-e8494e60efeb94c67c813d1c1c038031915e8c17.tar.gz polkit-tqt-e8494e60efeb94c67c813d1c1c038031915e8c17.zip |
Raw Qt->TQt conversion using tde/scripts/conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'gui/polkitqt1-gui-actionbuttons.cpp')
-rw-r--r-- | gui/polkitqt1-gui-actionbuttons.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gui/polkitqt1-gui-actionbuttons.cpp b/gui/polkitqt1-gui-actionbuttons.cpp index 242d41f71..125c0959f 100644 --- a/gui/polkitqt1-gui-actionbuttons.cpp +++ b/gui/polkitqt1-gui-actionbuttons.cpp @@ -22,13 +22,13 @@ #include "polkitqt1-gui-actionbuttons_p.h" -namespace PolkitQt1 +namespace PolkitTQt1 { namespace Gui { -ActionButtons::ActionButtons(const QList<QAbstractButton *> &buttons, const QString &actionId, QObject *parent) +ActionButtons::ActionButtons(const TQList<TQAbstractButton *> &buttons, const TQString &actionId, TQObject *parent) : ActionButton(*new ActionButtonsPrivate(buttons), actionId, parent) { setButtons(buttons); @@ -38,28 +38,28 @@ ActionButtons::~ActionButtons() { } -void ActionButtons::setButtons(const QList<QAbstractButton *> &buttons) +void ActionButtons::setButtons(const TQList<TQAbstractButton *> &buttons) { - Q_FOREACH(QAbstractButton *ent, buttons) { + Q_FOREACH(TQAbstractButton *ent, buttons) { addButton(ent); } } -QList<QAbstractButton *> ActionButtons::buttons() const +TQList<TQAbstractButton *> ActionButtons::buttons() const { Q_D(const ActionButtons); return d->buttons; } -void ActionButtons::addButton(QAbstractButton *button) +void ActionButtons::addButton(TQAbstractButton *button) { Q_D(ActionButtons); d->addButton(button); } -void ActionButtons::removeButton(QAbstractButton *button) +void ActionButtons::removeButton(TQAbstractButton *button) { Q_D(ActionButtons); |