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).
This commit is contained in:
Kai Koehne
2011-04-04 15:03:31 +02:00
parent 02ea914426
commit 12a02c7534
8 changed files with 275 additions and 8 deletions

View File

@@ -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