[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-2/kst/kst
From:       George Staikos <staikos () kde ! org>
Date:       2005-03-31 22:24:04
Message-ID: 20050331222404.9C6E864F () office ! kde ! org
[Download RAW message or body]

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) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic