[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kparts
From: Caleb Tennis <caleb () gentoo ! org>
Date: 2005-12-07 16:43:34
Message-ID: 1133973814.658891.21975.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 486341 by ctennis:
Change comment to reflect on QList instead of QPtrList for KParts::Plugin::pluginObjects
M +3 -7 part.h
--- trunk/KDE/kdelibs/kparts/part.h #486340:486341
@@ -130,13 +130,9 @@
* \code
* if( factory() )
* {
- * QPtrList<KParts::Plugin> plugins = KParts::Plugin::pluginObjects( this );
- * QPtrListIterator<KParts::Plugin> it( plugins );
- * KParts::Plugin * plugin;
- * while( ( plugin = it.current() ) != 0 )
- * {
- * ++it;
- * factory()->addClient( plugin );
+ * QList<KParts::Plugin *> plugins = KParts::Plugin::pluginObjects( this );
+ * for(int i = 0; i != plugins.size(); ++i) {
+ * factory()->addClient( plugins[i] );
* }
* }
* \endcode
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic