Add more missing Q_OBJECT macros

This commit is contained in:
Daniel Winzen
2014-11-21 21:08:48 +01:00
parent a9a851d2f0
commit df3a03f64c
6 changed files with 12 additions and 6 deletions

View File

@@ -39,6 +39,7 @@ class EffectControls;
class EXPORT Effect : public Plugin
{
Q_OBJECT
public:
Effect( const Plugin::Descriptor * _desc,
Model * _parent,

View File

@@ -78,6 +78,7 @@ class FxChannel : public ThreadableJob
class FxRoute : public QObject
{
Q_OBJECT
public:
FxRoute( FxChannel * from, FxChannel * to, float amount );
virtual ~FxRoute();
@@ -116,8 +117,9 @@ class FxRoute : public QObject
};
class EXPORT FxMixer : public JournallingObject, public Model
class EXPORT FxMixer : public Model, public JournallingObject
{
Q_OBJECT
public:
FxMixer();
virtual ~FxMixer();

View File

@@ -40,8 +40,9 @@ class PluginView;
class AutomatableModel;
class EXPORT Plugin : public JournallingObject, public Model
class EXPORT Plugin : public Model, public JournallingObject
{
Q_OBJECT
public:
enum PluginTypes
{

View File

@@ -204,4 +204,4 @@ void Effect::resample( int _i, const sampleFrame * _src_buf,
}
}
#include "moc_Effect.cxx"

View File

@@ -172,8 +172,8 @@ void FxChannel::doProcessing( sampleFrame * _buf )
FxMixer::FxMixer() :
JournallingObject(),
Model( NULL ),
JournallingObject(),
m_fxChannels()
{
// create master channel
@@ -691,3 +691,5 @@ void FxMixer::validateChannelName( int index, int oldIndex )
r->updateName();
}
}
#include "moc_FxMixer.cxx"

View File

@@ -54,8 +54,8 @@ static Plugin::Descriptor dummy_plugin_descriptor =
Plugin::Plugin( const Descriptor * _descriptor, Model * parent ) :
JournallingObject(),
Model( parent ),
JournallingObject(),
m_descriptor( _descriptor )
{
if( m_descriptor == NULL )
@@ -216,4 +216,4 @@ QDomElement Plugin::Descriptor::SubPluginFeatures::Key::saveXML(
return e;
}
#include "moc_Plugin.cxx"