Add missing Q_OBJECT macros in header files

Fixes 20 warnings similar to the following ones when generating a translation file with e.g. "make de.ts":
/home/daniel/Lmms/src/tracks/AutomationTrack.cpp:40: Class 'AutomationTrack' lacks Q_OBJECT macro
/home/daniel/Lmms/src/core/FxMixer.cpp:41: Class 'FxRoute' lacks Q_OBJECT macro
/home/daniel/Lmms/src/core/FxMixer.cpp:554: Class 'FxMixer' lacks Q_OBJECT macro
/home/daniel/Lmms/src/gui/widgets/MeterDialog.cpp:52: Class 'MeterDialog' lacks Q_OBJECT macro
...
This commit is contained in:
Daniel Winzen
2014-11-18 19:38:26 +01:00
parent e1bb2988a1
commit 337003a3b0
21 changed files with 21 additions and 3 deletions

View File

@@ -201,4 +201,4 @@ void InstrumentMidiIOView::modelChanged()
}
}
#include "moc_InstrumentMidiIOView.cxx"

View File

@@ -113,4 +113,4 @@ void MeterDialog::modelChanged()
m_denominator->setModel( &mm->denominatorModel() );
}
#include "moc_MeterDialog.cxx"

View File

@@ -192,4 +192,4 @@ void AutomationTrackView::dropEvent( QDropEvent * _de )
}
#include "moc_AutomationTrack.cxx"