[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/collectionscanner
From:       Mark Kretschmann <markey () web ! de>
Date:       2006-09-01 17:04:19
Message-ID: 1157130259.066765.13677.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 579789 by markey:

No need for this macro here, it's already defined in amarok.h.


 M  +0 -11     collectionscanner.cpp  


--- trunk/extragear/multimedia/amarok/src/collectionscanner/collectionscanner.cpp #579788:579789
@@ -45,17 +45,6 @@
 #include <klocale.h>
 
 
-/**
- * Convenience macro for const-iterating. Use like this:
- *
- *     BundleList bundles;
- *     foreachType( BundleList, bundles )
- *         debug() << *it.url() << endl;
- */
-#define foreachType( Type, x ) \
-    for( Type::ConstIterator it = x.begin(), end = x.end(); it != end; ++it )
-
-
 CollectionScanner::CollectionScanner( const QStringList& folders,
                                       bool recursive,
                                       bool incremental,
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic