forked from qt-creator/qt-creator
QmlProfiling: Attach to QML application
Redo the Attach dialog to use Kits. This is in sync with the Valgrind Attach dialog. Change-Id: Iaf0c8bc2c5a912b6a93ed21b9757a074a60041c0 Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
This commit is contained in:
@@ -32,13 +32,13 @@
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
namespace Core { class Id; }
|
||||
namespace ProjectExplorer { class Kit; }
|
||||
|
||||
namespace QmlProfiler {
|
||||
namespace Internal {
|
||||
|
||||
namespace Ui {
|
||||
class QmlProfilerAttachDialog;
|
||||
}
|
||||
|
||||
class QmlProfilerAttachDialogPrivate;
|
||||
class QmlProfilerAttachDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -47,16 +47,14 @@ public:
|
||||
explicit QmlProfilerAttachDialog(QWidget *parent = 0);
|
||||
~QmlProfilerAttachDialog();
|
||||
|
||||
QString address() const;
|
||||
uint port() const;
|
||||
QString sysroot() const;
|
||||
int port() const;
|
||||
void setPort(const int port);
|
||||
|
||||
void setAddress(const QString &address);
|
||||
void setPort(uint port);
|
||||
void setSysroot(const QString &sysroot);
|
||||
ProjectExplorer::Kit *kit() const;
|
||||
void setKitId(const Core::Id &id);
|
||||
|
||||
private:
|
||||
Ui::QmlProfilerAttachDialog *ui;
|
||||
QmlProfilerAttachDialogPrivate *d;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user