SLOT is not _the_ function. you need to declare a function, something like
in .h
public slots:
void doSomethingWithFieldName( );
in cpp:
void foo::doSomethingWithFieldName( )
{
//do something ... i presume it involves fieldName
}
then you call it in your connect( ....., SLOT(doSomethingWithFieldName( ) );