aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmljsdebugclient/qdebugmessageclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/qmljsdebugclient/qdebugmessageclient.h')
-rw-r--r--src/libs/qmljsdebugclient/qdebugmessageclient.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/libs/qmljsdebugclient/qdebugmessageclient.h b/src/libs/qmljsdebugclient/qdebugmessageclient.h
index 032e3b2c508..36381392d3a 100644
--- a/src/libs/qmljsdebugclient/qdebugmessageclient.h
+++ b/src/libs/qmljsdebugclient/qdebugmessageclient.h
@@ -39,6 +39,13 @@
namespace QmlJsDebugClient {
class QDebugMessageClientPrivate;
+struct QDebugContextInfo
+{
+ int line;
+ QString file;
+ QString function;
+};
+
class QMLJSDEBUGCLIENT_EXPORT QDebugMessageClient : public QDeclarativeDebugClient
{
Q_OBJECT
@@ -53,7 +60,8 @@ protected:
signals:
void newStatus(QDeclarativeDebugClient::Status);
- void message(QtMsgType, const QString &);
+ void message(QtMsgType, const QString &,
+ const QmlJsDebugClient::QDebugContextInfo &);
private:
class QDebugMessageClientPrivate *d;