Changeset View
Changeset View
Standalone View
Standalone View
src/core/loader_p.h
Show First 20 Lines • Show All 121 Lines • ▼ Show 20 Line(s) | 56 | public: | |||
---|---|---|---|---|---|
122 | Settings *settings() const; | 122 | Settings *settings() const; | ||
123 | Q_SIGNALS: | 123 | Q_SIGNALS: | ||
124 | /** | 124 | /** | ||
125 | * Signal is emitted whenever the Settings object | 125 | * Signal is emitted whenever the Settings object | ||
126 | * associated with this Loader changes. | 126 | * associated with this Loader changes. | ||
127 | */ | 127 | */ | ||
128 | void configurationChanged(); | 128 | void configurationChanged(); | ||
129 | 129 | | |||
130 | /** | ||||
131 | * Emitted when loading a dictionary fails, so that Ui parts can | ||||
132 | * display an appropriate error message informing the user about | ||||
133 | * the issue. | ||||
134 | * @since 5.55 | ||||
135 | */ | ||||
136 | void loadingDictionaryFailed(const QString &lang) const; | ||||
137 | | ||||
130 | protected: | 138 | protected: | ||
131 | friend class Settings; | 139 | friend class Settings; | ||
132 | void changed(); | 140 | void changed(); | ||
133 | private: | 141 | private: | ||
134 | void loadPlugins(); | 142 | void loadPlugins(); | ||
135 | void loadPlugin(const QString &pluginPath); | 143 | void loadPlugin(const QString &pluginPath); | ||
136 | private: | 144 | private: | ||
137 | LoaderPrivate *const d; | 145 | LoaderPrivate *const d; | ||
138 | }; | 146 | }; | ||
139 | } | 147 | } | ||
140 | 148 | | |||
141 | #endif // SONNET_LOADER_P_H | 149 | #endif // SONNET_LOADER_P_H |