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

List:       kde-commits
Subject:    KDE/kdeedu/kig/kfile
From:       Pino Toscano <toscano.pino () tiscali ! it>
Date:       2005-08-30 19:22:41
Message-ID: 1125429761.638255.12418.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 455190 by pino:

attempt #4 to compile


 M  +4 -5      kfile_kig.cpp  


--- trunk/KDE/kdeedu/kig/kfile/kfile_kig.cpp #455189:455190
@@ -20,11 +20,10 @@
 
 #include "kfile_kig.h"
 
+#include <q3cstring.h>
 #include <qdom.h>
 #include <qfile.h>
 #include <qregexp.h>
-//Added by qt3to4:
-#include <Q3CString>
 
 #include <karchive.h>
 #include <kgenericfactory.h>
@@ -77,7 +76,7 @@
       return false;
     // reading compressed file
     KTar* ark = new KTar( sfile, "application/x-gzip" );
-    ark->open( QIODevice::ReadOnly );
+    ark->open( IO_ReadOnly );
     const KArchiveDirectory* dir = ark->directory();
     QStringList entries = dir->entries();
     QStringList kigfiles = entries.grep( QRegExp( "\\.kig$" ) );
@@ -91,7 +90,7 @@
     f.setName( tempdir + kigz->name() );
   }
 
-  if ( !f.open( QIODevice::ReadOnly ) )
+  if ( !f.open( IO_ReadOnly ) )
     return false;
 
   QDomDocument doc( "KigDocument" );
@@ -139,7 +138,7 @@
   appendItem( metagroup, "Grid", stmp2 );
 
   // has Kig document the axes?
-  stmp = true;
+  btmp = true;
   stmp = main.attribute( "axes" );
   if ( !( stmp.isEmpty() || ( stmp != "0" ) ) )
     btmp = ( stmp != "0" );
[prev in list] [next in list] [prev in thread] [next in thread] 

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