forked from qt-creator/qt-creator
QmlJSDebugClient: Update library to latest changes in qt
Protocol / classes changed with commit fd9771c29d Reviewed-by: Christiaan Janssen
This commit is contained in:
@@ -55,6 +55,7 @@ class QDeclarativeDebugConnection : public QTcpSocket
|
||||
Q_DISABLE_COPY(QDeclarativeDebugConnection)
|
||||
public:
|
||||
QDeclarativeDebugConnection(QObject * = 0);
|
||||
~QDeclarativeDebugConnection();
|
||||
|
||||
bool isConnected() const;
|
||||
private:
|
||||
@@ -71,19 +72,19 @@ class QDeclarativeDebugClient : public QObject
|
||||
Q_DISABLE_COPY(QDeclarativeDebugClient)
|
||||
|
||||
public:
|
||||
enum Status { NotConnected, Unavailable, Enabled };
|
||||
|
||||
QDeclarativeDebugClient(const QString &, QDeclarativeDebugConnection *parent);
|
||||
~QDeclarativeDebugClient();
|
||||
|
||||
QString name() const;
|
||||
|
||||
bool isEnabled() const;
|
||||
void setEnabled(bool);
|
||||
|
||||
bool isConnected() const;
|
||||
Status status() const;
|
||||
|
||||
void sendMessage(const QByteArray &);
|
||||
|
||||
protected:
|
||||
virtual void statusChanged(Status);
|
||||
virtual void messageReceived(const QByteArray &);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user