summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-11-12 22:58:55 +0900
committerMichele Calgaro <[email protected]>2021-11-12 22:58:55 +0900
commit8f1d08da58bce00523534cf39807732f7dee91ce (patch)
tree89b1626237ca159c85e9489330bd24bc10040a6b /gui
parent4606c91f4c62ae540df8edca973c2c5e405227d7 (diff)
downloadpolkit-tqt-8f1d08da58bce00523534cf39807732f7dee91ce.tar.gz
polkit-tqt-8f1d08da58bce00523534cf39807732f7dee91ce.zip
More PolkitTQt1 -> PolkitTQt renaming.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'gui')
-rw-r--r--gui/polkittqt1-gui-action.cpp12
-rw-r--r--gui/polkittqt1-gui-action.h9
-rw-r--r--gui/polkittqt1-gui-actionbutton.cpp8
-rw-r--r--gui/polkittqt1-gui-actionbutton.h12
-rw-r--r--gui/polkittqt1-gui-actionbutton_p.h8
-rw-r--r--gui/polkittqt1-gui-actionbuttons.cpp8
-rw-r--r--gui/polkittqt1-gui-actionbuttons.h10
-rw-r--r--gui/polkittqt1-gui-actionbuttons_p.h8
8 files changed, 39 insertions, 36 deletions
diff --git a/gui/polkittqt1-gui-action.cpp b/gui/polkittqt1-gui-action.cpp
index 2b50570d7..2b399b29a 100644
--- a/gui/polkittqt1-gui-action.cpp
+++ b/gui/polkittqt1-gui-action.cpp
@@ -20,13 +20,14 @@
* Boston, MA 02110-1301, USA.
*/
-#include "polkittqt1-gui-action.h"
-#include "polkittqt1-authority.h"
-#include "polkittqt1-subject.h"
+#include "polkit-tqt-gui-action.h"
+#include "polkit-tqt-authority.h"
+#include "polkit-tqt-subject.h"
#include <TQtCore/TQCoreApplication>
-namespace PolkitTQt1
+
+namespace PolkitTQt
{
namespace Gui
@@ -512,4 +513,5 @@ TQString Action::actionId() const
}
-#include "polkittqt1-gui-action.moc"
+#include "polkit-tqt-gui-action.moc"
+
diff --git a/gui/polkittqt1-gui-action.h b/gui/polkittqt1-gui-action.h
index 9e0fb255a..802a790f8 100644
--- a/gui/polkittqt1-gui-action.h
+++ b/gui/polkittqt1-gui-action.h
@@ -19,21 +19,22 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef POLKITTQT1_GUI_ACTION_H
-#define POLKITTQT1_GUI_ACTION_H
+#ifndef POLKIT_TQT_GUI_ACTION_H
+#define POLKIT_TQT_GUI_ACTION_H
#include "polkit-tqt-export.h"
#include <TQtGui/TQAction>
-namespace PolkitTQt1
+
+namespace PolkitTQt
{
namespace Gui
{
/**
- * \class Action polkittqt1-gui-action.h Action
+ * \class Action polkit-tqt-gui-action.h Action
* \author Daniel Nicoletti <[email protected]>
* \author Dario Freddi <[email protected]>
*
diff --git a/gui/polkittqt1-gui-actionbutton.cpp b/gui/polkittqt1-gui-actionbutton.cpp
index f817088c1..7521fa550 100644
--- a/gui/polkittqt1-gui-actionbutton.cpp
+++ b/gui/polkittqt1-gui-actionbutton.cpp
@@ -19,11 +19,11 @@
* Boston, MA 02110-1301, USA.
*/
-#include "polkittqt1-gui-actionbutton.h"
+#include "polkit-tqt-gui-actionbutton.h"
-#include "polkittqt1-gui-actionbutton_p.h"
+#include "polkit-tqt-gui-actionbutton_p.h"
-namespace PolkitTQt1
+namespace PolkitTQt
{
namespace Gui
@@ -163,4 +163,4 @@ void ActionButtonPrivate::streamClicked(bool c)
}
-#include "polkittqt1-gui-actionbutton.moc"
+#include "polkit-tqt-gui-actionbutton.moc"
diff --git a/gui/polkittqt1-gui-actionbutton.h b/gui/polkittqt1-gui-actionbutton.h
index d0fcfaa94..fba18d3ae 100644
--- a/gui/polkittqt1-gui-actionbutton.h
+++ b/gui/polkittqt1-gui-actionbutton.h
@@ -19,15 +19,15 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef POLKITTQT1_GUI_ACTIONBUTTON_H
-#define POLKITTQT1_GUI_ACTIONBUTTON_H
+#ifndef POLKIT_TQT_GUI_ACTIONBUTTON_H
+#define POLKIT_TQT_GUI_ACTIONBUTTON_H
#include "polkit-tqt-export.h"
-#include "polkittqt1-gui-action.h"
+#include "polkit-tqt-gui-action.h"
class TQAbstractButton;
-namespace PolkitTQt1
+namespace PolkitTQt
{
namespace Gui
@@ -35,7 +35,7 @@ namespace Gui
class ActionButtonPrivate;
/**
- * \class ActionButton polkittqt1-gui-actionbutton.h ActionButton
+ * \class ActionButton polkit-tqt-gui-actionbutton.h ActionButton
* \author Daniel Nicoletti <[email protected]>
* \author Dario Freddi <[email protected]>
*
@@ -50,7 +50,7 @@ class ActionButtonPrivate;
* permission to perform the given action. If you set 'noEnabled'
* to \c true it will be emitted when PolKitResult is NO.
*/
-class POLKITTQT1_EXPORT ActionButton : public Action
+class POLKIT_TQT_EXPORT ActionButton : public Action
{
Q_OBJECT
TQ_DECLARE_PRIVATE(ActionButton)
diff --git a/gui/polkittqt1-gui-actionbutton_p.h b/gui/polkittqt1-gui-actionbutton_p.h
index 5d4154ef1..afbe2e063 100644
--- a/gui/polkittqt1-gui-actionbutton_p.h
+++ b/gui/polkittqt1-gui-actionbutton_p.h
@@ -18,10 +18,10 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef POLKITTQT1_GUI_ACTIONBUTTON_P_H
-#define POLKITTQT1_GUI_ACTIONBUTTON_P_H
+#ifndef POLKIT_TQT_GUI_ACTIONBUTTON_P_H
+#define POLKIT_TQT_GUI_ACTIONBUTTON_P_H
-#include <polkittqt1-gui-actionbutton.h>
+#include <polkit-tqt-gui-actionbutton.h>
#include <TQtCore/TQList>
#include <TQtGui/TQAbstractButton>
@@ -29,7 +29,7 @@
/**
* \internal
*/
-class PolkitTQt1::Gui::ActionButtonPrivate
+class PolkitTQt::Gui::ActionButtonPrivate
{
public:
ActionButtonPrivate(const TQList<TQAbstractButton *> &b)
diff --git a/gui/polkittqt1-gui-actionbuttons.cpp b/gui/polkittqt1-gui-actionbuttons.cpp
index 4a3def78b..28837ecc8 100644
--- a/gui/polkittqt1-gui-actionbuttons.cpp
+++ b/gui/polkittqt1-gui-actionbuttons.cpp
@@ -18,11 +18,11 @@
* Boston, MA 02110-1301, USA.
*/
-#include "polkittqt1-gui-actionbuttons.h"
+#include "polkit-tqt-gui-actionbuttons.h"
-#include "polkittqt1-gui-actionbuttons_p.h"
+#include "polkit-tqt-gui-actionbuttons_p.h"
-namespace PolkitTQt1
+namespace PolkitTQt
{
namespace Gui
@@ -70,4 +70,4 @@ void ActionButtons::removeButton(TQAbstractButton *button)
}
-#include "polkittqt1-gui-actionbuttons.moc"
+#include "polkit-tqt-gui-actionbuttons.moc"
diff --git a/gui/polkittqt1-gui-actionbuttons.h b/gui/polkittqt1-gui-actionbuttons.h
index 753a5e5c4..4324b0bf9 100644
--- a/gui/polkittqt1-gui-actionbuttons.h
+++ b/gui/polkittqt1-gui-actionbuttons.h
@@ -18,12 +18,12 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef POLKITTQT1_GUI_ACTIONBUTTONS_H
-#define POLKITTQT1_GUI_ACTIONBUTTONS_H
+#ifndef POLKIT_TQT_GUI_ACTIONBUTTONS_H
+#define POLKIT_TQT_GUI_ACTIONBUTTONS_H
-#include "polkittqt1-gui-actionbutton.h"
+#include "polkit-tqt-gui-actionbutton.h"
-namespace PolkitTQt1
+namespace PolkitTQt
{
namespace Gui
@@ -31,7 +31,7 @@ namespace Gui
class ActionButtonsPrivate;
/**
- * \class ActionButtons polkittqt1-gui-actionbuttons.h ActionButtons
+ * \class ActionButtons polkit-tqt-gui-actionbuttons.h ActionButtons
* \author Dario Freddi <[email protected]>
*
* \brief Class used to hold and update a list of TQAbstractButtons
diff --git a/gui/polkittqt1-gui-actionbuttons_p.h b/gui/polkittqt1-gui-actionbuttons_p.h
index 433fb3a57..1040177cb 100644
--- a/gui/polkittqt1-gui-actionbuttons_p.h
+++ b/gui/polkittqt1-gui-actionbuttons_p.h
@@ -18,15 +18,15 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef POLKITTQT1_GUI_ACTIONBUTTONS_P_H
-#define POLKITTQT1_GUI_ACTIONBUTTONS_P_H
+#ifndef POLKIT_TQT_GUI_ACTIONBUTTONS_P_H
+#define POLKIT_TQT_GUI_ACTIONBUTTONS_P_H
-#include "polkittqt1-gui-actionbutton_p.h"
+#include "polkit-tqt-gui-actionbutton_p.h"
/**
* \internal
*/
-class PolkitTQt1::Gui::ActionButtonsPrivate : public ActionButtonPrivate
+class PolkitTQt::Gui::ActionButtonsPrivate : public ActionButtonPrivate
{
public:
ActionButtonsPrivate(const TQList<TQAbstractButton *> &b)