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,8 @@
#include "../dive.h"
#include "../pref.h"
namespace Ui{
class PreferencesDialog;
}
#include "ui_preferences.h"
class QAbstractButton;
class PreferencesDialog :public QDialog{