summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2023-05-08 10:45:15 +0200
committerhjk <hjk@qt.io>2023-05-08 10:00:41 +0000
commitce00785efbcab3aa1cc4f3ae210ecc558f5652cd (patch)
treed6c3ede7de500288b66fff882b4e80e0ee9dff1a /src
parenta7277bfb20cbfa4f73c739a150ba772043a355f8 (diff)
downloadqt-creator-ce00785efbcab3aa1cc4f3ae210ecc558f5652cd.tar.gz
Core: De-QObject-ify bits of mime settings
Change-Id: Ib4ffabe6392b5923cb6cce596e3e3563c9d6b7a3 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
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;