View Single Post
d-iivil's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#62
Originally Posted by Diph View Post
API is your best friend: http://doc.trolltech.com/qt-maemo-4.....html#finished

Code:
connect(process, SIGNAL(finished(int), this, SLOT(processFinished(int));
Code:
MainWindow::processFinished(int exitCode)
{
   //Do something
}
Damn this is confusing :-D Even simplest action needs code in at least three different place. Well, tried and tried and tried, but all I get is these errors (build issues):
untermintaed argument list invoking macro "SIGNAL"
- in constructor 'MainWindow::MainWindow(QWidget*):
'process' was not declared in this scope
'SIGNAL' was not declared in this scope
expected ; at end of input
expected } at end of input

The code is looking like this (mainwindow.cpp):
http://www.pastie.org/1048648
__________________
If you're rich and you think I deserve a cold beer, you may donate one or two :-P

80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE