August 5, 2011

alfah alfah
Lab Rat
157 posts

[solved]return type of functions

 

hello,

Can a function have a return type as QVBoxLayout???

alfah

1 reply

August 5, 2011

cincirin cincirin
Ant Farmer
457 posts

Yes for QVBoxLayout* (pointer), no for QVBoxLayout because all QLayout has disable copy constructor

  1.  Q_DISABLE_COPY(QLayout)

 
  ‹‹ Forms not refreshing on tabs      Qt-mobility multimedia doesn’t work on Simulator ››

You must log in to post a reply. Not a member yet? Register here!