PythonQtWrapper_QSessionManager.h
41 lines
| 1.8 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QSESSIONMANAGER_H | ||
#define PYTHONQTWRAPPER_QSESSIONMANAGER_H | ||||
#include <qsessionmanager.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qlist.h> | ||||
#include <qobject.h> | ||||
#include <qstringlist.h> | ||||
class PythonQtWrapper_QSessionManager : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
Q_ENUMS(RestartHint ) | ||||
enum RestartHint{ | ||||
RestartIfRunning = QSessionManager::RestartIfRunning, RestartAnyway = QSessionManager::RestartAnyway, RestartImmediately = QSessionManager::RestartImmediately, RestartNever = QSessionManager::RestartNever}; | ||||
public slots: | ||||
florianlink
|
r24 | QStringList discardCommand(QSessionManager* theWrappedObject) const; | ||
florianlink
|
r28 | void setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1); | ||
void requestPhase2(QSessionManager* theWrappedObject); | ||||
florianlink
|
r24 | void release(QSessionManager* theWrappedObject); | ||
florianlink
|
r28 | QString sessionId(QSessionManager* theWrappedObject) const; | ||
florianlink
|
r24 | void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value); | ||
florianlink
|
r73 | void setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1); | ||
florianlink
|
r24 | void cancel(QSessionManager* theWrappedObject); | ||
florianlink
|
r73 | QString sessionKey(QSessionManager* theWrappedObject) const; | ||
bool isPhase2(QSessionManager* theWrappedObject) const; | ||||
QSessionManager::RestartHint restartHint(QSessionManager* theWrappedObject) const; | ||||
bool allowsErrorInteraction(QSessionManager* theWrappedObject); | ||||
void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value); | ||||
florianlink
|
r13 | void setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1); | ||
florianlink
|
r28 | QStringList restartCommand(QSessionManager* theWrappedObject) const; | ||
florianlink
|
r73 | bool allowsInteraction(QSessionManager* theWrappedObject); | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QSESSIONMANAGER_H | ||||