void AlbumSelectTreeView::slotNewAlbum() { PAlbum* const palbum = currentAlbum(); if (palbum) { PAlbum* const createdAlbum = d->albumModificationHelper->slotAlbumNew(palbum); if (createdAlbum) { setCurrentAlbums(QList<Album*>() << createdAlbum, false); } } }
QList<KIPI::ImageCollection> KSGKipiInterface::allAlbums() { return QList<KIPI::ImageCollection>({ currentAlbum() }); }
KIPI::ImageCollection KSGKipiInterface::currentSelection() { return currentAlbum(); }