Michael_Gruetzner at gmx.de
Mon Apr 9 23:37:09 UTC 2001
I'm trying to write a kde application with kdevelop 1.3, that uses 4
different dialog windows.
I created the dialogs with the kdevelop dialog editor and made the
source files of all the dialogs.
Now I 've got the class_1 for dialog 1, class_2 for dialog 2, etc.
in the main() finction of my application I created the objects of all my
dialog classes with code like this:
class_1 *class1 = new class_1();
class_2 *class2 = new class_2();
ok, so far everything works fine, but now I want to connect the signal
clicked of the QPushButton widget in
class_1 with the show() slot in class_2. When I try:
QObject::connect( QPushButton, SIGNAL(clicked()), class_2,
I get an error because the QPushButton is declared as protected(by the
Do I have to declare QPushButton manually as public or is there another
way to do this?????
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
More information about the KDevelop