QmlDebugger: Log activity of Observer in debugger log

This commit is contained in:
Kai Koehne
2010-12-16 17:26:25 +01:00
parent d6bc3a2822
commit 948ca6f2ac
5 changed files with 114 additions and 56 deletions

View File

@@ -92,14 +92,23 @@ signals:
void animationSpeedChanged(qreal slowdownFactor);
void designModeBehaviorChanged(bool inDesignMode);
void showAppOnTopChanged(bool showAppOnTop);
void reloaded(); // the server has reloaded the document
void reloaded(); // the server has reloadetd he document
void contextPathUpdated(const QStringList &path);
void logActivity(QString client, QString message);
protected:
virtual void statusChanged(Status);
virtual void messageReceived(const QByteArray &);
private:
enum LogDirection {
LogSend,
LogReceive
};
void log(LogDirection direction, const QString &str);
QList<int> m_currentDebugIds;
QDeclarativeDebugConnection *m_connection;
};