forked from qt-creator/qt-creator
Qt4PM: Function reordering, member initialization
Change-Id: I7091595610e59281468c2fc4c0495121a8ed7881 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
committed by
Daniel Teske
parent
b35b0dd5e2
commit
70bda7c3ba
@@ -106,6 +106,7 @@ static inline QString formWindowEditorContents(const QObject *editor)
|
|||||||
|
|
||||||
Qt4Manager::Qt4Manager(Qt4ProjectManagerPlugin *plugin)
|
Qt4Manager::Qt4Manager(Qt4ProjectManagerPlugin *plugin)
|
||||||
: m_plugin(plugin),
|
: m_plugin(plugin),
|
||||||
|
m_contextNode(0),
|
||||||
m_contextProject(0),
|
m_contextProject(0),
|
||||||
m_lastEditor(0),
|
m_lastEditor(0),
|
||||||
m_dirty(false)
|
m_dirty(false)
|
||||||
@@ -294,16 +295,16 @@ void Qt4Manager::setContextNode(ProjectExplorer::Node *node)
|
|||||||
m_contextNode = node;
|
m_contextNode = node;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Qt4Manager::setContextProject(ProjectExplorer::Project *project)
|
|
||||||
{
|
|
||||||
m_contextProject = project;
|
|
||||||
}
|
|
||||||
|
|
||||||
ProjectExplorer::Project *Qt4Manager::contextProject() const
|
ProjectExplorer::Project *Qt4Manager::contextProject() const
|
||||||
{
|
{
|
||||||
return m_contextProject;
|
return m_contextProject;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Qt4Manager::setContextProject(ProjectExplorer::Project *project)
|
||||||
|
{
|
||||||
|
m_contextProject = project;
|
||||||
|
}
|
||||||
|
|
||||||
void Qt4Manager::addLibrary()
|
void Qt4Manager::addLibrary()
|
||||||
{
|
{
|
||||||
Core::EditorManager *em = Core::EditorManager::instance();
|
Core::EditorManager *em = Core::EditorManager::instance();
|
||||||
|
|||||||
@@ -97,8 +97,8 @@ public:
|
|||||||
// Context information used in the slot implementations
|
// Context information used in the slot implementations
|
||||||
ProjectExplorer::Node *contextNode() const;
|
ProjectExplorer::Node *contextNode() const;
|
||||||
void setContextNode(ProjectExplorer::Node *node);
|
void setContextNode(ProjectExplorer::Node *node);
|
||||||
void setContextProject(ProjectExplorer::Project *project);
|
|
||||||
ProjectExplorer::Project *contextProject() const;
|
ProjectExplorer::Project *contextProject() const;
|
||||||
|
void setContextProject(ProjectExplorer::Project *project);
|
||||||
|
|
||||||
// Return the id string of a file
|
// Return the id string of a file
|
||||||
static QString fileTypeId(ProjectExplorer::FileType type);
|
static QString fileTypeId(ProjectExplorer::FileType type);
|
||||||
|
|||||||
Reference in New Issue
Block a user