From 313fa28dc5e72d738faec49ff14fa5aed4a7fcd4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:37:05 -0600 Subject: Rename additional global TQt functions --- lib/widgets/propeditor/propertylist.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'lib/widgets/propeditor/propertylist.cpp') diff --git a/lib/widgets/propeditor/propertylist.cpp b/lib/widgets/propeditor/propertylist.cpp index b831e6d2..a5b43a3f 100644 --- a/lib/widgets/propeditor/propertylist.cpp +++ b/lib/widgets/propeditor/propertylist.cpp @@ -109,7 +109,7 @@ void PropertyList::removeProperty(Property *property) delete property; if (mp->list.count() == 0) { -// qWarning("rp: removing mp for %s itself", pname.ascii()); +// tqWarning("rp: removing mp for %s itself", pname.ascii()); m_list.remove(pname); delete mp; } @@ -135,7 +135,7 @@ void PropertyList::removeProperty(const TQString &name) } if (m_list[name]->list.count() == 0) { -// qWarning("rp2: removing mp for %s itself", name.ascii()); +// tqWarning("rp2: removing mp for %s itself", name.ascii()); delete m_list[name]; m_list.remove(name); } @@ -194,15 +194,15 @@ void PropertyList::addToGroup(const TQString &group, MultiProperty *property) void PropertyList::removeFromGroup(MultiProperty *property) { TQString group = m_groupOfProperty[property]; -// qWarning("removeFromGroup group=%s", group.ascii()); +// tqWarning("removeFromGroup group=%s", group.ascii()); for(TQValueList > >::iterator it = m_propertiesOfGroup.begin(); it != m_propertiesOfGroup.end(); ++it) { -// qWarning("removeFromGroup checking %s", (*it).first.ascii()); +// tqWarning("removeFromGroup checking %s", (*it).first.ascii()); if ((*it).first == group) { -// qWarning("removeFromGroup removing %s", property->name().ascii()); +// tqWarning("removeFromGroup removing %s", property->name().ascii()); (*it).second.remove(property->name()); break; } @@ -305,26 +305,26 @@ PropertyBuffer::PropertyBuffer( ) void PropertyBuffer::intersect(const PropertyList *list) { - qWarning("PropertyBuffer::intersect"); + tqWarning("PropertyBuffer::intersect"); for (TQMap::iterator it = m_list.begin(); it != m_list.end(); ++it) { -// qWarning("intersect:: for mp = %s", it.data()->name().ascii()); +// tqWarning("intersect:: for mp = %s", it.data()->name().ascii()); if (list->m_list.contains(it.key())) { -/* qWarning("intersect:: list contains %s", it.key().ascii()); +/* tqWarning("intersect:: list contains %s", it.key().ascii()); if ( (*(it.data()) == *(list->m_list[it.key()]))) - qWarning("intersect:: equal properties"); + tqWarning("intersect:: equal properties"); else - qWarning("intersect:: not equal properties");*/ + tqWarning("intersect:: not equal properties");*/ if ( ((*it.data()) == *(list->m_list[it.key()])) && (list->m_groupOfProperty[list->m_list[it.key()]] == m_groupOfProperty[it.data()]) ) { -// qWarning("intersect:: equal properties, adding"); +// tqWarning("intersect:: equal properties, adding"); it.data()->addProperty(list->m_list[it.key()]); continue; } } -// qWarning("intersect:: removing %s from intersection", it.key().ascii()); +// tqWarning("intersect:: removing %s from intersection", it.key().ascii()); removeProperty(it.key()); } connect(list, TQT_SIGNAL(propertyValueChanged(Property*)), this, TQT_SLOT(intersectedValueChanged(Property*))); @@ -332,7 +332,7 @@ void PropertyBuffer::intersect(const PropertyList *list) void PropertyBuffer::intersectedValueChanged(Property *property) { -// qWarning("PropertyBuffer::intersectedValueChanged"); +// tqWarning("PropertyBuffer::intersectedValueChanged"); TQString propertyName = property->name(); if (!contains(propertyName)) return; -- cgit v1.2.1