sp1r1t@lovi101 ~/eafbeadando/spirit.independence.hu/EAF/efabeadandov2 $ make g++ -c -pipe -march=k8 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o mainform.o mainform.cpp In file included from ui_mainform.h:24, from mainform.h:6, from mainform.cpp:5: ./mezok.h:38:7: warning: no newline at end of file mainform.cpp: In constructor ‘MainForm::MainForm(QWidget*)’: mainform.cpp:16: error: no matching function for call to ‘MainForm::connect(_Mezok*&, const char [18], QPushButton*&, const char [18])’ /usr/include/qt4/QtCore/qobject.h:176: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType) /usr/include/qt4/QtCore/qobject.h:277: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const mainform.cpp:17: error: no matching function for call to ‘MainForm::connect(_Mezok*&, const char [18], QPushButton*&, const char [18])’ /usr/include/qt4/QtCore/qobject.h:176: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType) /usr/include/qt4/QtCore/qobject.h:277: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const make: *** [mainform.o] Error 1