public slots: void enter();
connect( buttonOk, SIGNAL( clicked() ), this, SLOT( enter() ) );
void myClass::enter(){ accept();}
static const char qt_meta_stringdata_ScriptObj[] = { "ScriptObj\0\0[b]evaluate()[/b]\0" };
int ScriptObj::qt_metacall(QMetaObject::Call _c, int _id, void **_a){ _id = QObject::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: [b]evaluate();[/b] break; } _id -= 1; } return _id;}
QPushButton btn("Test", this);connect(&btn, SIGNAL(clicked()), this, SLOT(someSlot()));