diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-15 22:46:10 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-15 22:46:10 +0000 |
commit | d14a0a7be38de94dce84818c904e609d31da21ab (patch) | |
tree | b7fec2e96b940d1e3f38b261497ca94f365e5053 /muse2/awl | |
parent | d3d0a38e8c203d658207fb0c8736c046658ceaaa (diff) |
Major cleanup in the #includes. Moved the contents of all.h into individal files.
Diffstat (limited to 'muse2/awl')
-rw-r--r-- | muse2/awl/aslider.cpp | 3 | ||||
-rw-r--r-- | muse2/awl/aslider.h | 5 | ||||
-rw-r--r-- | muse2/awl/checkbox.h | 2 | ||||
-rw-r--r-- | muse2/awl/combobox.h | 2 | ||||
-rw-r--r-- | muse2/awl/drawbar.cpp | 2 | ||||
-rw-r--r-- | muse2/awl/floatentry.cpp | 4 | ||||
-rw-r--r-- | muse2/awl/floatentry.h | 6 | ||||
-rw-r--r-- | muse2/awl/knob.cpp | 5 | ||||
-rw-r--r-- | muse2/awl/midimeter.cpp | 3 | ||||
-rw-r--r-- | muse2/awl/midimslider.cpp | 3 | ||||
-rw-r--r-- | muse2/awl/mslider.cpp | 4 | ||||
-rw-r--r-- | muse2/awl/pitchedit.cpp | 4 | ||||
-rw-r--r-- | muse2/awl/pitchedit.h | 4 | ||||
-rw-r--r-- | muse2/awl/pitchlabel.cpp | 3 | ||||
-rw-r--r-- | muse2/awl/pitchlabel.h | 2 | ||||
-rw-r--r-- | muse2/awl/posedit.cpp | 7 | ||||
-rw-r--r-- | muse2/awl/posedit.h | 2 | ||||
-rw-r--r-- | muse2/awl/sigedit.cpp | 3 | ||||
-rw-r--r-- | muse2/awl/sigedit.h | 2 | ||||
-rw-r--r-- | muse2/awl/slider.cpp | 3 | ||||
-rw-r--r-- | muse2/awl/tempoedit.cpp | 5 | ||||
-rw-r--r-- | muse2/awl/tempoedit.h | 2 | ||||
-rw-r--r-- | muse2/awl/tempolabel.cpp | 2 | ||||
-rw-r--r-- | muse2/awl/tempolabel.h | 2 | ||||
-rw-r--r-- | muse2/awl/volslider.cpp | 2 |
25 files changed, 80 insertions, 2 deletions
diff --git a/muse2/awl/aslider.cpp b/muse2/awl/aslider.cpp index 79a36b88..b48ccbe0 100644 --- a/muse2/awl/aslider.cpp +++ b/muse2/awl/aslider.cpp @@ -21,6 +21,9 @@ #include "fastlog.h" #include "aslider.h" +#include <QKeyEvent> +#include <QWheelEvent> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/aslider.h b/muse2/awl/aslider.h index 32fc89f9..9354e6c7 100644 --- a/muse2/awl/aslider.h +++ b/muse2/awl/aslider.h @@ -21,6 +21,11 @@ #ifndef __AWLASLIDER_H__ #define __AWLASLIDER_H__ +#include <QWidget> + +class QKeyEvent; +class QWheelEvent; + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/checkbox.h b/muse2/awl/checkbox.h index ac67fc57..94cc3db3 100644 --- a/muse2/awl/checkbox.h +++ b/muse2/awl/checkbox.h @@ -21,6 +21,8 @@ #ifndef __AWLCHECKBOX_H__ #define __AWLCHECKBOX_H__ +#include <QCheckBox> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/combobox.h b/muse2/awl/combobox.h index d335d993..1754338b 100644 --- a/muse2/awl/combobox.h +++ b/muse2/awl/combobox.h @@ -21,6 +21,8 @@ #ifndef __AWLCOMBOBOX_H__ #define __AWLCOMBOBOX_H__ +#include <QComboBox> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/drawbar.cpp b/muse2/awl/drawbar.cpp index 18525ded..a82ed248 100644 --- a/muse2/awl/drawbar.cpp +++ b/muse2/awl/drawbar.cpp @@ -20,6 +20,8 @@ #include "drawbar.h" +#include <QPainter> + namespace Awl { #if 0 diff --git a/muse2/awl/floatentry.cpp b/muse2/awl/floatentry.cpp index 7831614f..471ec5a0 100644 --- a/muse2/awl/floatentry.cpp +++ b/muse2/awl/floatentry.cpp @@ -21,6 +21,10 @@ #include "floatentry.h" #include "fastlog.h" +#include <QLineEdit> +#include <QMouseEvent> +#include <QTimer> + #define TIMER1 400 #define TIMER2 200 #define TIMEC 7 diff --git a/muse2/awl/floatentry.h b/muse2/awl/floatentry.h index a90232a9..16aa7c8c 100644 --- a/muse2/awl/floatentry.h +++ b/muse2/awl/floatentry.h @@ -21,6 +21,12 @@ #ifndef __FLOATLABEL_H__ #define __FLOATLABEL_H__ +#include <QLineEdit> + +class QMouseEvent; +class QTimer; +class QWheelEvent; + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/knob.cpp b/muse2/awl/knob.cpp index ccc3988e..00665d21 100644 --- a/muse2/awl/knob.cpp +++ b/muse2/awl/knob.cpp @@ -18,8 +18,13 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //============================================================================= +#include <cmath> + #include "knob.h" +#include <QMouseEvent> +#include <QPainter> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/midimeter.cpp b/muse2/awl/midimeter.cpp index 312e5efe..255232d7 100644 --- a/muse2/awl/midimeter.cpp +++ b/muse2/awl/midimeter.cpp @@ -21,6 +21,9 @@ #include "fastlog.h" #include "midimeter.h" +#include <QPainter> +#include <QPaintEvent> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/midimslider.cpp b/muse2/awl/midimslider.cpp index 92325d4a..a4867044 100644 --- a/muse2/awl/midimslider.cpp +++ b/muse2/awl/midimslider.cpp @@ -21,6 +21,9 @@ #include "fastlog.h" #include "midimslider.h" +#include <QPainter> +#include <QPaintEvent> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/mslider.cpp b/muse2/awl/mslider.cpp index 63c3ea4e..7424dfac 100644 --- a/muse2/awl/mslider.cpp +++ b/muse2/awl/mslider.cpp @@ -19,9 +19,11 @@ //============================================================================= #include "fastlog.h" - #include "mslider.h" +#include <QMouseEvent> +#include <QPainter> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/pitchedit.cpp b/muse2/awl/pitchedit.cpp index 18136074..93f4b310 100644 --- a/muse2/awl/pitchedit.cpp +++ b/muse2/awl/pitchedit.cpp @@ -18,9 +18,13 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //============================================================================= +#include <stdio.h> + #include "pitchedit.h" #include "utils.h" +#include <QKeyEvent> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/pitchedit.h b/muse2/awl/pitchedit.h index dd0ba4c7..bdcfc4c4 100644 --- a/muse2/awl/pitchedit.h +++ b/muse2/awl/pitchedit.h @@ -21,6 +21,10 @@ #ifndef __AWLPITCHEDIT_H__ #define __AWLPITCHEDIT_H__ +#include <QSpinBox> + +class QKeyEvent; + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/pitchlabel.cpp b/muse2/awl/pitchlabel.cpp index 1d7149f6..d6e83515 100644 --- a/muse2/awl/pitchlabel.cpp +++ b/muse2/awl/pitchlabel.cpp @@ -22,6 +22,9 @@ #include "pitchlabel.h" #include "utils.h" +#include <QApplication> +#include <QStyle> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/pitchlabel.h b/muse2/awl/pitchlabel.h index 36a3cbfa..e5c34dba 100644 --- a/muse2/awl/pitchlabel.h +++ b/muse2/awl/pitchlabel.h @@ -21,6 +21,8 @@ #ifndef __AWLPITCHLABEL_H__ #define __AWLPITCHLABEL_H__ +#include <QLabel> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/posedit.cpp b/muse2/awl/posedit.cpp index 97f36a63..3d4abaab 100644 --- a/muse2/awl/posedit.cpp +++ b/muse2/awl/posedit.cpp @@ -23,8 +23,13 @@ #include "posedit.h" #include "al/sig.h" //#include "sig.h" - //#include "sync.h" // Tim. + +#include <QApplication> +#include <QKeyEvent> +#include <QLineEdit> +#include <QStyle> + extern int mtcType; namespace Awl { diff --git a/muse2/awl/posedit.h b/muse2/awl/posedit.h index 5b04c640..09cfd6e3 100644 --- a/muse2/awl/posedit.h +++ b/muse2/awl/posedit.h @@ -24,6 +24,8 @@ ///#include "al/pos.h" #include "pos.h" +#include <QAbstractSpinBox> + namespace Awl { ///using AL::Pos; diff --git a/muse2/awl/sigedit.cpp b/muse2/awl/sigedit.cpp index 3e995a93..826182ca 100644 --- a/muse2/awl/sigedit.cpp +++ b/muse2/awl/sigedit.cpp @@ -24,6 +24,9 @@ #include "al/sig.h" //#include "sig.h" +#include <QKeyEvent> +#include <QLineEdit> + namespace Awl { using AL::sigmap; diff --git a/muse2/awl/sigedit.h b/muse2/awl/sigedit.h index 35cb0f12..dd059ea2 100644 --- a/muse2/awl/sigedit.h +++ b/muse2/awl/sigedit.h @@ -24,6 +24,8 @@ #include "al/sig.h" //#include "sig.h" +#include <QAbstractSpinBox> + namespace AL { class TimeSignature; }; diff --git a/muse2/awl/slider.cpp b/muse2/awl/slider.cpp index 7686e850..00f3d925 100644 --- a/muse2/awl/slider.cpp +++ b/muse2/awl/slider.cpp @@ -20,6 +20,9 @@ #include "slider.h" +#include <QMouseEvent> +#include <QPainter> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/tempoedit.cpp b/muse2/awl/tempoedit.cpp index d7dbac81..7bdc5c2d 100644 --- a/muse2/awl/tempoedit.cpp +++ b/muse2/awl/tempoedit.cpp @@ -18,8 +18,13 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //============================================================================= +#include <cmath> + #include "tempoedit.h" +#include <QApplication> +#include <QStyle> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/tempoedit.h b/muse2/awl/tempoedit.h index af06221d..8ad83dc7 100644 --- a/muse2/awl/tempoedit.h +++ b/muse2/awl/tempoedit.h @@ -21,6 +21,8 @@ #ifndef __AWLTEMPOEDIT_H__ #define __AWLTEMPOEDIT_H__ +#include <QDoubleSpinBox> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/tempolabel.cpp b/muse2/awl/tempolabel.cpp index 3fcdec5c..fc4e8daa 100644 --- a/muse2/awl/tempolabel.cpp +++ b/muse2/awl/tempolabel.cpp @@ -20,6 +20,8 @@ #include "tempolabel.h" +#include <QApplication> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/tempolabel.h b/muse2/awl/tempolabel.h index cf30444e..df9abfcd 100644 --- a/muse2/awl/tempolabel.h +++ b/muse2/awl/tempolabel.h @@ -21,6 +21,8 @@ #ifndef __AWLTEMPOLABEL_H__ #define __AWLTEMPOLABEL_H__ +#include <QLabel> + namespace Awl { //--------------------------------------------------------- diff --git a/muse2/awl/volslider.cpp b/muse2/awl/volslider.cpp index 59f1b8cf..87997510 100644 --- a/muse2/awl/volslider.cpp +++ b/muse2/awl/volslider.cpp @@ -21,6 +21,8 @@ #include "fastlog.h" #include "volslider.h" +#include <QMouseEvent> + namespace Awl { //--------------------------------------------------------- |