Quote Originally Posted by Sarma
QObject::connect(te,SIGNAL(clicked(int para,int pos)),this,SLOT(text(int para)));
Parameter names are not allowed in SIGNAL and SLOT macros.

Try this:
Qt Code:
  1. QObject::connect( te, SIGNAL( clicked( int, int ) ), this, SLOT( text( int ) ) );
To copy to clipboard, switch view to plain text mode