diff options
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); |