Changeset View
Changeset View
Standalone View
Standalone View
src/kexiutils/KexiPluginMetaData.h
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Line(s) | 61 | protected: | |||
---|---|---|---|---|---|
62 | explicit KexiPluginMetaData(const QPluginLoader &loader); | 62 | explicit KexiPluginMetaData(const QPluginLoader &loader); | ||
63 | 63 | | |||
64 | /** | 64 | /** | ||
65 | * Sets a translated user-visible error message useful to explain loading-related | 65 | * Sets a translated user-visible error message useful to explain loading-related | ||
66 | * issues found with this plugin. Most likely to be called by a plugin manager. | 66 | * issues found with this plugin. Most likely to be called by a plugin manager. | ||
67 | */ | 67 | */ | ||
68 | void setErrorMessage(const QString& errorMessage); | 68 | void setErrorMessage(const QString& errorMessage); | ||
69 | 69 | | |||
70 | /** | | |||
71 | * @return root object for this plugin, useful to retrieve Kexi-specific fields using | | |||
72 | * readStringList(), readTranslatedValue() or readTranslatedString(). | | |||
73 | */ | | |||
74 | QJsonObject rootObject() const; | | |||
75 | | ||||
76 | private: | 70 | private: | ||
77 | Q_DISABLE_COPY(KexiPluginMetaData) | 71 | Q_DISABLE_COPY(KexiPluginMetaData) | ||
78 | class Private; | 72 | class Private; | ||
79 | Private * const d; | 73 | Private * const d; | ||
80 | }; | 74 | }; | ||
81 | 75 | | |||
82 | #endif | 76 | #endif |