Hey, I have two questions
1)
I have uig.qpbTest (inside a QDesigner h file, uig is a class of namespace of h file, a qpushbutton*), and when i use connect:
connect(uig.qpbTest, SIGNAL(clicked()), this, SLOT(procTest()));
It doesn't work, procTest is never activated. Why can't I connect this object?
procTest() is a private slot and is moc'ed.
2)
When I try to use a private slot inside a function, it won't launch it:
int CMain:o_one(){
doSomething(1); // doSomething is a PRIVATE SLOT in CMain.
}
It won't work this way, I dont know why.
Bookmarks