Changeset View
Changeset View
Standalone View
Standalone View
src/declarativeimports/calendar/eventpluginsmanager.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 40 | public: | |||
---|---|---|---|---|---|
47 | // This is a helper function to set which plugins | 47 | // This is a helper function to set which plugins | ||
48 | // are enabled without needing to go through setEnabledPlugins | 48 | // are enabled without needing to go through setEnabledPlugins | ||
49 | // which also loads the plugins; from the Applet config | 49 | // which also loads the plugins; from the Applet config | ||
50 | // the plugins are not required to be actually loaded | 50 | // the plugins are not required to be actually loaded | ||
51 | Q_INVOKABLE void populateEnabledPluginsList(const QStringList &pluginsList); | 51 | Q_INVOKABLE void populateEnabledPluginsList(const QStringList &pluginsList); | ||
52 | 52 | | |||
53 | void setEnabledPlugins(QStringList &pluginsList); | 53 | void setEnabledPlugins(QStringList &pluginsList); | ||
54 | QStringList enabledPlugins() const; | 54 | QStringList enabledPlugins() const; | ||
55 | 55 | QList<CalendarEvents::CalendarEventsPlugin*> enabledPluginsInstances() const; | |||
56 | Q_SIGNALS: | 56 | Q_SIGNALS: | ||
57 | void pluginsChanged(); | 57 | void pluginsChanged(); | ||
58 | 58 | | |||
59 | // These three signals below are used for relaying the | 59 | // These three signals below are used for relaying the | ||
60 | // plugin signals so that the EventPluginsManager don't | 60 | // plugin signals so that the EventPluginsManager don't | ||
61 | // have to worry about connecting to newly loaded plugins | 61 | // have to worry about connecting to newly loaded plugins | ||
62 | void dataReady(const QMultiHash<QDate, CalendarEvents::EventData> &data); | 62 | void dataReady(const QMultiHash<QDate, CalendarEvents::EventData> &data); | ||
63 | void eventModified(const CalendarEvents::EventData &modifiedEvent); | 63 | void eventModified(const CalendarEvents::EventData &modifiedEvent); | ||
Show All 20 Lines |