Thread
:
mbarcode
View Single Post
dragly
2010-07-07 , 13:33
Posts: 252 | Thanked: 252 times | Joined on Nov 2009
#
329
Originally Posted by
joshn53
Yeah, just a QWidget* is enough. I did a quick test earlier, and that worked fine.
Ok, cool. I guess the only pro of having the whole class passed down I can think of then is that you get full auto-complete with Qt Creator that way.
However, I don't see the great benefit of switching to QWidget* other than having one class less to depend on (i.e. one less #include), or am I missing something?
To me it seems to be only a question of how one likes to structure the relationships between the plugins and the main app.
Quote & Reply
|
dragly
View Public Profile
Send a private message to dragly
Find all posts by dragly