21 #ifndef POLKITQT1_TEMPORARYAUTHORIZATION_H 22 #define POLKITQT1_TEMPORARYAUTHORIZATION_H 24 #include "polkitqt1-subject.h" 26 #include <QtCore/QObject> 27 #include <QtCore/QDateTime> 28 #include <QtCore/QMetaType> 29 #include <QtCore/QSharedData> 31 typedef struct _PolkitTemporaryAuthorization PolkitTemporaryAuthorization;
54 typedef QList< TemporaryAuthorization > List;
85 QString actionId()
const;
99 QDateTime obtainedAt()
const;
106 QDateTime expirationTime()
const;
118 QSharedDataPointer< Data > d;
122 Q_DECLARE_METATYPE(PolkitQt1::TemporaryAuthorization::List)
124 #endif // TEMPORARYAUTHORIZATION_H This class represents PolicyKit temporary authorization.
Definition: polkitqt1-temporaryauthorization.h:51
This class represents PolicyKit subjects.
Definition: polkitqt1-subject.h:55
Namespace wrapping Polkit-Qt classes.
Definition: listeneradapter.cpp:26