OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Wizard::IniSettings Class Reference

#include <inisettings.hpp>

Collaboration diagram for Wizard::IniSettings:

Public Member Functions

 IniSettings ()
 
 ~IniSettings ()
 
QVariant value (const QString &key, const QVariant &defaultValue=QVariant()) const
 
QList< QVariant > values () const
 
void setValue (const QString &key, const QVariant &value)
 
void remove (const QString &key)
 
QStringList findKeys (const QString &text)
 
bool readFile (QTextStream &stream)
 
bool writeFile (const QString &path, QTextStream &stream)
 
bool parseInx (const QString &path)
 

Private Member Functions

int getLastNewline (const QString &buffer, int from)
 

Private Attributes

SettingsMap mSettings
 

Constructor & Destructor Documentation

Wizard::IniSettings::IniSettings ( )
explicit
Wizard::IniSettings::~IniSettings ( )

Member Function Documentation

QStringList Wizard::IniSettings::findKeys ( const QString &  text)
int Wizard::IniSettings::getLastNewline ( const QString &  buffer,
int  from 
)
private
bool Wizard::IniSettings::parseInx ( const QString &  path)
bool Wizard::IniSettings::readFile ( QTextStream &  stream)
void Wizard::IniSettings::remove ( const QString &  key)
inline
void Wizard::IniSettings::setValue ( const QString &  key,
const QVariant &  value 
)
inline
QVariant Wizard::IniSettings::value ( const QString &  key,
const QVariant &  defaultValue = QVariant() 
) const
inline
QList<QVariant> Wizard::IniSettings::values ( ) const
inline
bool Wizard::IniSettings::writeFile ( const QString &  path,
QTextStream &  stream 
)

Here is the call graph for this function:

Member Data Documentation

SettingsMap Wizard::IniSettings::mSettings
private

The documentation for this class was generated from the following files: