diff options
author | Arno <am@disconnect.de> | 2013-08-11 03:42:04 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-08-11 03:42:04 +0200 |
commit | fa226c66caf80f9f5041f9616d057309e8f958c0 (patch) | |
tree | df6c66d76c69358f95c60bd1079896b07b658183 /archivemodel.h | |
parent | 43fe74b668dd3927f01f2aad8c8c995d498007e1 (diff) | |
download | SheMov-fa226c66caf80f9f5041f9616d057309e8f958c0.tar.gz SheMov-fa226c66caf80f9f5041f9616d057309e8f958c0.tar.bz2 SheMov-fa226c66caf80f9f5041f9616d057309e8f958c0.zip |
Implement Favorites
Re-Implement mark as Favorites in new ArchiveView.
Also, don't block when the Collector is running again and we're trying
to update the view.
Diffstat (limited to 'archivemodel.h')
-rw-r--r-- | archivemodel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archivemodel.h b/archivemodel.h index 8323385..e4ed513 100644 --- a/archivemodel.h +++ b/archivemodel.h @@ -52,6 +52,7 @@ class ArchiveModel : public SmTreeModel { QStringList allSources() const; QStringList allReleaseGroups() const; bool setPartNo(int partId, int newPartId, const QString &subtitle); + bool setFavorite(int partId, bool favorite); signals: void needRefresh(); @@ -83,6 +84,7 @@ class ArchiveModel : public SmTreeModel { QList<ArchiveCollector*> mCollectors; QHash<int, QIcon> mNodeIcons; QMutex mCacheMx; + QMutex mRootAccessMx; int mOrder; }; |