Compatibility Members for QSettings
The following class members are part of the Qt 3 compatibility layer. They are provided to help you port old code to Qt 4. We strongly advise against using them in new code.
QSettings class reference
Public Functions
- QStringList entryList ( const QString & key ) const
- void insertSearchPath ( System , const QString & )
- bool readBoolEntry ( const QString & key, bool defaultValue = false, bool * ok = 0 )
- double readDoubleEntry ( const QString & key, double defaultValue = 0, bool * ok = 0 )
- QString readEntry ( const QString & key, const QString & defaultValue = QString(), bool * ok = 0 )
- QStringList readListEntry ( const QString & key, bool * ok = 0 )
- QStringList readListEntry ( const QString & key, QChar separator, bool * ok = 0 )
- int readNumEntry ( const QString & key, int defaultValue = 0, bool * ok = 0 )
- bool removeEntry ( const QString & key )
- void removeSearchPath ( System , const QString & )
- void resetGroup ()
- void setPath ( const QString & organization, const QString & application, Scope scope = Global )
- QStringList subkeyList ( const QString & key ) const
- bool writeEntry ( const QString & key, bool value )
- bool writeEntry ( const QString & key, double value )
- bool writeEntry ( const QString & key, int value )
- bool writeEntry ( const QString & key, const char * value )
- bool writeEntry ( const QString & key, const QString & value )
- bool writeEntry ( const QString & key, const QStringList & value )
- bool writeEntry ( const QString & key, const QStringList & value, QChar separator )
Member Function Documentation
QStringList QSettings::entryList ( const QString & key ) const
void QSettings::insertSearchPath ( System , const QString & )
bool QSettings::readBoolEntry ( const QString & key, bool defaultValue = false, bool * ok = 0 )
double QSettings::readDoubleEntry ( const QString & key, double defaultValue = 0, bool * ok = 0 )
QString QSettings::readEntry ( const QString & key, const QString & defaultValue = QString(), bool * ok = 0 )
QStringList QSettings::readListEntry ( const QString & key, bool * ok = 0 )
QStringList QSettings::readListEntry ( const QString & key, QChar separator, bool * ok = 0 )
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
int QSettings::readNumEntry ( const QString & key, int defaultValue = 0, bool * ok = 0 )
bool QSettings::removeEntry ( const QString & key )
void QSettings::removeSearchPath ( System , const QString & )
void QSettings::resetGroup ()
void QSettings::setPath ( const QString & organization, const QString & application, Scope scope = Global )
QStringList QSettings::subkeyList ( const QString & key ) const
bool QSettings::writeEntry ( const QString & key, bool value )
bool QSettings::writeEntry ( const QString & key, double value )
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
bool QSettings::writeEntry ( const QString & key, int value )
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
bool QSettings::writeEntry ( const QString & key, const char * value )
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
bool QSettings::writeEntry ( const QString & key, const QString & value )
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
bool QSettings::writeEntry ( const QString & key, const QStringList & value )
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
bool QSettings::writeEntry ( const QString & key, const QStringList & value, QChar separator )
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.