summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-18 13:55:05 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-18 13:55:05 (GMT)
commit2eee4f8f385901d47fccd0b1287f8af9964a8038 (patch)
tree699809d5ba1ecb55d9f0205db418ca20906adade
parentb96ba95992c3cbf68b8fbc70e24deae686082ef7 (diff)
Add renamecategories
-rw-r--r--src/loadcategoriesjob.cpp5
-rw-r--r--src/loadcategoriesjob.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/loadcategoriesjob.cpp b/src/loadcategoriesjob.cpp
index 87a7d92..c49c328 100644
--- a/src/loadcategoriesjob.cpp
+++ b/src/loadcategoriesjob.cpp
@@ -191,6 +191,11 @@ void LoadCategoriesJob::setCategories(const KdeLoggingCategory::List &categories
mCategories = categories;
}
+void LoadCategoriesJob::setRenamedCategories(const RenameCategory::List &renameCategories)
+{
+ mRenameCategories = renameCategories;
+}
+
LoggingCategory::List LoadCategoriesJob::customCategories() const
{
return mCustomCategories;
diff --git a/src/loadcategoriesjob.h b/src/loadcategoriesjob.h
index 4280a77..4315a20 100644
--- a/src/loadcategoriesjob.h
+++ b/src/loadcategoriesjob.h
@@ -23,6 +23,7 @@
#include "kdeloggingcategory.h"
#include "loggingcategory.h"
+#include "renamecategory.h"
class LoadCategoriesJob
{
@@ -30,6 +31,7 @@ public:
LoadCategoriesJob();
void start();
void setCategories(const KdeLoggingCategory::List &categories);
+ void setRenamedCategories(const RenameCategory::List &renameCategories);
LoggingCategory::List customCategories() const;
@@ -42,6 +44,7 @@ private:
KdeLoggingCategory::List mCategories;
LoggingCategory::List mCustomCategories;
LoggingCategory::List mQtKdeCategories;
+ RenameCategory::List mRenameCategories;
QString mFileName;
bool mFoundOverrideRule;
};