need some help

Ralf Nolden rnolden at kdevelop.de
Wed Mar 8 18:27:10 GMT 2000


Richard Brunner wrote:
> 
> Hi!
> 
> Today it is the first time I am using Kdevelop (and qt) and I really
> like it :-).
> But now my litte problem:
> 
> I´ve created a new project (qt 2.1-SDI) and then I´ve created a little
> widget (with only one button) with the dialogeditor.
> To show this widget is no problem but I don´t know in which file and
> where exactly I´ve to place my "connect
> (button,SIGNAL(clicked()),qApp,SLOT(quit()) );" !
> 
> thank you
> richard

In the constructor of your widget which you have created with the
dialogeditor after the call of initDialog(); Then the button is
available and constructed ;-) so add all calls for your instances
*after* calling initDialog(); and you will always be on the safe side
;-)

Ralf

-- 
**********************************
Ralf Nolden

Ardennenstr. 41 
52355 Düren

Tel. 02421/502758

The KDevelop Project
http://www.kdevelop.org

Email: rnolden at kdevelop.de
**********************************





More information about the KDevelop mailing list