QmlJSInspector: Removed context path related things

Apparently this part of the protocol was already not being used at all.
Now that the SubcomponentEditorTool will be removed it is no longer
relevant.

Change-Id: I5710fe815be233548e590e90410b85ed4fa3487c
Reviewed-on: http://codereview.qt.nokia.com/88
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Thorbjørn Lindeijer
2011-05-24 14:07:50 +02:00
committed by Kai Koehne
parent 0faf7ab922
commit 97ca81fc6d
4 changed files with 0 additions and 38 deletions

View File

@@ -145,15 +145,6 @@ void QmlJSObserverClient::messageReceived(const QByteArray &message)
emit selectedColorChanged(col);
break;
}
case ObserverProtocol::ContextPathUpdated: {
QStringList contextPath;
ds >> contextPath;
log(LogReceive, type, contextPath.join(", "));
emit contextPathUpdated(contextPath);
break;
}
default:
qWarning() << "Warning: Not handling message:" << type;
}
@@ -224,23 +215,6 @@ void QmlJSObserverClient::setObjectIdList(const QList<QDeclarativeDebugObjectRef
sendMessage(message);
}
void QmlJSObserverClient::setContextPathIndex(int contextPathIndex)
{
if (!m_connection || !m_connection->isConnected())
return;
QByteArray message;
QDataStream ds(&message, QIODevice::WriteOnly);
ObserverProtocol::Message cmd = ObserverProtocol::SetContextPathIdx;
ds << cmd
<< contextPathIndex;
log(LogSend, cmd, QString::number(contextPathIndex));
sendMessage(message);
}
void QmlJSObserverClient::clearComponentCache()
{
if (!m_connection || !m_connection->isConnected())