Rework connections on the project pane for Qt4Projects.

Should fix a lot of corner cases, might introduce a few bugs.
Also rename functions/slots to be better named.

Generic Project Manager and CMake Project Manager are missing from this
patch.
This commit is contained in:
dt
2009-12-03 18:37:27 +01:00
parent 429a52742c
commit 1e46cb424e
27 changed files with 562 additions and 344 deletions

View File

@@ -53,8 +53,8 @@ namespace Qt4ProjectManager {
class Qt4Project;
namespace Internal {
class Qt4PriFileNode;
class Qt4ProFileNode;
class Qt4RunConfiguration : public ProjectExplorer::LocalApplicationRunConfiguration
{
@@ -109,9 +109,10 @@ signals:
void effectiveTargetInformationChanged();
private slots:
void setCommandLineArguments(const QString &argumentsString);
void proFileUpdate(Qt4ProjectManager::Internal::Qt4ProFileNode *pro);
void setArguments(const QString &argumentsString);
void setWorkingDirectory(const QString &workingDirectory);
void nameEdited(const QString&);
void setUserName(const QString&);
void setRunMode(RunMode runMode);
private:
@@ -152,11 +153,11 @@ protected:
void showEvent(QShowEvent *event);
void hideEvent(QHideEvent *event);
private slots:
void setWorkingDirectory();
void resetWorkingDirectory();
void setCommandLineArguments(const QString &arguments);
void workDirectoryEdited();
void workingDirectoryReseted();
void argumentsEdited(const QString &arguments);
void nameEdited(const QString &name);
void userChangesUpdated();
void userChangesEdited();
void workingDirectoryChanged(const QString &workingDirectory);
void commandLineArgumentsChanged(const QString &args);
@@ -169,7 +170,7 @@ private slots:
void termToggled(bool);
void usingDyldImageSuffixToggled(bool);
void usingDyldImageSuffixChanged(bool);
void baseEnvironmentComboBoxChanged(int index);
void baseEnvironmentSelected(int index);
private:
void updateSummary();