* add Q_OBJECT to your class
* add your header file to your .pro file's HEADERS section
(or include "#include "yourfile.moc" in yourfile.cpp if your class decl is in your .cpp file)

PS: at the moment you should get a runtime warning that this slot does not exist

HTH