[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Fri Jun 13 00:31:15 CEST 2003


CVS commit by staikos: 

scatter some typenames throughout to make gcc3 happy


  M +7 -7      kstobject.h   1.5


--- kdeextragear-2/kst/kst/kstobject.h  #1.4:1.5
@@ -54,6 +54,6 @@ class KstObjectList : public QValueList<
     virtual ~KstObjectList() {}
 
-    virtual QValueList<T>::Iterator findTag(const QString& x) {
-      for (QValueList<T>::Iterator it = begin(); it != end(); ++it) {
+    virtual typename QValueList<T>::Iterator findTag(const QString& x) {
+      for (typename QValueList<T>::Iterator it = begin(); it != end(); ++it) {
         if (*(*it) == x) {
           return it;
@@ -63,6 +63,6 @@ class KstObjectList : public QValueList<
     }
 
-    virtual QValueList<T>::ConstIterator findTag(const QString& x) const {
-      for (QValueList<T>::ConstIterator it = begin(); it != end(); ++it) {
+    virtual typename QValueList<T>::ConstIterator findTag(const QString& x) const {
+      for (typename QValueList<T>::ConstIterator it = begin(); it != end(); ++it) {
         if (*(*it) == x) {
           return it;
@@ -74,5 +74,5 @@ class KstObjectList : public QValueList<
     virtual int findIndexTag(const QString& x) const {
       int i = 0;
-      for (QValueList<T>::ConstIterator it = begin(); it != end(); ++it) {
+      for (typename QValueList<T>::ConstIterator it = begin(); it != end(); ++it) {
         if (*(*it) == x) {
           return i;
@@ -83,6 +83,6 @@ class KstObjectList : public QValueList<
     }
 
-    virtual QValueList<T>::iterator removeTag(const QString& x) {
-      QValueList<T>::iterator it = findTag(x);
+    virtual typename QValueList<T>::iterator removeTag(const QString& x) {
+      typename QValueList<T>::iterator it = findTag(x);
       if (it != end()) {
         return QValueList<T>::remove(it);




More information about the Kst mailing list