forked from qt-creator/qt-creator
debugger: merge attach to local and remote process dialogs
This also merges a larger part of the two code paths. Change-Id: I84a88c53ebc0073becac88ba04e63efd9a4a98b3 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com> Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -52,7 +52,6 @@ class DebuggerStartParameters;
|
||||
namespace Internal {
|
||||
|
||||
class AttachCoreDialogPrivate;
|
||||
class AttachExternalDialogPrivate;
|
||||
class AttachToQmlPortDialogPrivate;
|
||||
class ProcessListFilterModel;
|
||||
class StartExternalDialogPrivate;
|
||||
@@ -61,37 +60,6 @@ class StartRemoteDialogPrivate;
|
||||
class StartRemoteEngineDialogPrivate;
|
||||
class StartRemoteParameters;
|
||||
|
||||
class AttachExternalDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit AttachExternalDialog(QWidget *parent);
|
||||
~AttachExternalDialog();
|
||||
|
||||
qint64 attachPID() const;
|
||||
QString executable() const;
|
||||
|
||||
int profileIndex() const;
|
||||
void setProfileIndex(int);
|
||||
Core::Id profileId() const;
|
||||
|
||||
void accept();
|
||||
|
||||
private slots:
|
||||
void rebuildProcessList();
|
||||
void procSelected(const QModelIndex &index);
|
||||
void procClicked(const QModelIndex &index);
|
||||
void pidChanged(const QString &index);
|
||||
void setFilterString(const QString &filter);
|
||||
|
||||
private:
|
||||
inline QPushButton *okButton() const;
|
||||
inline QString attachPIDText() const;
|
||||
|
||||
AttachExternalDialogPrivate *d;
|
||||
};
|
||||
|
||||
class StartExternalDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user