CVS commit by staikos: add a const alternative, non-virtual. We're stuck with both until Kst2 :( M +8 -0 kstobject.h 1.38 --- kdeextragear-2/kst/kst/kstobject.h #1.37:1.38 @@ -101,4 +101,12 @@ class KstObjectList : public QValueList< } + QStringList tagNames() const { + QStringList rc; + for (typename QValueList::ConstIterator it = QValueList::begin(); it != QValueList::end(); ++it) { + rc << (*it)->tagName(); + } + return rc; + } + virtual typename QValueList::Iterator findTag(const QString& x) { for (typename QValueList::Iterator it = QValueList::begin(); it != QValueList::end(); ++it) {