Commit 9eeed156 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Drop unused function

parent 1856b09d
Pipeline #75923 passed with stage
in 13 minutes and 9 seconds
...@@ -71,19 +71,6 @@ EventViews::CalendarDecoration::Decoration *KOCore::loadCalendarDecoration(const ...@@ -71,19 +71,6 @@ EventViews::CalendarDecoration::Decoration *KOCore::loadCalendarDecoration(const
return pluginFactory->createPluginFactory(); return pluginFactory->createPluginFactory();
} }
EventViews::CalendarDecoration::Decoration *KOCore::loadCalendarDecoration(const QString &name)
{
const KService::List list = availableCalendarDecorations();
KService::List::ConstIterator it;
KService::List::ConstIterator end(list.constEnd());
for (it = list.constBegin(); it != end; ++it) {
if ((*it)->desktopEntryName() == name) {
return loadCalendarDecoration(*it);
}
}
return nullptr;
}
void KOCore::addXMLGUIClient(QWidget *wdg, KXMLGUIClient *guiclient) void KOCore::addXMLGUIClient(QWidget *wdg, KXMLGUIClient *guiclient)
{ {
mXMLGUIClients.insert(wdg, guiclient); mXMLGUIClients.insert(wdg, guiclient);
......
...@@ -31,7 +31,6 @@ public: ...@@ -31,7 +31,6 @@ public:
Q_REQUIRED_RESULT KService::List availableCalendarDecorations(); Q_REQUIRED_RESULT KService::List availableCalendarDecorations();
EventViews::CalendarDecoration::Decoration *loadCalendarDecoration(const KService::Ptr &service); EventViews::CalendarDecoration::Decoration *loadCalendarDecoration(const KService::Ptr &service);
EventViews::CalendarDecoration::Decoration *loadCalendarDecoration(const QString &);
EventViews::CalendarDecoration::Decoration::List loadCalendarDecorations(); EventViews::CalendarDecoration::Decoration::List loadCalendarDecorations();
void addXMLGUIClient(QWidget *, KXMLGUIClient *guiclient); void addXMLGUIClient(QWidget *, KXMLGUIClient *guiclient);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment