QmlInspectorPlugin: AbstractViewInspector
authorAurindam Jana <aurindam.jana@nokia.com>
Mon, 23 Apr 2012 15:00:31 +0000 (17:00 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 24 Apr 2012 07:24:43 +0000 (09:24 +0200)
Remove unneeded members.

Change-Id: I62334561ca53264124dbbc73d679d9b631c8a32d
Reviewed-by: Simjees Abraham <simjees.abraham@nokia.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
src/plugins/qmltooling/shared/abstractviewinspector.cpp
src/plugins/qmltooling/shared/abstractviewinspector.h
src/plugins/qmltooling/shared/qqmlinspectorprotocol.h

index 40125b9..0dd3012 100644 (file)
@@ -380,20 +380,6 @@ void AbstractViewInspector::handleMessage(const QByteArray &message)
                           QQmlDebugService::objectForId(newParent));
         break;
     }
-    case InspectorProtocol::ObjectIdList: {
-        int itemCount;
-        ds >> itemCount;
-        m_stringIdForObjectId.clear();
-        for (int i = 0; i < itemCount; ++i) {
-            int itemDebugId;
-            QString itemIdString;
-            ds >> itemDebugId
-               >> itemIdString;
-
-            m_stringIdForObjectId.insert(itemDebugId, itemIdString);
-        }
-        break;
-    }
     case InspectorProtocol::ClearComponentCache: {
         clearComponentCache();
         break;
index 17f9e26..bbd3fc8 100644 (file)
@@ -153,7 +153,6 @@ private:
     bool m_animationPaused;
     qreal m_slowDownFactor;
 
-    QHash<int, QString> m_stringIdForObjectId;
     QQmlInspectorService *m_debugService;
 };
 
index 8527bf6..1614e2e 100644 (file)
@@ -64,7 +64,6 @@ public:
         CurrentObjectsChanged  = 6,
         DestroyObject          = 7,
         MoveObject             = 8,
-        ObjectIdList           = 9,
         Reload                 = 10,
         Reloaded               = 11,
         SetAnimationSpeed      = 12,