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

List:       kde-commits
Subject:    KDE/kdelibs/kabc/plugins
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2006-03-04 16:06:13
Message-ID: 1141488373.095638.1658.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 515684 by chehrlic:

QIODevice::IO_ReadOnly -> QIODevice::ReadOnly

 M  +1 -1      file/resourcefile.cpp  
 M  +2 -2      net/resourcenet.cpp  


--- trunk/KDE/kdelibs/kabc/plugins/file/resourcefile.cpp #515683:515684
@@ -462,7 +462,7 @@
   }
 
   QFile file( mTempFile->name() );
-  if ( file.open( QIODevice::IO_ReadOnly ) ) {
+  if ( file.open( QIODevice::ReadOnly ) ) {
     if ( clearAndLoad( &file ) )
       emit loadingFinished( this );
     else
--- trunk/KDE/kdelibs/kabc/plugins/net/resourcenet.cpp #515683:515684
@@ -141,7 +141,7 @@
   }
 
   QFile file( tempFile );
-  if ( !file.open( QIODevice::IO_ReadOnly ) ) {
+  if ( !file.open( QIODevice::ReadOnly ) ) {
     addressBook()->error( i18n( "Unable to open file '%1'." ).arg( tempFile ) );
     KIO::NetAccess::removeTempFile( tempFile );
     return false;
@@ -351,7 +351,7 @@
   }
 
   QFile file( mTempFile->name() );
-  if ( file.open( QIODevice::IO_ReadOnly ) ) {
+  if ( file.open( QIODevice::ReadOnly ) ) {
     if ( clearAndLoad( &file ) )
       emit loadingFinished( this );
     else
[prev in list] [next in list] [prev in thread] [next in thread] 

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