86 */ |
87 */ |
87 CaSoftwareRegistryPrivate::DetailMap CaSoftwareRegistryPrivate::entryDetails( |
88 CaSoftwareRegistryPrivate::DetailMap CaSoftwareRegistryPrivate::entryDetails( |
88 int componentId) const |
89 int componentId) const |
89 { |
90 { |
90 CaSoftwareRegistry::DetailMap detailMap; |
91 CaSoftwareRegistry::DetailMap detailMap; |
91 |
92 |
92 if (componentId >=1) { |
93 if (componentId >=1) { |
93 detailMap[CaSoftwareRegistry::componentNameKey()] = "no data"; |
94 detailMap[CaSoftwareRegistry::componentNameKey()] = "no data"; |
94 |
95 detailMap[CaSoftwareRegistry::componentVersionKey()] = "no data"; |
95 detailMap[CaSoftwareRegistry::componentVersionKey()] = "no data"; |
96 detailMap[CaSoftwareRegistry::componentVendorKey()] = "no data"; |
96 |
97 detailMap[CaSoftwareRegistry::componentProtectionDomainKey()] = "no data"; |
97 detailMap[CaSoftwareRegistry::componentVendorKey()] = "no data"; |
98 detailMap[CaSoftwareRegistry::componentDriveInfoKey()] = "no data"; |
98 |
99 detailMap[CaSoftwareRegistry::componentSizeKey()] = "no data"; |
99 detailMap[CaSoftwareRegistry::componentDriveInfoKey()] = "no data"; |
100 detailMap[CaSoftwareRegistry::componentTypeKey()] = "no data"; |
100 |
101 detailMap[CaSoftwareRegistry::componentDescriptionKey()] = "no data"; |
101 detailMap[CaSoftwareRegistry::componentSizeKey()] = "no data"; |
|
102 |
|
103 detailMap[CaSoftwareRegistry::componentTypeKey()] = "no data"; |
|
104 } |
102 } |
105 return detailMap; |
103 return detailMap; |
106 } |
104 } |
107 |
105 |
|
106 /*! |
|
107 \param entry Software registry entry providing details. |
|
108 \return Map with details for the component represented by \entry. |
|
109 */ |
|
110 QList<CaSoftwareRegistryPrivate::DetailMap> |
|
111 CaSoftwareRegistryPrivate::retrieveLogEntries() const |
|
112 { |
|
113 QList<CaSoftwareRegistryPrivate::DetailMap> logList; |
|
114 DetailMap logMap; |
|
115 logMap[CaSoftwareRegistry::componentNameKey()] = "no data"; |
|
116 logMap[CaSoftwareRegistry::componentVersionKey()] = "no data"; |
|
117 logMap[CaSoftwareRegistry::componentTimeKey()] = "no data"; |
|
118 logMap[CaSoftwareRegistry::componentOperationTypeKey()] = "no data"; |
|
119 logList.append(logMap); |
|
120 return logList; |
|
121 } |
|
122 |
|
123 /*! |
|
124 Creating uninstall notifier |
|
125 \return CaUninstallNotifier instance |
|
126 */ |
|
127 CaUninstallNotifier *CaSoftwareRegistryPrivate::createUninstallNotifier() const |
|
128 { |
|
129 return CaUninstallNotifier::notifier(); |
|
130 } |