#include <QtGui/qsound.h> #ifndef QSOUND_H #ifndef QT_NO_SOUND class QSound: public QObject{ /* Some contents are skipped to improve readability */ public: int loopsRemaining() const /* ... */ }; #endif // QT_NO_SOUND #endif // QSOUND_H