#include <QtGui/qsessionmanager.h>
#ifndef QSESSIONMANAGER_H
#ifndef QT_NO_SESSIONMANAGER
class QSessionManager: public QObject{
   /* Some contents are skipped to improve readability */
   public: void cancel();
   /* ... */
};
#endif // QT_NO_SESSIONMANAGER
#endif // QSESSIONMANAGER_H