summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/coreplugin/mimetypesettings.cpp6
-rw-r--r--src/plugins/coreplugin/mimetypesettings.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/coreplugin/mimetypesettings.cpp b/src/plugins/coreplugin/mimetypesettings.cpp
index d01abeffd2..116fcf4a06 100644
--- a/src/plugins/coreplugin/mimetypesettings.cpp
+++ b/src/plugins/coreplugin/mimetypesettings.cpp
@@ -82,8 +82,6 @@ public:
// MimeTypeSettingsModel
class MimeTypeSettingsModel : public QAbstractTableModel
{
- Q_OBJECT
-
public:
enum class Role {
DefaultHandler = Qt::UserRole
@@ -227,8 +225,6 @@ void MimeTypeSettingsModel::resetUserDefaults()
// MimeTypeSettingsPrivate
class MimeTypeSettingsPrivate : public QObject
{
- Q_OBJECT
-
public:
MimeTypeSettingsPrivate();
~MimeTypeSettingsPrivate() override;
@@ -787,5 +783,3 @@ void MimeEditorDelegate::setModelData(QWidget *editor,
}
} // Core::Internal
-
-#include "mimetypesettings.moc"
diff --git a/src/plugins/coreplugin/mimetypesettings.h b/src/plugins/coreplugin/mimetypesettings.h
index 57dee3a732..0127e22768 100644
--- a/src/plugins/coreplugin/mimetypesettings.h
+++ b/src/plugins/coreplugin/mimetypesettings.h
@@ -11,8 +11,6 @@ class MimeTypeSettingsPrivate;
class MimeTypeSettings : public IOptionsPage
{
- Q_OBJECT
-
public:
MimeTypeSettings();
~MimeTypeSettings() override;