heh, i see
so if i have f.ex. a myHBox class only used in myGroupBox class, which in its turn is accessed from myMainWindow and mySocket, than i need to have everything .h and .cpp except for myHBox for which a .cpp would be enough. is this correct?
heh, i see
so if i have f.ex. a myHBox class only used in myGroupBox class, which in its turn is accessed from myMainWindow and mySocket, than i need to have everything .h and .cpp except for myHBox for which a .cpp would be enough. is this correct?
Yes, provided that it's the same file in which myGroupBox implementation was placed.Originally Posted by caminoix
One more thing: If you place a class definition with Q_OBJECT macro in somefile.cpp, then you must also add #include "somefile.moc" at the end of that file.
caminoix (26th March 2006)
oh, ok. i think i sort of begin to get it. thanks![]()
Bookmarks