diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-11-05 18:54:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-11-05 18:54:42 +0900 |
commit | eb2210c94488f6c57159fede9a98891e4f3a1a52 (patch) | |
tree | 5a00e2f85696aef16ef7bf9c1655f0ca76243195 /core/polkittqt1-authority.h | |
parent | 58baf01dab5d45b890534bf8a1eb42d677332407 (diff) | |
download | polkit-tqt-eb2210c94488f6c57159fede9a98891e4f3a1a52.tar.gz polkit-tqt-eb2210c94488f6c57159fede9a98891e4f3a1a52.zip |
More conversion polkitqt1 -> polkit-tqt.
Started conversion of 'core' library module.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'core/polkittqt1-authority.h')
-rw-r--r-- | core/polkittqt1-authority.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/core/polkittqt1-authority.h b/core/polkittqt1-authority.h index 6ced45ad6..ae71a86b2 100644 --- a/core/polkittqt1-authority.h +++ b/core/polkittqt1-authority.h @@ -24,7 +24,7 @@ #ifndef POLKITTQT1_AUTHORITY_H #define POLKITTQT1_AUTHORITY_H -#include "polkittqt1-export.h" +#include "polkit-tqt-export.h" #include "polkittqt1-identity.h" #include "polkittqt1-subject.h" #include "polkittqt1-temporaryauthorization.h" @@ -37,13 +37,13 @@ typedef struct _PolkitAuthority PolkitAuthority; class TQStringList; /** - * \namespace PolkitTQt1 PolkitTQt + * \namespace PolkitTQt PolkitTQt * * \brief Namespace wrapping Polkit-TQt classes * * This namespace wraps all Polkit-TQt classes. */ -namespace PolkitTQt1 +namespace PolkitTQt { /** @@ -63,7 +63,7 @@ namespace PolkitTQt1 * Call Authority::instance() to get an instance of the Authority object. * Do not delete Authority::instance(), cleanup will be done automatically. */ -class POLKITTQT1_EXPORT Authority : public TQObject +class POLKIT_TQT_EXPORT Authority : public TQObject { Q_OBJECT TQ_DISABLE_COPY(Authority) @@ -343,7 +343,7 @@ public: * \return \c true if authority acknowledged the call, \c false if error is set. * */ - bool authenticationAgentResponseSync(const TQString& cookie, const PolkitTQt1::Identity& identity); + bool authenticationAgentResponseSync(const TQString& cookie, const PolkitTQt::Identity& identity); /** * This method can be used to cancel the authenticationAgentResponseAsync method. @@ -465,14 +465,14 @@ Q_SIGNALS: * * The argument is the result of authorization. */ - void checkAuthorizationFinished(PolkitTQt1::Authority::Result); + void checkAuthorizationFinished(PolkitTQt::Authority::Result); /** * This signal is emitted when asynchronous method enumerateActions finishes. * * The argument is the list of all Action IDs. */ - void enumerateActionsFinished(PolkitTQt1::ActionDescription::List); + void enumerateActionsFinished(PolkitTQt::ActionDescription::List); /** * This signal is emitted when asynchronous method registerAuthenticationAgent finishes. @@ -504,7 +504,7 @@ Q_SIGNALS: * * \note Free all TemporaryAuthorization objects using \p delete operator. */ - void enumerateTemporaryAuthorizationsFinished(PolkitTQt1::TemporaryAuthorization::List); + void enumerateTemporaryAuthorizationsFinished(PolkitTQt::TemporaryAuthorization::List); /** * This signal is emmited when asynchronous method revokeTemporaryAuthorizations finishes. @@ -533,7 +533,7 @@ private: } -Q_DECLARE_OPERATORS_FOR_FLAGS(PolkitTQt1::Authority::AuthorizationFlags) -Q_DECLARE_METATYPE(PolkitTQt1::Authority::Result) +Q_DECLARE_OPERATORS_FOR_FLAGS(PolkitTQt::Authority::AuthorizationFlags) +Q_DECLARE_METATYPE(PolkitTQt::Authority::Result) #endif |