renamed publicatePlugin

This commit is contained in:
Patrick von Reth 2012-02-07 23:22:52 +01:00
parent 95dd564456
commit feb469b8d6
3 changed files with 3 additions and 3 deletions

View File

@ -162,7 +162,7 @@ void SnoreCore::setPluginDir(const QString &path){
} }
} }
void SnoreCore::publicatePlugin ( PluginContainer::PluginTypes types ) void SnoreCore::loadPlugins ( PluginContainer::PluginTypes types )
{ {
qDebug()<<"PluginInfo"<<SnoreCore::pluginCache().keys(); qDebug()<<"PluginInfo"<<SnoreCore::pluginCache().keys();
foreach ( PluginContainer *info, SnoreCore::pluginCache().values()) foreach ( PluginContainer *info, SnoreCore::pluginCache().values())

View File

@ -41,7 +41,7 @@ public:
public: public:
SnoreCore (QSystemTrayIcon *trayIcon=0 ); SnoreCore (QSystemTrayIcon *trayIcon=0 );
void publicatePlugin ( PluginContainer::PluginTypes types ); void loadPlugins ( PluginContainer::PluginTypes types );
uint broadcastNotification ( Notification notification ); uint broadcastNotification ( Notification notification );

View File

@ -36,7 +36,7 @@ SnoreNotify::SnoreNotify():
{ {
m_trayIcon = new TrayIcon(); m_trayIcon = new TrayIcon();
m_snore = new SnoreCore(m_trayIcon->trayIcon()); m_snore = new SnoreCore(m_trayIcon->trayIcon());
m_snore->publicatePlugin(PluginContainer::ALL); m_snore->loadPlugins(PluginContainer::ALL);
load(); load();
m_trayIcon->initConextMenu(m_snore); m_trayIcon->initConextMenu(m_snore);