aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerdialogs.h
diff options
context:
space:
mode:
authorhjk <qthjk@ovi.com>2012-06-28 10:00:04 +0200
committerhjk <qthjk@ovi.com>2012-06-28 15:30:15 +0200
commitded2dd12b84e67712e2bc5e0c8c0f392fa2479a6 (patch)
tree60ff401e9ba83ca852b2a77dce104c3fdf2be4ae /src/plugins/debugger/debuggerdialogs.h
parentbb31b2572fe425b51464a707217d71efdd45d49c (diff)
debugger: adjust to profile changes
This replaces the debugger command, sysroot and target abi fields with a profile id. Change-Id: I831c42ff8624fcfa520c2f28f6f06d73191b2680 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/debugger/debuggerdialogs.h')
-rw-r--r--src/plugins/debugger/debuggerdialogs.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/plugins/debugger/debuggerdialogs.h b/src/plugins/debugger/debuggerdialogs.h
index 69b20832aa..1b9578bfb7 100644
--- a/src/plugins/debugger/debuggerdialogs.h
+++ b/src/plugins/debugger/debuggerdialogs.h
@@ -45,6 +45,7 @@ class QDialogButtonBox;
class QSettings;
QT_END_NAMESPACE
+namespace Core { class Id; }
namespace ProjectExplorer { class Profile; }
namespace Debugger {
@@ -57,13 +58,13 @@ class AttachCoreDialog;
class AttachExternalDialog;
class StartExternalDialog;
class StartRemoteDialog;
-class AttachToQmlPortDialog;
class StartRemoteEngineDialog;
} // namespace Ui
class ProcessListFilterModel;
class StartExternalParameters;
class StartRemoteParameters;
+class AttachToQmlPortDialogPrivate;
class AttachCoreDialog : public QDialog
{
@@ -81,7 +82,7 @@ public:
int profileIndex() const;
void setProfileIndex(int);
- ProjectExplorer::Profile *profile() const;
+ Core::Id profileId() const;
QString overrideStartScript() const;
void setOverrideStartScript(const QString &scriptName);
@@ -108,7 +109,7 @@ public:
int profileIndex() const;
void setProfileIndex(int);
- ProjectExplorer::Profile *profile() const;
+ Core::Id profileId() const;
void accept();
@@ -150,7 +151,7 @@ private:
QString executableFile() const;
void setExecutableFile(const QString &executable);
- ProjectExplorer::Profile *profile() const;
+ Core::Id profileId() const;
bool isValid() const;
Ui::StartExternalDialog *m_ui;
@@ -178,7 +179,7 @@ private:
void setRemoteArchitectures(const QStringList &list);
- ProjectExplorer::Profile *profile() const;
+ Core::Id profileId() const;
Ui::StartRemoteDialog *m_ui;
};
@@ -197,11 +198,11 @@ public:
int port() const;
void setPort(const int port);
- QString sysroot() const;
- void setSysroot(const QString &sysroot);
+ Core::Id profileId() const;
+ void setProfileId(const Core::Id &id);
private:
- Ui::AttachToQmlPortDialog *m_ui;
+ AttachToQmlPortDialogPrivate *d;
};
class StartRemoteCdbDialog : public QDialog