summaryrefslogtreecommitdiffstats
path: root/gui/polkitqt1-gui-actionbuttons.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-10-31 00:13:21 +0900
committerMichele Calgaro <[email protected]>2021-10-31 00:14:22 +0900
commite8933e99b4600d91e9eab7d1ad3a2d35813028a9 (patch)
treeb2899fd1ef651a1bff56918ace94625a4bc14aa0 /gui/polkitqt1-gui-actionbuttons.cpp
parente8494e60efeb94c67c813d1c1c038031915e8c17 (diff)
downloadpolkit-tqt-e8933e99b4600d91e9eab7d1ad3a2d35813028a9.tar.gz
polkit-tqt-e8933e99b4600d91e9eab7d1ad3a2d35813028a9.zip
More Qt->TQt conversion and some clean up.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'gui/polkitqt1-gui-actionbuttons.cpp')
-rw-r--r--gui/polkitqt1-gui-actionbuttons.cpp73
1 files changed, 0 insertions, 73 deletions
diff --git a/gui/polkitqt1-gui-actionbuttons.cpp b/gui/polkitqt1-gui-actionbuttons.cpp
deleted file mode 100644
index 125c0959f..000000000
--- a/gui/polkitqt1-gui-actionbuttons.cpp
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * This file is part of the Polkit-qt project
- * Copyright (C) 2009 Dario Freddi <[email protected]>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "polkitqt1-gui-actionbuttons.h"
-
-#include "polkitqt1-gui-actionbuttons_p.h"
-
-namespace PolkitTQt1
-{
-
-namespace Gui
-{
-
-ActionButtons::ActionButtons(const TQList<TQAbstractButton *> &buttons, const TQString &actionId, TQObject *parent)
- : ActionButton(*new ActionButtonsPrivate(buttons), actionId, parent)
-{
- setButtons(buttons);
-}
-
-ActionButtons::~ActionButtons()
-{
-}
-
-void ActionButtons::setButtons(const TQList<TQAbstractButton *> &buttons)
-{
- Q_FOREACH(TQAbstractButton *ent, buttons) {
- addButton(ent);
- }
-}
-
-TQList<TQAbstractButton *> ActionButtons::buttons() const
-{
- Q_D(const ActionButtons);
-
- return d->buttons;
-}
-
-void ActionButtons::addButton(TQAbstractButton *button)
-{
- Q_D(ActionButtons);
-
- d->addButton(button);
-}
-
-void ActionButtons::removeButton(TQAbstractButton *button)
-{
- Q_D(ActionButtons);
-
- d->removeButton(button);
-}
-
-}
-
-}
-
-#include "polkitqt1-gui-actionbuttons.moc"