problème de déclaration de signal
Bonjour,
Je tente d'utiliser un signal perso mais sais résultat.
J'ai procédé de cette facon
Code:
1 2 3 4 5 6 7
| class impl_winAdd : public QWidget, public Ui::ui_winAdd
{
Q_OBJECT
signal:
void signalTest();
}; |
et le compilateur me répond :
Citation:
In file included from impl_winAdd.cpp:2:
impl_winAdd.h:19: error: expected primary-expression before "void"
impl_winAdd.h:19: error: ISO C++ forbids declaration of `signal' with no type
impl_winAdd.h:19: error: expected `;' before "void"
impl_winAdd.cpp:79: error: `impl_winMain' has not been declared mingw32-make[1]: *** [release/impl_winAdd.o] Error 1
mingw32-make[1]: Leaving directory `C:/Documents and Settings/BTS/Bureau/PTI/proc-even'
mingw32-make: *** [release] Error 2
Si quelqu'un a un idée ...