ok thanks for the info.
as for the slots, i'm not going to worry about it too much as i only need to emit signals which i can already do, as long as i register the types e.g.
qRegisterMetaType<object>();
qRegisterMetaType<object>();
To copy to clipboard, switch view to plain text mode
as for the pointer, i should have clarified, i can create the pointer however my program sigsev'd at run time at the following code:
connect(thread, SIGNAL(signal(int)), this, SLOT(slot(int)));
connect(thread, SIGNAL(signal(int)), this, SLOT(slot(int)));
To copy to clipboard, switch view to plain text mode
whereas the following worked
// header
QThreadClass thread;
//implimentation
connect(&thread, SIGNAL(signal(arg)), this, SLOT(slot(arg)));
// header
QThreadClass thread;
//implimentation
connect(&thread, SIGNAL(signal(arg)), this, SLOT(slot(arg)));
To copy to clipboard, switch view to plain text mode
i'm going to have to read my c++ book again
Bookmarks