summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler/qmlprofilerattachdialog.h
blob: ac85df79185236f1cfdc2681a4f6c222811562f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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