From b9082fda48bb026fc4e6148efeba9aabf608373a Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Fri, 10 Aug 2012 14:02:07 +0200 Subject: NotificationProviders UI --- harmaccuweather/harmaccuplugin.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'harmaccuweather/harmaccuplugin.cpp') diff --git a/harmaccuweather/harmaccuplugin.cpp b/harmaccuweather/harmaccuplugin.cpp index 7414187..ff7b6cf 100644 --- a/harmaccuweather/harmaccuplugin.cpp +++ b/harmaccuweather/harmaccuplugin.cpp @@ -19,6 +19,14 @@ QStringList HarmAccuPlugin::providers() return providers; } +NotificationPluginInterface::NotificationProviderInfo HarmAccuPlugin::describeProvider(const QString &driver) +{ + NotificationProviderInfo info; + if (driver != "harmaccu") return info; + info.name = "Accuweather"; + return info; +} + NotificationProvider* HarmAccuPlugin::getProvider(const QString& id, ConfigKey *settings, QObject *parent) { Q_UNUSED(settings); -- cgit v1.2.3