[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Fri Apr 1 00:26:37 CEST 2005
CVS commit by staikos:
here too
M +9 -1 kstobject.h 1.39
--- kdeextragear-2/kst/kst/kstobject.h #1.38:1.39
@@ -200,5 +200,13 @@ class KstObjectMap : public QMap<QString
virtual QStringList tagNames() {
QStringList rc;
- for (typename QMap<QString,T>::Iterator it = QMap<QString,T>::begin(); it != QMap<QString,T>::end(); ++it) {
+ for (typename QMap<QString,T>::ConstIterator it = QMap<QString,T>::begin(); it != QMap<QString,T>::end(); ++it) {
+ rc << it.data()->tagName();
+ }
+ return rc;
+ }
+
+ QStringList tagNames() const {
+ QStringList rc;
+ for (typename QMap<QString,T>::ConstIterator it = QMap<QString,T>::begin(); it != QMap<QString,T>::end(); ++it) {
rc << it.data()->tagName();
}
More information about the Kst
mailing list