diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2011-04-04 15:03:31 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2011-04-04 15:59:31 +0200 |
commit | 12a02c75341745777487574775b299193af6c2d7 (patch) | |
tree | 0f2a0a83b8f0fca854b86de64c3e77603c2c7b4a /src/plugins/qmlprofiler/qmlprofilerattachdialog.h | |
parent | 02ea91442678362ba2edae5662c87dad7f46dab6 (diff) | |
download | qt-creator-12a02c75341745777487574775b299193af6c2d7.tar.gz |
QmlProfiler: Add attach/detach menu entry
This allows one to also profile apps on device (as long as there
is a working TCP/IP connection).
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerattachdialog.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerattachdialog.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerattachdialog.h b/src/plugins/qmlprofiler/qmlprofilerattachdialog.h new file mode 100644 index 0000000000..ac85df7918 --- /dev/null +++ b/src/plugins/qmlprofiler/qmlprofilerattachdialog.h @@ -0,0 +1,34 @@ +#ifndef QMLPROFILERATTACHDIALOG_H +#define QMLPROFILERATTACHDIALOG_H + +#include <QDialog> + +namespace QmlProfiler { +namespace Internal { + +namespace Ui { + class QmlProfilerAttachDialog; +} + +class QmlProfilerAttachDialog : public QDialog +{ + Q_OBJECT + +public: + explicit QmlProfilerAttachDialog(QWidget *parent = 0); + ~QmlProfilerAttachDialog(); + + QString address() const; + uint port() const; + + void setAddress(const QString &address); + void setPort(uint port); + +private: + Ui::QmlProfilerAttachDialog *ui; +}; + +} // namespace Internal +} // namespace QmlProfiler + +#endif // QMLPROFILERATTACHDIALOG_H |