Why did I make these public in the first place?

--HG--
branch : gsoc2014-dfighter
This commit is contained in:
dfighter1985 2014-06-18 02:53:39 +02:00
parent d64b499284
commit 0a26a5a1c6

View file

@ -51,10 +51,9 @@ public:
virtual QList<IPluginSpec *> plugins() const; virtual QList<IPluginSpec *> plugins() const;
QList<PluginSpec *> loadQueue(); QList<PluginSpec *> loadQueue();
bool loadPluginSpec( const QString &plugin );
bool loadPlugin( const QString &plugin ); bool loadPlugin( const QString &plugin );
bool unloadPlugin( ExtensionSystem::IPluginSpec *plugin ); bool unloadPlugin( ExtensionSystem::IPluginSpec *plugin );
void removePlugin( ExtensionSystem::IPluginSpec *plugin );
// Settings // Settings
virtual void setSettings(QSettings *settings); virtual void setSettings(QSettings *settings);
@ -63,6 +62,8 @@ public:
void writeSettings(); void writeSettings();
private: private:
bool loadPluginSpec( const QString &plugin );
void removePlugin( ExtensionSystem::IPluginSpec *plugin );
void setPluginState(PluginSpec *spec, int destState); void setPluginState(PluginSpec *spec, int destState);
void readPluginPaths(); void readPluginPaths();
bool loadQueue(PluginSpec *spec, QList<PluginSpec *> &queue, QList<PluginSpec *> &circularityCheckQueue); bool loadQueue(PluginSpec *spec, QList<PluginSpec *> &queue, QList<PluginSpec *> &circularityCheckQueue);