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 /core/polkitqt1-temporaryauthorization.h | |
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 'core/polkitqt1-temporaryauthorization.h')
-rw-r--r-- | core/polkitqt1-temporaryauthorization.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/core/polkitqt1-temporaryauthorization.h b/core/polkitqt1-temporaryauthorization.h index f8a13ea17..04deabb2c 100644 --- a/core/polkitqt1-temporaryauthorization.h +++ b/core/polkitqt1-temporaryauthorization.h @@ -23,21 +23,21 @@ #include "polkitqt1-subject.h" -#include <QtCore/QObject> -#include <QtCore/QDateTime> -#include <QtCore/QMetaType> -#include <QtCore/QSharedData> +#include <TQtCore/TQObject> +#include <TQtCore/TQDateTime> +#include <TQtCore/TQMetaType> +#include <TQtCore/TQSharedData> typedef struct _PolkitTemporaryAuthorization PolkitTemporaryAuthorization; /** - * \namespace PolkitQt1 PolkitQt + * \namespace PolkitTQt1 PolkitTQt * - * \brief Namespace wrapping PolicyKit-Qt classes + * \brief Namespace wrapping PolicyKit-TQt classes * - * This namespace wraps all PolicyKit-Qt classes. + * This namespace wraps all PolicyKit-TQt classes. */ -namespace PolkitQt1 +namespace PolkitTQt1 { /** @@ -51,7 +51,7 @@ namespace PolkitQt1 class POLKITQT1_EXPORT TemporaryAuthorization { public: - typedef QList< TemporaryAuthorization > List; + typedef TQList< TemporaryAuthorization > List; TemporaryAuthorization(); /** * Creates TemporaryAuthorization object from PolkitTemporaryAuthorization @@ -75,14 +75,14 @@ public: * * \return Unique identifier for the authorization */ - QString id() const; + TQString id() const; /** * \brief Gets the identifier of the action that authorization is for * * \return String that identifies the action */ - QString actionId() const; + TQString actionId() const; /** * \brief Gets the subject that authorization is for @@ -96,14 +96,14 @@ public: * * \return Time of obtaining the authorization */ - QDateTime obtainedAt() const; + TQDateTime obtainedAt() const; /** * \brief Gets the time when authorizaton will expire * * \return Time of expiration */ - QDateTime expirationTime() const; + TQDateTime expirationTime() const; /** * \brief Revoke temporary authorization @@ -115,10 +115,10 @@ public: private: class Data; - QSharedDataPointer< Data > d; + TQSharedDataPointer< Data > d; }; } -Q_DECLARE_METATYPE(PolkitQt1::TemporaryAuthorization::List) +Q_DECLARE_METATYPE(PolkitTQt1::TemporaryAuthorization::List) #endif // TEMPORARYAUTHORIZATION_H |