Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/plugins/folder/labelgenerator.cpp
Show All 23 Lines | |||||
24 | #include <KShell> | 24 | #include <KShell> | ||
25 | 25 | | |||
26 | #include "foldermodel.h" | 26 | #include "foldermodel.h" | ||
27 | 27 | | |||
28 | int LabelGenerator::s_instanceCount = 0; | 28 | int LabelGenerator::s_instanceCount = 0; | ||
29 | KFilePlacesModel *LabelGenerator::s_placesModel = nullptr; | 29 | KFilePlacesModel *LabelGenerator::s_placesModel = nullptr; | ||
30 | 30 | | |||
31 | LabelGenerator::LabelGenerator(QObject* parent) : QObject(parent), | 31 | LabelGenerator::LabelGenerator(QObject* parent) : QObject(parent), | ||
32 | m_rtl(false) | 32 | m_rtl(false), | ||
33 | m_labelMode(1) | ||||
33 | { | 34 | { | ||
34 | ++s_instanceCount; | 35 | ++s_instanceCount; | ||
35 | } | 36 | } | ||
36 | 37 | | |||
37 | LabelGenerator::~LabelGenerator() | 38 | LabelGenerator::~LabelGenerator() | ||
38 | { | 39 | { | ||
39 | --s_instanceCount; | 40 | --s_instanceCount; | ||
40 | if (!s_instanceCount) { | 41 | if (!s_instanceCount) { | ||
▲ Show 20 Lines • Show All 146 Lines • Show Last 20 Lines |