##// END OF EJS Templates
added experimental compacting to avoid generation of hundreds of files that all include the same stuff...
added experimental compacting to avoid generation of hundreds of files that all include the same stuff git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@128 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r92:f97ec94c87a9
Show More
PythonQtWrapper_QSessionManager.h
41 lines | 1.8 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSESSIONMANAGER_H
#define PYTHONQTWRAPPER_QSESSIONMANAGER_H
#include <qsessionmanager.h>
#include <QObject>
#include <PythonQt.h>
#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:
QStringList discardCommand(QSessionManager* theWrappedObject) const;
void setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1);
void requestPhase2(QSessionManager* theWrappedObject);
void release(QSessionManager* theWrappedObject);
QString sessionId(QSessionManager* theWrappedObject) const;
void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value);
void setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1);
void cancel(QSessionManager* theWrappedObject);
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);
void setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1);
QStringList restartCommand(QSessionManager* theWrappedObject) const;
bool allowsInteraction(QSessionManager* theWrappedObject);
};
#endif // PYTHONQTWRAPPER_QSESSIONMANAGER_H