kleopatra
#include <configuration.h>
Public Types | |
enum | ArgType { None =0, String, Int, UInt, Path, Url, LdapUrl, DirPath } |
enum | ListType { NoList =0, List } |
enum | Mutability { UnspecifiedMutability =0, NoChange, Change } |
Public Member Functions | |
ConfigEntry (const QString &name) | |
ArgType | argType () const |
bool | boolValue () const |
QString | description () const |
int | intValue () const |
QList< int > | intValueList () const |
bool | isDirty () const |
Mutability | mutability () const |
QString | name () const |
unsigned int | numberOfTimesSet () const |
QString | outputString () const |
void | setArgType (ArgType type, ListType listType) |
void | setBoolValue (bool) |
void | setDescription (const QString &description) |
void | setIntValue (int) |
void | setIntValueList (const QList< int > &) |
void | setMutability (Mutability mutability) |
void | setName (const QString &name) |
void | setNumberOfTimesSet (unsigned int) |
void | setStringValue (const QString &) |
void | setStringValueList (const QStringList &) |
void | setUIntValue (unsigned int) |
void | setUIntValueList (const QList< unsigned int > &) |
void | setURLValue (const KUrl &) |
void | setURLValueList (const KUrl::List &) |
void | setUseBuiltInDefault (bool useDefault) |
void | setValueFromRawString (const QString &str) |
void | setValueFromUiString (const QString &str) |
QString | stringValue () const |
QStringList | stringValueList () const |
QString | typeDescription () const |
unsigned int | uintValue () const |
QList< unsigned int > | uintValueList () const |
void | unsetDirty () |
KUrl | urlValue () const |
KUrl::List | urlValueList () const |
bool | useBuiltInDefault () const |
Detailed Description
Definition at line 123 of file configuration.h.
Member Enumeration Documentation
enum ConfigEntry::ArgType |
Enumerator | |
---|---|
None | |
String | |
Int | |
UInt | |
Path | |
Url | |
LdapUrl | |
DirPath |
Definition at line 133 of file configuration.h.
Enumerator | |
---|---|
NoList | |
List |
Definition at line 144 of file configuration.h.
Enumerator | |
---|---|
UnspecifiedMutability | |
NoChange | |
Change |
Definition at line 127 of file configuration.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 261 of file configuration.cpp.
Member Function Documentation
ConfigEntry::ArgType ConfigEntry::argType | ( | ) | const |
Definition at line 333 of file configuration.cpp.
bool ConfigEntry::boolValue | ( | ) | const |
Definition at line 369 of file configuration.cpp.
QString ConfigEntry::description | ( | ) | const |
Definition at line 288 of file configuration.cpp.
int ConfigEntry::intValue | ( | ) | const |
Definition at line 381 of file configuration.cpp.
QList< int > ConfigEntry::intValueList | ( | ) | const |
Definition at line 424 of file configuration.cpp.
bool ConfigEntry::isDirty | ( | ) | const |
Definition at line 265 of file configuration.cpp.
ConfigEntry::Mutability ConfigEntry::mutability | ( | ) | const |
Definition at line 309 of file configuration.cpp.
QString ConfigEntry::name | ( | ) | const |
Definition at line 275 of file configuration.cpp.
unsigned int ConfigEntry::numberOfTimesSet | ( | ) | const |
Definition at line 526 of file configuration.cpp.
QString ConfigEntry::outputString | ( | ) | const |
Definition at line 569 of file configuration.cpp.
Definition at line 327 of file configuration.cpp.
void ConfigEntry::setBoolValue | ( | bool | b | ) |
Definition at line 478 of file configuration.cpp.
void ConfigEntry::setDescription | ( | const QString & | description | ) |
Definition at line 293 of file configuration.cpp.
void ConfigEntry::setIntValue | ( | int | i | ) |
Definition at line 497 of file configuration.cpp.
void ConfigEntry::setIntValueList | ( | const QList< int > & | lst | ) |
Definition at line 539 of file configuration.cpp.
void ConfigEntry::setMutability | ( | Mutability | mutability | ) |
Definition at line 301 of file configuration.cpp.
void ConfigEntry::setName | ( | const QString & | name | ) |
Definition at line 280 of file configuration.cpp.
void ConfigEntry::setNumberOfTimesSet | ( | unsigned | int | ) |
Definition at line 518 of file configuration.cpp.
void ConfigEntry::setStringValue | ( | const QString & | str | ) |
Definition at line 488 of file configuration.cpp.
void ConfigEntry::setStringValueList | ( | const QStringList & | lst | ) |
Definition at line 533 of file configuration.cpp.
void ConfigEntry::setUIntValue | ( | unsigned int | i | ) |
Definition at line 505 of file configuration.cpp.
void ConfigEntry::setUIntValueList | ( | const QList< unsigned int > & | lst | ) |
Definition at line 549 of file configuration.cpp.
void ConfigEntry::setURLValue | ( | const KUrl & | url | ) |
Definition at line 511 of file configuration.cpp.
void ConfigEntry::setURLValueList | ( | const KUrl::List & | urls | ) |
Definition at line 559 of file configuration.cpp.
void ConfigEntry::setUseBuiltInDefault | ( | bool | useDefault | ) |
Definition at line 319 of file configuration.cpp.
void ConfigEntry::setValueFromRawString | ( | const QString & | str | ) |
Definition at line 468 of file configuration.cpp.
void ConfigEntry::setValueFromUiString | ( | const QString & | str | ) |
Definition at line 473 of file configuration.cpp.
QString ConfigEntry::stringValue | ( | ) | const |
Definition at line 376 of file configuration.cpp.
QStringList ConfigEntry::stringValueList | ( | ) | const |
Definition at line 417 of file configuration.cpp.
QString ConfigEntry::typeDescription | ( | ) | const |
Human-readable (i.e.
translated) description of the entry's type
Definition at line 338 of file configuration.cpp.
unsigned int ConfigEntry::uintValue | ( | ) | const |
Definition at line 388 of file configuration.cpp.
QList< unsigned int > ConfigEntry::uintValueList | ( | ) | const |
Definition at line 436 of file configuration.cpp.
void ConfigEntry::unsetDirty | ( | ) |
Definition at line 270 of file configuration.cpp.
KUrl ConfigEntry::urlValue | ( | ) | const |
Definition at line 395 of file configuration.cpp.
KUrl::List ConfigEntry::urlValueList | ( | ) | const |
Definition at line 448 of file configuration.cpp.
bool ConfigEntry::useBuiltInDefault | ( | ) | const |
Definition at line 314 of file configuration.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.