summaryrefslogtreecommitdiffstats
path: root/core/polkitqt1-temporaryauthorization.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/polkitqt1-temporaryauthorization.h')
-rw-r--r--core/polkitqt1-temporaryauthorization.h30
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