Changeset View
Changeset View
Standalone View
Standalone View
kcmcategoryitem.cpp
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Line(s) | 59 | { | |||
---|---|---|---|---|---|
60 | return KCModuleInfo(); | 60 | return KCModuleInfo(); | ||
61 | } | 61 | } | ||
62 | 62 | | |||
63 | int KcmCategoryItem::weight() const | 63 | int KcmCategoryItem::weight() const | ||
64 | { | 64 | { | ||
65 | return (category().count() + 1000); | 65 | return (category().count() + 1000); | ||
66 | } | 66 | } | ||
67 | 67 | | |||
68 | QIcon KcmCategoryItem::icon() const | 68 | QString KcmCategoryItem::iconName() const | ||
69 | { | 69 | { | ||
70 | if(m_category.isEmpty()) | 70 | if(m_category.isEmpty()) | ||
71 | { | 71 | { | ||
72 | return QIcon::fromTheme(m_moduleInfo->icon()); | 72 | return m_moduleInfo->icon(); | ||
73 | } | 73 | } | ||
74 | return QIcon(); | 74 | return QString(); | ||
75 | } | 75 | } | ||
76 | 76 | | |||
77 | QString KcmCategoryItem::whatsThis() const | 77 | QString KcmCategoryItem::whatsThis() const | ||
78 | { | 78 | { | ||
79 | return QString(); | 79 | return QString(); | ||
80 | } | 80 | } | ||
81 | 81 | | |||
82 | QStringList KcmCategoryItem::keywords() const | 82 | QStringList KcmCategoryItem::keywords() const | ||
83 | { | 83 | { | ||
84 | return QStringList(); | 84 | return QStringList(); | ||
85 | } | 85 | } |