diff options
author | RJ Ryan <rryan@mixxx.org> | 2013-11-30 19:19:10 -0500 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2013-11-30 19:19:10 -0500 |
commit | 4845e95acb542120191f309e050d785699730048 (patch) | |
tree | 34796d4c030011d77ee083713b4a302875b94bf3 /src/widget/wnumber.cpp | |
parent | 64e7966c2a2b83b136b56086b6c8de2bb3dcdcd0 (diff) |
Header/include cleanups across the codebase.
* Eliminate all instances of including QtCore, QtGui, or QtXml.
* Replace all old-style Qt header inclusions with new-style (e.g. #include <application.h>).
* Include QtDebug instead of QDebug.
* Update many classes to include the Qt classes they use in their header and implementation file.
This speeds up compile and link performance and reduces the size of the compiled object files. My build directory dropped by 50MB.
Diffstat (limited to 'src/widget/wnumber.cpp')
-rw-r--r-- | src/widget/wnumber.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/widget/wnumber.cpp b/src/widget/wnumber.cpp index f6fc182fc7..2dd0d11d04 100644 --- a/src/widget/wnumber.cpp +++ b/src/widget/wnumber.cpp @@ -15,13 +15,15 @@ * * ***************************************************************************/ -#include "wnumber.h" -#include "wskincolor.h" +#include "widget/wnumber.h" + #include <math.h> -#include <qfont.h> +#include <QFont> #include <QLabel> #include <QVBoxLayout> +#include "widget/wskincolor.h" + WNumber::WNumber(QWidget * parent) : WWidget(parent) { m_pLabel = new QLabel(this); |