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

List:       kde-commits
Subject:    Re: branches/work/kde4/kdelibs/kdecore
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2005-06-27 16:53:32
Message-ID: 200506271853.32096.nicolasg () snafu ! de
[Download RAW message or body]

>List:       kde-commits
>Subject:    branches/work/kde4/kdelibs/kdecore
> From:       Laurent Montel <montel () kde ! org>
>Date:       2005-06-27 9:11:51
>Message-ID: <1119863511.368002.22592.nullmailer () svn ! kde ! org>
>
>SVN commit 429326 by mlaurent:
>
>Make just compile
>I didn't find what function setFlag
>
>
> M  +7 -6      kqiodevicegzip_p.cpp  
>
>
>--- branches/work/kde4/kdelibs/kdecore/kqiodevicegzip_p.cpp #429325:429326
>@@ -27,7 +27,8 @@
>     m_gzfile=0;
>     m_ungetchar=-1;
>     m_filename=filename;
>-    setFlags(IO_Sequential); // We have no direct access, so it is 
>sequential!
>+#warning "QT4 porting ???? setFlags(IO_Sequential); "; 
>+    //setFlags(IO_Sequential); // We have no direct access, so it is 
>sequential!
 >    // NOTE: "sequential" also means that you cannot use size()
 >}

It seem the solution is to re-implement the virtual function
bool QIODevice::isSequential () const 
probably like:

bool isSequential() const
{
   return true;
}

I cannot add it myself, as I cannot compile KDE4.

(I am bugging Trolltech that there is not porting hint.)

Have a nice day!

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

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