forked from qt-creator/qt-creator
QmlJSDebugger: Merge back changes done to the files in qtdeclarative
Change-Id: I722b191035757c60ce103edf74517f5348a91955 Reviewed-on: http://codereview.qt.nokia.com/3945 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
@@ -41,7 +41,7 @@ class QDeclarativeDebugConnectionPrivate;
|
||||
class QMLJSDEBUGCLIENT_EXPORT QDeclarativeDebugConnection : public QIODevice
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Q_DISABLE_COPY(QDeclarativeDebugConnection)
|
||||
public:
|
||||
QDeclarativeDebugConnection(QObject * = 0);
|
||||
~QDeclarativeDebugConnection();
|
||||
@@ -55,13 +55,14 @@ public:
|
||||
void flush();
|
||||
bool isSequential() const;
|
||||
void close();
|
||||
bool waitForConnected(int msecs = 30000);
|
||||
|
||||
signals:
|
||||
void connected();
|
||||
void stateChanged(QAbstractSocket::SocketState socketState);
|
||||
void error(QAbstractSocket::SocketError socketError);
|
||||
|
||||
private:
|
||||
protected:
|
||||
qint64 readData(char *data, qint64 maxSize);
|
||||
qint64 writeData(const char *data, qint64 maxSize);
|
||||
|
||||
@@ -76,6 +77,7 @@ class QMLJSDEBUGCLIENT_EXPORT QDeclarativeDebugClient : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DECLARE_PRIVATE(QDeclarativeDebugClient)
|
||||
Q_DISABLE_COPY(QDeclarativeDebugClient)
|
||||
|
||||
public:
|
||||
enum Status { NotConnected, Unavailable, Enabled };
|
||||
|
||||
Reference in New Issue
Block a user