diff options
author | hjk <qthjk@ovi.com> | 2012-06-26 15:25:49 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-06-26 15:36:27 +0200 |
commit | 6a6c5e5af53288a91657b4d040d9bb8a4aa70d26 (patch) | |
tree | bcf41ae30b9946ac4fe611cd0c6abc1a2da1a29c /src/plugins/debugger/debuggerdialogs.h | |
parent | b7d926c38973cba82398d29807f8f8dc1f2831c9 (diff) |
debugger: port 'Attach to Core' over to new Profile architecture
Change-Id: I89e743314025fe715982b4c43849ce128e014f55
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/debuggerdialogs.h')
-rw-r--r-- | src/plugins/debugger/debuggerdialogs.h | 39 |
1 files changed, 15 insertions, 24 deletions
diff --git a/src/plugins/debugger/debuggerdialogs.h b/src/plugins/debugger/debuggerdialogs.h index 1243c685b4..69b20832aa 100644 --- a/src/plugins/debugger/debuggerdialogs.h +++ b/src/plugins/debugger/debuggerdialogs.h @@ -33,10 +33,9 @@ #ifndef DEBUGGER_DIALOGS_H #define DEBUGGER_DIALOGS_H +#include <QDialog> #include <QHash> #include <QStringList> -#include <QDialog> -#include <QVBoxLayout> QT_BEGIN_NAMESPACE class QModelIndex; @@ -46,7 +45,7 @@ class QDialogButtonBox; class QSettings; QT_END_NAMESPACE -namespace ProjectExplorer { class Abi; } +namespace ProjectExplorer { class Profile; } namespace Debugger { class DebuggerStartParameters; @@ -80,13 +79,9 @@ public: QString executableFile() const; QString coreFile() const; - int abiIndex() const; - void setAbiIndex(int); - ProjectExplorer::Abi abi() const; - QString debuggerCommand(); - - QString sysroot() const; - void setSysroot(const QString &sysroot); + int profileIndex() const; + void setProfileIndex(int); + ProjectExplorer::Profile *profile() const; QString overrideStartScript() const; void setOverrideStartScript(const QString &scriptName); @@ -111,12 +106,11 @@ public: qint64 attachPID() const; QString executable() const; - int abiIndex() const; - void setAbiIndex(int); - ProjectExplorer::Abi abi() const; - QString debuggerCommand(); + int profileIndex() const; + void setProfileIndex(int); + ProjectExplorer::Profile *profile() const; - virtual void accept(); + void accept(); private slots: void rebuildProcessList(); @@ -156,9 +150,7 @@ private: QString executableFile() const; void setExecutableFile(const QString &executable); - ProjectExplorer::Abi abi() const; - QString debuggerCommand(); - + ProjectExplorer::Profile *profile() const; bool isValid() const; Ui::StartExternalDialog *m_ui; @@ -186,8 +178,7 @@ private: void setRemoteArchitectures(const QStringList &list); - ProjectExplorer::Abi abi() const; - QString debuggerCommand() const; + ProjectExplorer::Profile *profile() const; Ui::StartRemoteDialog *m_ui; }; @@ -224,12 +215,12 @@ public: QString connection() const; void setConnection(const QString &); - virtual void accept(); - private slots: void textChanged(const QString &); private: + void accept(); + QPushButton *m_okButton; QLineEdit *m_lineEdit; }; @@ -243,12 +234,12 @@ public: void setAddress(quint64 a); quint64 address() const; - virtual void accept(); - private slots: void textChanged(); private: + void accept(); + void setOkButtonEnabled(bool v); bool isOkButtonEnabled() const; |