#include <QtCore/qsettings.h> #ifndef QSETTINGS_H #ifndef QT_NO_SETTINGS class QSettings: public QObject{ /* Some contents are skipped to improve readability */ public: static void setSystemIniPath(class QString const & dir); /* ... */ }; #endif // QT_NO_SETTINGS #endif // QSETTINGS_H