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

List:       kde-devel
Subject:    Re: QStringList::getLast() removed?
From:       Stephan Kulow <coolo () itm ! mu-luebeck ! de>
Date:       1999-06-17 10:30:05
[Download RAW message or body]

Reginald Stadlbauer wrote:
> 
> On Thu, 17 Jun 1999, Stephan Kulow wrote:
> >Reginald Stadlbauer wrote:
> >>
> >> On Thu, 17 Jun 1999, Waldo Bastian wrote:
> >> >Matthias Ettrich wrote:
> >> >>
> >> >> On Thu, 17 Jun 1999, Robert Williams wrote:
> >> >> > I can not compile 'kclipboard.cpp' in kdecore.   It looks like 'getLast()' has
> >> >> > been removed from today's QT cvs.
> >> >>
> >> >> Use last() instead.
> >> >>
> >> >> Matthias
> >> >
> >> >Please keep CVS working with the latest _QT-BETA_!!!
> >> >Stephan added a wrapper for the getFirst() problem, so I assume
> >> >that can be done for this one as well.
> >> >
> >> >When a new Qt-beta is released it can be removed/changed.
> >>
> >> Why not use *( lst.begin() ) and *( lst.end() ). Works with both, beta2 and
> >> newer snapshots.
> >>
> >First: it looks ugly :)
> >Second: end is last + 1
> 
> Then use *( --lst.end() ) :-))
> 
Well, this even more supports point 1 ;)
I think, I will stop updating Qt for now. We really should stick to
beta2's API.

Greetings, Stephan

-- 
As long as Linux remains a religion of freeware fanatics,
Microsoft have nothing to worry about.  
                       By Michael Surkan, PC Week Online

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

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