tools/shared/qtpropertybrowser/qtpropertybrowser.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
  1241                             QtProperty *, QtProperty *)),
  1241                             QtProperty *, QtProperty *)),
  1242                 q_ptr, SLOT(slotPropertyInserted(QtProperty *,
  1242                 q_ptr, SLOT(slotPropertyInserted(QtProperty *,
  1243                             QtProperty *, QtProperty *)));
  1243                             QtProperty *, QtProperty *)));
  1244         q_ptr->connect(manager, SIGNAL(propertyRemoved(QtProperty *,
  1244         q_ptr->connect(manager, SIGNAL(propertyRemoved(QtProperty *,
  1245                             QtProperty *)),
  1245                             QtProperty *)),
  1246                 q_ptr, SLOT(slotPropertyRemoved(QtProperty *, QtProperty *)));
  1246                 q_ptr, SLOT(slotPropertyRemoved(QtProperty*,QtProperty*)));
  1247         q_ptr->connect(manager, SIGNAL(propertyDestroyed(QtProperty *)),
  1247         q_ptr->connect(manager, SIGNAL(propertyDestroyed(QtProperty*)),
  1248                 q_ptr, SLOT(slotPropertyDestroyed(QtProperty *)));
  1248                 q_ptr, SLOT(slotPropertyDestroyed(QtProperty*)));
  1249         q_ptr->connect(manager, SIGNAL(propertyChanged(QtProperty *)),
  1249         q_ptr->connect(manager, SIGNAL(propertyChanged(QtProperty*)),
  1250                 q_ptr, SLOT(slotPropertyDataChanged(QtProperty *)));
  1250                 q_ptr, SLOT(slotPropertyDataChanged(QtProperty*)));
  1251     }
  1251     }
  1252     m_managerToProperties[manager].append(property);
  1252     m_managerToProperties[manager].append(property);
  1253     m_propertyToParents[property].append(parentProperty);
  1253     m_propertyToParents[property].append(parentProperty);
  1254 
  1254 
  1255     QList<QtProperty *> subList = property->subProperties();
  1255     QList<QtProperty *> subList = property->subProperties();
  1281                             QtProperty *, QtProperty *)),
  1281                             QtProperty *, QtProperty *)),
  1282                 q_ptr, SLOT(slotPropertyInserted(QtProperty *,
  1282                 q_ptr, SLOT(slotPropertyInserted(QtProperty *,
  1283                             QtProperty *, QtProperty *)));
  1283                             QtProperty *, QtProperty *)));
  1284         q_ptr->disconnect(manager, SIGNAL(propertyRemoved(QtProperty *,
  1284         q_ptr->disconnect(manager, SIGNAL(propertyRemoved(QtProperty *,
  1285                             QtProperty *)),
  1285                             QtProperty *)),
  1286                 q_ptr, SLOT(slotPropertyRemoved(QtProperty *, QtProperty *)));
  1286                 q_ptr, SLOT(slotPropertyRemoved(QtProperty*,QtProperty*)));
  1287         q_ptr->disconnect(manager, SIGNAL(propertyDestroyed(QtProperty *)),
  1287         q_ptr->disconnect(manager, SIGNAL(propertyDestroyed(QtProperty*)),
  1288                 q_ptr, SLOT(slotPropertyDestroyed(QtProperty *)));
  1288                 q_ptr, SLOT(slotPropertyDestroyed(QtProperty*)));
  1289         q_ptr->disconnect(manager, SIGNAL(propertyChanged(QtProperty *)),
  1289         q_ptr->disconnect(manager, SIGNAL(propertyChanged(QtProperty*)),
  1290                 q_ptr, SLOT(slotPropertyDataChanged(QtProperty *)));
  1290                 q_ptr, SLOT(slotPropertyDataChanged(QtProperty*)));
  1291 
  1291 
  1292         m_managerToProperties.remove(manager);
  1292         m_managerToProperties.remove(manager);
  1293     }
  1293     }
  1294 
  1294 
  1295     QList<QtProperty *> subList = property->subProperties();
  1295     QList<QtProperty *> subList = property->subProperties();