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

List:       kde-devel
Subject:    Re: setView
From:       David Palao <david.palao () uv ! es>
Date:       2004-12-30 7:51:47
Message-ID: 200412300851.47200.david.palao () uv ! es
[Download RAW message or body]

El Miércoles, 29 de Diciembre de 2004 13:57, escribió:
> Hi!
>
> On Wednesday 29 December 2004 13.38, David Palao wrote:
> > Hello
> > I'm starting to learn kde and I'm following "KDE 2.0 Development".
> > However I'm using KDE 3.1.3.
> > At the very beginning I found an example which doesn't compile:
> > "ksimpleapp". I know that this program uses deprecated functions; I tried
> > to translate to the new counterparts, but I couldn't find the analogue of
> > "setView"; >
> >
> > ...
> >
> > How can I "translate"  the setView function into anything 3.1.3
> > compliant?
>
> That would be setCentralWidget I think.
>

Yes!! It does it;


> > BTW, I guess it could be a headache to continue using this book (it is
> > very old), so, can anybody advise me another free document? (or am I
> > wrong?)
>
> I don't know if there's anything better available about kde, but there's a
> book about qt programming available for free, see
> http://dot.kde.org/1098950311/
>

I knew it, thanks anyway.
The problem is that I'm newbie in KDE-QT world. I don't know if I should start 
learning with the QT book, and continue with KDE book; or maybe the converse. 
Perhaps I should do it simultaneously.
At the moment, I decided to start reading the KDE book. Next chapter is about 
QT, so perhaps I find necessary to take a look at the QT book, prior to use 
KDE libraries. We will see.
Any adivice is wellcome...

> If you want to use the old book
> http://developer.kde.org/documentation/library/porting.html would probably
> be very helpful, there I found for example in the "KDE 2.0 Porting guide"
> that setView was replaced by setCentralWidget.
>

That's a very nice site, indeed very helpful. I was sure that something 
similar should exist, but I could not find it with google; I had to browse 
better in KDE sites.

> > Thanks in advance,
> > Regards
> >
> > David
>
> Richard

Thank you very much for the help. That's encourage me; I'll keep learning KDE 
programming.

Best regards

David


 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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