From kde-commits Thu Mar 31 22:24:04 2005 From: George Staikos Date: Thu, 31 Mar 2005 22:24:04 +0000 To: kde-commits Subject: kdeextragear-2/kst/kst Message-Id: <20050331222404.9C6E864F () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111231072631956 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) {