forked from qt-creator/qt-creator
Fixes: - ScriptManagerInterface --> ScriptManager
This commit is contained in:
@@ -183,7 +183,7 @@ namespace Core {
|
||||
namespace Internal {
|
||||
|
||||
ScriptManagerPrivate::ScriptManagerPrivate(QObject *parent, ICore *core) :
|
||||
ScriptManagerInterface(parent),
|
||||
ScriptManager(parent),
|
||||
m_core(core),
|
||||
m_initialized(false)
|
||||
{
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
**
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef SCRIPTMANAGERINTERFACE_H
|
||||
#define SCRIPTMANAGERINTERFACE_H
|
||||
#ifndef SCRIPTMANAGER_H
|
||||
#define SCRIPTMANAGER_H
|
||||
|
||||
#include <coreplugin/core_global.h>
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace Core {
|
||||
* Qt Creator's interfaces and allows for running scripts.
|
||||
* @{todo} Should it actually manage script files, too? */
|
||||
|
||||
class CORE_EXPORT ScriptManagerInterface : public QObject
|
||||
class CORE_EXPORT ScriptManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
@@ -60,8 +60,8 @@ public:
|
||||
};
|
||||
typedef QList<StackFrame> Stack;
|
||||
|
||||
ScriptManagerInterface(QObject *parent = 0) : QObject(parent) {}
|
||||
virtual ~ScriptManagerInterface() { }
|
||||
ScriptManager(QObject *parent = 0) : QObject(parent) {}
|
||||
virtual ~ScriptManager() { }
|
||||
|
||||
// Access the engine (for plugins to wrap additional interfaces).
|
||||
virtual QScriptEngine &scriptEngine() = 0;
|
||||
@@ -73,4 +73,4 @@ public:
|
||||
|
||||
} // namespace Core
|
||||
|
||||
#endif // SCRIPTMANAGERINTERFACE_H
|
||||
#endif // SCRIPTMANAGER_H
|
||||
@@ -34,7 +34,7 @@
|
||||
#ifndef SCRIPTMANAGER_P_H
|
||||
#define SCRIPTMANAGER_P_H
|
||||
|
||||
#include <coreplugin/scriptmanager/scriptmanagerinterface.h>
|
||||
#include <coreplugin/scriptmanager/scriptmanager.h>
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
#include <QtCore/QObject>
|
||||
@@ -44,7 +44,7 @@
|
||||
namespace Core {
|
||||
namespace Internal {
|
||||
|
||||
class ScriptManagerPrivate : public Core::ScriptManagerInterface
|
||||
class ScriptManagerPrivate : public Core::ScriptManager
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user