From 34f42c17874e84239fc2bff241cecee7ec78d38d Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 17 May 2004 21:19:23 +0000 Subject: Clearify documentation on config groupsaver and give a small code example --- (limited to 'libopie2/opiecore') diff --git a/libopie2/opiecore/oconfig.h b/libopie2/opiecore/oconfig.h index 8c3060c..ab95dc3 100644 --- a/libopie2/opiecore/oconfig.h +++ b/libopie2/opiecore/oconfig.h @@ -2,6 +2,7 @@                 This file is part of the Opie Project (C) 2003 Michael 'Mickey' Lauer + Inspired by the config classes from the KDE Project which are =. (C) 1997 Matthias Kalle Dalheimer .=l. @@ -108,6 +109,14 @@ private: * one group (including the creation of the OConfigGroupSaver object) * in one block. * + * \code + * OConfigGroupSaver saver(cfg,"TheGroupThatInWhat"); + * \endcode + * + * Note that OConfigGroupSaver (cfg,"TheGroupThatInWhat"); would get imediately + * destructed after created and that you would save in the old group which + * is unwished. + * * @author Matthias Kalle Dalheimer * @version $Id$ * @see OConfig -- cgit v0.9.0.2