Diffstat (limited to 'libopie2/opiecore/oconfig.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/oconfig.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libopie2/opiecore/oconfig.cpp b/libopie2/opiecore/oconfig.cpp index dc4d0b3..fb5eabb 100644 --- a/libopie2/opiecore/oconfig.cpp +++ b/libopie2/opiecore/oconfig.cpp | |||
@@ -30,30 +30,32 @@ | |||
30 | */ | 30 | */ |
31 | 31 | ||
32 | /* QT */ | 32 | /* QT */ |
33 | 33 | ||
34 | #include <qfont.h> | 34 | #include <qfont.h> |
35 | #include <qcolor.h> | 35 | #include <qcolor.h> |
36 | 36 | ||
37 | /* OPIE */ | 37 | /* OPIE */ |
38 | 38 | ||
39 | #include <opie2/oconfig.h> | 39 | #include <opie2/oconfig.h> |
40 | 40 | ||
41 | OConfig::OConfig( const QString &name, Domain domain ) | 41 | OConfig::OConfig( const QString &name, Domain domain ) |
42 | :OpieConfig( name, domain ) | 42 | :Config( name, domain ) |
43 | { | 43 | { |
44 | qDebug( "OConfig::OConfig()" ); | ||
44 | } | 45 | } |
45 | 46 | ||
46 | OConfig::~OConfig() | 47 | OConfig::~OConfig() |
47 | { | 48 | { |
49 | qDebug( "OConfig::~OConfig()" ); | ||
48 | } | 50 | } |
49 | 51 | ||
50 | QColor OConfig::readColorEntry( const QString& key, const QColor* pDefault ) const | 52 | QColor OConfig::readColorEntry( const QString& key, const QColor* pDefault ) const |
51 | { | 53 | { |
52 | QColor aRetColor; | 54 | QColor aRetColor; |
53 | int nRed = 0, nGreen = 0, nBlue = 0; | 55 | int nRed = 0, nGreen = 0, nBlue = 0; |
54 | 56 | ||
55 | QString aValue = readEntry( key ); | 57 | QString aValue = readEntry( key ); |
56 | if( !aValue.isEmpty() ) | 58 | if( !aValue.isEmpty() ) |
57 | { | 59 | { |
58 | if ( aValue.at(0) == '#' ) | 60 | if ( aValue.at(0) == '#' ) |
59 | { | 61 | { |