Diffstat (limited to 'library/backend/categories.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | library/backend/categories.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/library/backend/categories.cpp b/library/backend/categories.cpp index cce9f38..34ff6fe 100644 --- a/library/backend/categories.cpp +++ b/library/backend/categories.cpp | |||
@@ -908,24 +908,32 @@ void CheckedListView::setChecked( const QStringList &checked ) | |||
908 | 908 | ||
909 | /*! \fn Categories::~Categories() | 909 | /*! \fn Categories::~Categories() |
910 | 910 | ||
911 | Empty destructor. Call save() before destruction if there are changes | 911 | Empty destructor. Call save() before destruction if there are changes |
912 | that need to be saved. | 912 | that need to be saved. |
913 | */ | 913 | */ |
914 | 914 | ||
915 | /*! \fn CategoryGroup::clear() | 915 | /*! \fn CategoryGroup::clear() |
916 | \internal | 916 | \internal |
917 | */ | 917 | */ |
918 | 918 | ||
919 | /*! \fn const QMap<int, QString> &CategoryGroup::idMap() const | 919 | /*! \fn const QMap<int, QString> &CategoryGroup::idMap() const |
920 | 920 | ||
921 | Returns a const reference to the id to label QMap | 921 | Returns a const reference to the id to label QMap |
922 | */ | 922 | */ |
923 | 923 | ||
924 | /*! \fn CategoryGroup::CategoryGroup() | 924 | /*! \fn CategoryGroup::CategoryGroup() |
925 | \internal | 925 | \internal |
926 | */ | 926 | */ |
927 | 927 | ||
928 | /*! \fn CategoryGroup::CategoryGroup(const CategoryGroup &c) | 928 | /*! \fn CategoryGroup::CategoryGroup(const CategoryGroup &c) |
929 | \internal | 929 | \internal |
930 | */ | 930 | */ |
931 | 931 | ||
932 | |||
933 | /* ### FIXME properly merge */ | ||
934 | QStringList Categories::labels( const QString & app, const QArray<int> &catids ) const | ||
935 | { | ||
936 | QStringList strs = mGlobalCats.labels( catids ); | ||
937 | strs += mAppCats[app].labels( catids ); | ||
938 | return strs; | ||
939 | } | ||