renamed publicatePlugin
This commit is contained in:
parent
95dd564456
commit
feb469b8d6
|
@ -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())
|
||||||
|
|
|
@ -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 );
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue