#include <QtCore/qsettings.h> #ifndef QSETTINGS_H #ifndef QT_NO_SETTINGS class QSettings: public QObject{ /* Some contents are skipped to improve readability */ public: struct QStringList allKeys() const /* ... */ }; #endif // QT_NO_SETTINGS #endif // QSETTINGS_H