QmlJSDebugClient: Update library to latest changes in qt

Protocol / classes changed with commit fd9771c29d

Reviewed-by: Christiaan Janssen
This commit is contained in:
Kai Koehne
2010-09-27 12:45:56 +02:00
parent 9a49ad003a
commit 141ca58827
6 changed files with 242 additions and 129 deletions

View File

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