[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdecore/config
From: David Faure <faure () kde ! org>
Date: 2008-04-18 15:08:06
Message-ID: 1208531286.645063.14314.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 798547 by dfaure:
Mention copyTo() memleak trap. In fact it's much more convenient to just pass a value \
to the config parameter...
M +4 -1 kconfig.h
--- trunk/KDE/kdelibs/kdecore/config/kconfig.h #798546:798547
@@ -42,7 +42,7 @@
* \brief The central class of the KDE configuration data system.
*
* Quickstart:
- *
+ *
* Get the default application config object via KGlobal::config().
*
* Load a specific configuration file:
@@ -136,6 +136,9 @@
*
* @param file the new config object will save itself to.
* @param config optional config object to reuse
+ *
+ * @return the same as @p config if it was set, otherwise a new KConfig object.
+ * In that case, do not forget to delete it!
*/
KConfig* copyTo(const QString &file, KConfig *config=0) const;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic