Hi,

from a tutorial I have stolen the following code:

void mainform::closeEvent( QCloseEvent * )
{
fileExit();
}

void mainform::fileExit()
{
QApplication::exit( 0 );
}

The first function doesn't compile, the error I get is:

n file included from mainform.cpp:30:
mainform.ui.h:102: error: no `void mainform::closeEvent(QCloseEvent*)' member function declared in class `mainform'
mainform.cpp: In constructor `mainform::mainform(QWidget*, const char*, unsigned int)':
mainform.cpp:167: error: 'class mainform' has no member named 'languageChange'
mainform.cpp: At global scope:
mainform.cpp:195: error: no `void mainform::languageChange()' member function declared in class `mainform'
mainform.cpp:195: error: `void mainform::languageChange()' and `virtual void mainform::languageChange()' cannot be overloaded

The mainform.cpp is completly generated by Qt Designer. Any idea what is missing?

Thanks,
Jochen