[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: KDE/kdebase/runtime/kioslave/sftp
From: André_Wöbbeking <Woebbeking () onlinehome ! de>
Date: 2006-07-19 15:08:28
Message-ID: 200607191708.28899.Woebbeking () onlinehome ! de
[Download RAW message or body]
On Wednesday 19 July 2006 14:32, Stephan Kulow wrote:
> Am Mittwoch, 19. Juli 2006 13:39 schrieb Laurent Montel:
> > On Wednesday 19 July 2006 12:58, Stephan Kulow wrote:
> > > Am Mittwoch, 19. Juli 2006 12:15 schrieb Laurent Montel:
> > > > SVN commit 564120 by mlaurent:
> > > >
> > > > Deprecated--
> > > >
> > > >
> > > > M +1 -1 kio_sftp.cpp
> > > >
> > > >
> > > > --- trunk/KDE/kdebase/runtime/kioslave/sftp/kio_sftp.cpp
> > > > #564119:564120 @@ -449,7 +449,7 @@
> > > > return;
> > > >
> > > > // Get resume offset
> > > > - quint64 offset =
> > > > config()->readUnsignedLongNumEntry("resume"); + quint64
> > > > offset = config()->readEntry("resume",0);
this should be readUnsignedNum64Entry in KDE 3.5.
> > > Will this really return a quint64 or will it return an int casted
> > > to one?
> >
> > We have:
> > KDE_DEPRECATED long readLongNumEntry( const QString& pKey, long
> > nDefault = 0 ) const
> > { return readEntry(pKey, static_cast<int>(nDefault)); }
shouldn't this be readEntry(pKey, static_cast<long>(nDefault))?
> >
> > So for me it will return casted int.
>
> Then we just dropped large file system support for sftp ;(
readEntry("resume",static_cast<quint64>(0))
Cheers,
Andrà ©
[Attachment #3 (text/html)]
<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:15pt;font-family:Arial">
<p>On Wednesday 19 July 2006 14:32, Stephan Kulow wrote:</p>
<p>> Am Mittwoch, 19. Juli 2006 13:39 schrieb Laurent Montel:</p>
<p>> > On Wednesday 19 July 2006 12:58, Stephan Kulow wrote:</p>
<p>> > > Am Mittwoch, 19. Juli 2006 12:15 schrieb Laurent Montel:</p>
<p>> > > > SVN commit 564120 by mlaurent:</p>
<p>> > > ></p>
<p>> > > > Deprecated--</p>
<p>> > > ></p>
<p>> > > ></p>
<p>> > > > M +1 -1 kio_sftp.cpp</p>
<p>> > > ></p>
<p>> > > ></p>
<p>> > > > --- trunk/KDE/kdebase/runtime/kioslave/sftp/kio_sftp.cpp</p>
<p>> > > > #564119:564120 @@ -449,7 +449,7 @@</p>
<p>> > > > return;</p>
<p>> > > ></p>
<p>> > > > // Get resume offset</p>
<p>> > > > - quint64 offset =</p>
<p>> > > > config()->readUnsignedLongNumEntry("resume"); + quint64</p>
<p>> > > > offset = config()->readEntry("resume",0);</p>
<p></p>
<p>this should be readUnsignedNum64Entry in KDE 3.5.</p>
<p></p>
<p>> > > Will this really return a quint64 or will it return an int casted</p>
<p>> > > to one?</p>
<p>> ></p>
<p>> > We have:</p>
<p>> > KDE_DEPRECATED long readLongNumEntry( const QString& pKey, long</p>
<p>> > nDefault = 0 ) const</p>
<p>> > { return readEntry(pKey, static_cast<int>(nDefault)); }</p>
<p></p>
<p>shouldn't this be readEntry(pKey, static_cast<long>(nDefault))?</p>
<p></p>
<p>> ></p>
<p>> > So for me it will return casted int.</p>
<p>></p>
<p>> Then we just dropped large file system support for sftp ;(</p>
<p></p>
<p>readEntry("resume",static_cast<quint64>(0))</p>
<p></p>
<p></p>
<p>Cheers,</p>
<p>André</p>
</body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic