Qt4projectManager: Refactor Qt4Target, split up in per target classes

Almost(*) all of the symbian and maemo specific code is now theoretically
moveable to a separate plugin. Thus making it possible to implement
new targets in a plugin.

(*) Noteable missing is the qtversion, which needs to be split up
per target too.

Also fixes
Task-Nr: QTCREATORBUG-2440

Reviewed-By: hunger
Reviewed-By: ck
This commit is contained in:
dt
2010-12-10 19:02:19 +01:00
parent 77bf0c17c5
commit 67cfb7e078
81 changed files with 2407 additions and 1013 deletions

View File

@@ -34,6 +34,7 @@
#ifndef PROJECTWINDOW_H
#define PROJECTWINDOW_H
#include <QtCore/QMap>
#include <QtGui/QScrollArea>
QT_BEGIN_NAMESPACE
@@ -81,7 +82,9 @@ public:
~ProjectWindow();
void aboutToShutdown();
void extensionsInitialized();
private slots:
void targetFactoriesChanged();
void showProperties(int index, int subIndex);
void restoreStatus();
void saveStatus();
@@ -89,15 +92,15 @@ private slots:
void deregisterProject(ProjectExplorer::Project*);
void startupProjectChanged(ProjectExplorer::Project *);
void refreshProject();
private:
bool useTargetPage(ProjectExplorer::Project *project);
void removeCurrentWidget();
DoubleTabWidget *m_tabWidget;
QStackedWidget *m_centralWidget;
QWidget *m_currentWidget;
QList<ProjectExplorer::Project *> m_tabIndexToProject;
QMap<ProjectExplorer::Project *, bool> m_usesTargetPage;
int m_previousTargetSubIndex;
};