#include <QtGui/qsystemtrayicon.h> #ifndef QSYSTEMTRAYICON_H #ifndef QT_NO_SYSTEMTRAYICON class QSystemTrayIcon: public QObject{ /* Some contents are skipped to improve readability */ public: enum MessageIcon{ /* ... */ Critical = 3, /* ... */ }; /* ... */ }; #endif // QT_NO_SYSTEMTRAYICON #endif // QSYSTEMTRAYICON_H