Find Components with function...

Reinaldo Nolasco Sanches r_linux at
Thu Jul 18 14:10:51 UTC 2002

I create an aplication with one per type component declared as pointer...


   QCheckBox *checkBox;
   QPushButton *pushButton;

Into archive .cpp I use this components as...

   pushButton = new QPushButton( "Text1", this, "name1" );
   pushButton = new QPushButton( "Text2", this, "name2" );

How I do to call the button with name "name1" in other part of my code ???

It is possible... or I have declarate...

   QPushButton *firstButton;
   QPushButton *secondButton;

Making bad .h archive...

Thanks for any askies...


"When you know Slackware, you know Linux... when you know Red Hat, all you know is Red hat"

- Anyone seen smoking will be assumed to be on fire and will be summarily put out.
- Power doesn't corrupt people, people corrupt power.

- r_linux at --
- UIN: 42853394 -

Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes

to unsubscribe from this list send an email to kdevelop-request at with the following body:
unsubscribe »your-email-address«

More information about the KDevelop mailing list