[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Fri Apr 1 00:24:04 CEST 2005


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<T>::ConstIterator it = QValueList<T>::begin(); it != QValueList<T>::end(); ++it) {
+        rc << (*it)->tagName();
+      }
+      return rc;
+    }
+
     virtual typename QValueList<T>::Iterator findTag(const QString& x) {
       for (typename QValueList<T>::Iterator it = QValueList<T>::begin(); it != QValueList<T>::end(); ++it) {




More information about the Kst mailing list