]> Git trees. - libqmvoc.git/commitdiff
Warnings-- (from http://ktown.kde.org/~dirk/dashboard/4.0/i386/kdeedu.html). More... upstream/kde-kconfiggroup_port
authorPeter Hedlund <peter@peterandlinda.com>
Fri, 9 Feb 2007 17:27:15 +0000 (17:27 +0000)
committerPeter Hedlund <peter@peterandlinda.com>
Fri, 9 Feb 2007 17:27:15 +0000 (17:27 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=631983

kdeeducore/keduvockvtmlreader.cpp

index 17e277d837ac1121d284334cc80db0b59f5c52ad..c2c02940dc5d2e875d0c2ce5f403b46a1abdb65f 100644 (file)
@@ -1042,7 +1042,7 @@ bool KEduVocKvtmlReader::readExpression(QDomElement &domElementParent)
 
   QDomElement domElementExpressionChild = domElementParent.firstChild().toElement();
 
-  unsigned int count = 0;
+  int count = 0;
   org_found = false;
 
   if (domElementExpressionChild.tagName() != KV_ORG)
@@ -1095,7 +1095,7 @@ bool KEduVocKvtmlReader::readExpression(QDomElement &domElementParent)
       q_trans = lang;
   }
 
-  if (m_doc->m_identifiers.size() == 0)
+  if (m_doc->m_identifiers.count() == 0)
   {
     // first entry
     if (lang.isEmpty())                 // no definition in first entry
@@ -1257,7 +1257,7 @@ bool KEduVocKvtmlReader::readExpression(QDomElement &domElementParent)
                                         paraphrase))
       return false;
 
-    if (m_doc->m_vocabulary.size() == 0)
+    if (m_doc->m_vocabulary.count() == 0)
     {
       // only accept in first entry
       if (width >= 0)
@@ -1271,13 +1271,13 @@ bool KEduVocKvtmlReader::readExpression(QDomElement &domElementParent)
 
     }
 
-    if (m_doc->m_identifiers.size() <= count)
+    if (m_doc->m_identifiers.count() <= count)
     {
       // new translation
       if (lang.isEmpty())
       {
         // no definition in first entry ?
-        lang.setNum (m_doc->m_identifiers.size() );
+        lang.setNum (m_doc->m_identifiers.count() );
         lang.insert (0, "translation ");
       }
       m_doc->m_identifiers.push_back(lang);