Scribus
Open source desktop publishing at your fingertips
PrefsContext Class Reference

Public Member Functions

 PrefsContext (QString contextName, bool persistent=true, bool plugin=false)
 
QString getName ()
 
bool isPersistent ()
 
bool isPlugin ()
 
bool isEmpty ()
 
bool contains (const QString &key)
 
bool containsTable (const QString &key)
 
QString get (const QString &key, const QString &defValue="")
 
void set (const QString &key, const char *value)
 
void set (const QString &key, const std::string &value)
 
void set (const QString &key, const QString &value)
 
int getInt (const QString &key, int defValue=-1)
 
void set (const QString &key, int value)
 
void set (const QString &key, uint value)
 
uint getUInt (const QString &key, uint defValue=0)
 
double getDouble (const QString &key, double defValue=-1.0)
 
void set (const QString &key, double value)
 
bool getBool (const QString &key, bool defValue=false)
 
void set (const QString &key, bool value)
 
PrefsTablegetTable (const QString &name)
 
void removeTable (const QString &name)
 

Public Attributes

AttributeMap values
 
TableMap tables
 

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