Ensure moc sees fully qualified property types
Qt6 insists on that. We can do this either by including the moc files, or by including the corresponding headers in the header defining the properties, the former seems cleaner when possible.
This commit is contained in:
parent
eee16b01a4
commit
a34717dc22
14 changed files with 22 additions and 1 deletions
|
@ -3747,3 +3747,5 @@ bool AbstractClient::wantsShadowToBeRendered() const
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
#include "moc_abstract_client.cpp"
|
||||
|
|
|
@ -133,3 +133,5 @@ void PreviewButtonItem::setColor(const QColor &color)
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
#include "moc_previewbutton.cpp"
|
||||
|
|
|
@ -455,3 +455,5 @@ SETTER2(setProvidesContextHelp, providesContextHelp)
|
|||
|
||||
} // namespace Preview
|
||||
} // namespace KDecoration2
|
||||
|
||||
#include "moc_previewclient.cpp"
|
||||
|
|
|
@ -453,3 +453,5 @@ DecorationShadow *PreviewItem::shadow() const
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
#include "moc_previewitem.cpp"
|
||||
|
|
|
@ -260,3 +260,4 @@ QString KCMKWinDecoration::borderSizeIndexToString(int index) const
|
|||
}
|
||||
|
||||
#include "kcm.moc"
|
||||
#include "moc_kcm.cpp"
|
||||
|
|
|
@ -165,3 +165,4 @@ bool VirtualDesktops::isSaveNeeded() const
|
|||
}
|
||||
|
||||
#include "virtualdesktops.moc"
|
||||
#include "moc_virtualdesktops.cpp"
|
||||
|
|
|
@ -100,3 +100,4 @@ int VirtualKeyboardsModel::rowCount(const QModelIndex &parent) const
|
|||
}
|
||||
|
||||
#include "kcmvirtualkeyboard.moc"
|
||||
#include "moc_kcmvirtualkeyboard.cpp"
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include <QPainter>
|
||||
#include <QPixmap>
|
||||
#include <QtMath>
|
||||
#include <QWindow>
|
||||
|
||||
#include <ksharedconfig.h>
|
||||
#include <kconfiggroup.h>
|
||||
|
@ -1767,3 +1768,4 @@ TimeLine &TimeLine::operator=(const TimeLine &other)
|
|||
} // namespace
|
||||
|
||||
#include "moc_kwinglobals.cpp"
|
||||
#include "moc_kwineffects.cpp"
|
||||
|
|
|
@ -790,3 +790,4 @@ void ConfigurationModule::initQml()
|
|||
}
|
||||
|
||||
#include "aurorae.moc"
|
||||
#include "moc_aurorae.cpp"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
#include <QVariant>
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
|
|
@ -115,3 +115,5 @@ void DesktopBackgroundItem::updateWindow()
|
|||
}
|
||||
|
||||
} // namespace KWin
|
||||
|
||||
#include "moc_desktopbackgrounditem.cpp"
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "virtualdesktops.h"
|
||||
|
||||
#include <QAbstractListModel>
|
||||
#include <QPointer>
|
||||
#include <QSortFilterProxyModel>
|
||||
|
@ -16,7 +18,6 @@ namespace KWin
|
|||
{
|
||||
class AbstractClient;
|
||||
class AbstractOutput;
|
||||
class VirtualDesktop;
|
||||
|
||||
namespace ScriptingModels::V3
|
||||
{
|
||||
|
|
|
@ -421,3 +421,5 @@ DeclarativeScriptWorkspaceWrapper::DeclarativeScriptWorkspaceWrapper(QObject* pa
|
|||
: WorkspaceWrapper(parent) {}
|
||||
|
||||
} // KWin
|
||||
|
||||
#include "moc_workspace_wrapper.cpp"
|
||||
|
|
|
@ -721,3 +721,4 @@ bool Toplevel::isOnCurrentDesktop() const
|
|||
|
||||
} // namespace
|
||||
|
||||
#include "moc_toplevel.cpp"
|
||||
|
|
Loading…
Reference in a new issue