Include the ui_*.h headers in the main headers.

This means we can also remove the forward declarations.

This is the first step in removing the memory allocation for the ui
sub-classes. Without the second step, this commit is just making the
compilation time increase for no good reason :-)

Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Thiago Macieira 2013-10-03 11:54:24 -07:00 committed by Dirk Hohndel
parent ab7d96c96f
commit f0f76056ac
21 changed files with 14 additions and 44 deletions

View file

@ -5,9 +5,7 @@
#include <QSlider>
#include <QLabel>
namespace Ui {
class PrintOptions;
};
#include "ui_printoptions.h"
// should be based on a custom QPrintDialog class
class PrintOptions : public QWidget {