#include <QtGui/qsystemtrayicon.h> #ifndef QSYSTEMTRAYICON_H #ifndef QT_NO_SYSTEMTRAYICON class QSystemTrayIcon: public QObject{ /* Some contents are skipped to improve readability */ public: static bool supportsMessages(); /* ... */ }; #endif // QT_NO_SYSTEMTRAYICON #endif // QSYSTEMTRAYICON_H