PDA

View Full Version : uic generate code problem.



jerry7
21st March 2011, 05:03
hi,
uic generate code like this:


class Ui_MainWindow
{
// auto-generated stuff
};

namespace Ui {
class MainWindow: public Ui_MainWindow {};
}

why not like this?


namespace Ui {
class MainWindow
{
// auto-generated stuff
};
}

Is the latter more clearly and simply?

mcosta
21st March 2011, 08:59
Where is the problem?

Is a trolls choice, ask them why.