author | mickeyl <mickeyl> | 2003-09-25 18:11:23 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-09-25 18:11:23 (UTC) |
commit | 2d97604243f83dc7d057656148112c8018677bba (patch) (side-by-side diff) | |
tree | eee78eff5aa141bd55214fa0ba6dca8fad83091a | |
parent | 9047b6d4ffe0cbcecd90fd994ce2353277c378a1 (diff) | |
download | opie-2d97604243f83dc7d057656148112c8018677bba.zip opie-2d97604243f83dc7d057656148112c8018677bba.tar.gz opie-2d97604243f83dc7d057656148112c8018677bba.tar.bz2 |
fix tille's infinite recursion ;-)
-rw-r--r-- | libopie2/opiecore/oconfig.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/oconfig.h b/libopie2/opiecore/oconfig.h index e7d3be6..75aa170 100644 --- a/libopie2/opiecore/oconfig.h +++ b/libopie2/opiecore/oconfig.h @@ -42,49 +42,49 @@ class QFont; /** * A Configuration class based on the Qtopia @ref Config class * featuring additional handling of color and font entries */ class OConfig : public OpieConfig { public: /** * Constructs a OConfig object with a @a name. */ OConfig( const QString &name, Domain domain = User ); /** * Destructs the OConfig object. * * Writes back any dirty configuration entries, and destroys * dynamically created objects. */ virtual ~OConfig(); /** * @returns the name of the current group. * The current group is used for searching keys and accessing entries. */ - const QString& group() { return group(); }; + const QString& group() { return OpieConfig::group(); }; /** * @returns a @ref QColor entry or a @a default value if the key is not found. */ QColor readColorEntry( const QString& key, const QColor* pDefault ) const; /** * @returns a @ref QFont value or a @a default value if the key is not found. */ QFont readFontEntry( const QString& key, const QFont* pDefault ) const; }; /** * @brief Helper class for easier use of OConfig groups. * * Careful programmers always set the group of a * @ref OConfig object to the group they want to read from * and set it back to the old one of afterwards. This is usually * written as: * <pre> * * QString oldgroup config()->group(); * config()->setGroup( "TheGroupThatIWant" ); * ... * config()->writeEntry( "Blah", "Blubb" ); * |