summaryrefslogtreecommitdiffstats
path: root/core/polkitqt1-subject.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/polkitqt1-subject.h')
-rw-r--r--core/polkitqt1-subject.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/core/polkitqt1-subject.h b/core/polkitqt1-subject.h
index 800318dfe..25d986097 100644
--- a/core/polkitqt1-subject.h
+++ b/core/polkitqt1-subject.h
@@ -23,21 +23,21 @@
#include "polkitqt1-export.h"
-#include <QtCore/QObject>
-#include <QtCore/QSharedData>
+#include <TQtCore/TQObject>
+#include <TQtCore/TQSharedData>
typedef struct _PolkitSubject PolkitSubject;
typedef struct _PolkitUnixProcess PolkitUnixProcess;
typedef struct _PolkitSystemBusName PolkitSystemBusName;
/**
- * \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
{
/**
@@ -68,7 +68,7 @@ public:
*
* \return Serialized Subject object
*/
- QString toString() const;
+ TQString toString() const;
/**
* Creates the Subject object from string reprezentation
@@ -77,7 +77,7 @@ public:
*
* \return Pointer to new Subject instance
*/
- static Subject fromString(const QString &string);
+ static Subject fromString(const TQString &string);
/**
* Gets PolkitSubject object.
@@ -95,7 +95,7 @@ protected:
private:
class Data;
- QExplicitlySharedDataPointer< Data > d;
+ TQExplicitlySharedDataPointer< Data > d;
};
/**
@@ -128,7 +128,7 @@ public:
* \param pid An Unix process PID.
* \param startTime An Unix process start time.
*/
- UnixProcessSubject(qint64 pid, quint64 startTime);
+ UnixProcessSubject(qint64 pid, tquint64 startTime);
/**
* Subject constructor, it creates UnixProcess object from PolkitUnixProcess object
@@ -177,7 +177,7 @@ public:
*
* \param name A unique system bus name.
*/
- explicit SystemBusNameSubject(const QString &name);
+ explicit SystemBusNameSubject(const TQString &name);
/**
* Subject constructor, it creates SystemBusName object from PolkitSystemBusName object
@@ -193,14 +193,14 @@ public:
*
* \return A unique system bus name.
*/
- QString name() const;
+ TQString name() const;
/**
* Sets system bus name.
*
* \param name System bus name.
*/
- void setName(const QString &name);
+ void setName(const TQString &name);
};
/**
@@ -222,7 +222,7 @@ public:
*
* \param sessionId The session id.
*/
- explicit UnixSessionSubject(const QString &sessionId);
+ explicit UnixSessionSubject(const TQString &sessionId);
/**
* Subject constructor, takes one parameter - pid of process.
@@ -247,14 +247,14 @@ public:
*
* \return A session id.
*/
- QString sessionId() const;
+ TQString sessionId() const;
/**
* Sets session id.
*
* \param sessionId A session id.
*/
- void setSessionId(const QString &sessionId);
+ void setSessionId(const TQString &sessionId);
};
}