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

List:       kde-devel
Subject:    Re: How to use KApplication to build a GUI ?
From:       Frans Englich <frans.englich () telia ! com>
Date:       2003-12-05 19:04:40
[Download RAW message or body]

On Friday 05 December 2003 19:24, Henrique Pinto wrote:
> On Friday 05 December 2003 07:58, Giuseppe Torelli wrote:
> > could someone post a link somewhere that shows
> > an example to build a simple GUI with KApplication ?
> > KDevelop only builds GUIs with KMainWindow but I need
> > KApplication because of the lock() and unlock method.
>
> If you have a KMainWindow instance, then you have a KApplication object.
>
> You can get it with the static method KApplication::kApplication()

Or with the pointer kapp->[...]. No?

/Franke

 
>> 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