NOISSUE add missing Q_OBJECT macros

This commit is contained in:
Petr Mrázek 2018-12-23 01:05:11 +01:00
parent 4a4ba954ed
commit 56a9b65efb
4 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@
class NullInstance: public BaseInstance class NullInstance: public BaseInstance
{ {
Q_OBJECT
public: public:
NullInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString& rootDir) NullInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString& rootDir)
:BaseInstance(globalSettings, settings, rootDir) :BaseInstance(globalSettings, settings, rootDir)

View File

@ -4,6 +4,7 @@
class ResourcePackPage : public ModFolderPage class ResourcePackPage : public ModFolderPage
{ {
Q_OBJECT
public: public:
explicit ResourcePackPage(MinecraftInstance *instance, QWidget *parent = 0) explicit ResourcePackPage(MinecraftInstance *instance, QWidget *parent = 0)
: ModFolderPage(instance, instance->resourcePackList(), "resourcepacks", : ModFolderPage(instance, instance->resourcePackList(), "resourcepacks",

View File

@ -4,6 +4,7 @@
class TexturePackPage : public ModFolderPage class TexturePackPage : public ModFolderPage
{ {
Q_OBJECT
public: public:
explicit TexturePackPage(MinecraftInstance *instance, QWidget *parent = 0) explicit TexturePackPage(MinecraftInstance *instance, QWidget *parent = 0)
: ModFolderPage(instance, instance->texturePackList(), "texturepacks", "resourcepacks", : ModFolderPage(instance, instance->texturePackList(), "texturepacks", "resourcepacks",

View File

@ -16,6 +16,7 @@ typedef std::function<void(QString)> LogoCallback;
class FtbFilterModel : public QSortFilterProxyModel class FtbFilterModel : public QSortFilterProxyModel
{ {
Q_OBJECT
public: public:
FtbFilterModel(QObject* parent = Q_NULLPTR); FtbFilterModel(QObject* parent = Q_NULLPTR);
enum Sorting { enum Sorting {