Commit 70bda7c3 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Daniel Teske
Browse files

Qt4PM: Function reordering, member initialization



Change-Id: I7091595610e59281468c2fc4c0495121a8ed7881
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent b35b0dd5
......@@ -106,6 +106,7 @@ static inline QString formWindowEditorContents(const QObject *editor)
Qt4Manager::Qt4Manager(Qt4ProjectManagerPlugin *plugin)
: m_plugin(plugin),
m_contextNode(0),
m_contextProject(0),
m_lastEditor(0),
m_dirty(false)
......@@ -294,14 +295,14 @@ void Qt4Manager::setContextNode(ProjectExplorer::Node *node)
m_contextNode = node;
}
void Qt4Manager::setContextProject(ProjectExplorer::Project *project)
ProjectExplorer::Project *Qt4Manager::contextProject() const
{
m_contextProject = project;
return m_contextProject;
}
ProjectExplorer::Project *Qt4Manager::contextProject() const
void Qt4Manager::setContextProject(ProjectExplorer::Project *project)
{
return m_contextProject;
m_contextProject = project;
}
void Qt4Manager::addLibrary()
......
......@@ -97,8 +97,8 @@ public:
// Context information used in the slot implementations
ProjectExplorer::Node *contextNode() const;
void setContextNode(ProjectExplorer::Node *node);
void setContextProject(ProjectExplorer::Project *project);
ProjectExplorer::Project *contextProject() const;
void setContextProject(ProjectExplorer::Project *project);
// Return the id string of a file
static QString fileTypeId(ProjectExplorer::FileType type);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment