Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QHash<Collection*, CollectionManager::CollectionStatus> hash = CollectionManager::instance()->allCollections();
- QHash<Collection*, CollectionManager::CollectionStatus>::const_iterator it = CollectionManager::instance()->allCollections().constBegin();
- while ( it != hash.constEnd() ) {
- Collection *coll = it.key();
- if( coll && coll->isWritable() && coll != collection )
- {
- debug() << "got writable collection";
- writableCollections.append( coll );
- }
- ++it;
- }
Add Comment
Please, Sign In to add comment