paule22
23rd August 2008, 18:27
Hello,
how can I connect
connect(exitAct, SIGNAL(triggered()), qApp, SLOT(closeAllWindows()));
at runtime (closeAllWindows) ?
thanks for helping
Jens
QObject::connect(
kawin[win]->btn[kawin[win]->PushButtonCount-1], // the button
SIGNAL(clicked()), // the signal
kawin[win], // the window/widget
SIGNAL(kawin[win]->btn[kawin[win]->PushButtonCount-1]->buttonClicked())
);
how can I connect
connect(exitAct, SIGNAL(triggered()), qApp, SLOT(closeAllWindows()));
at runtime (closeAllWindows) ?
thanks for helping
Jens
QObject::connect(
kawin[win]->btn[kawin[win]->PushButtonCount-1], // the button
SIGNAL(clicked()), // the signal
kawin[win], // the window/widget
SIGNAL(kawin[win]->btn[kawin[win]->PushButtonCount-1]->buttonClicked())
);