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.
wilder-5.25
Volker Krause 4 years ago
parent 38c723e596
commit 7616c49f17
  1. 2
      applets/notifications/fileinfo.cpp
  2. 2
      components/keyboardlayout/keyboardlayout.cpp
  3. 1
      kcms/colors/colors.cpp
  4. 1
      kcms/feedback/feedback.cpp
  5. 1
      kcms/formats/kcmformats.cpp
  6. 3
      libnotificationmanager/server.cpp

@ -185,3 +185,5 @@ void FileInfo::mimeTypeFound(const QString &mimeType)
Q_EMIT openActionIconNameChanged();
}
}
#include "moc_fileinfo.cpp"

@ -86,3 +86,5 @@ void KeyboardLayout::requestDBusData(QDBusPendingReply<T> pendingReply, T &out,
watcher->deleteLater();
});
}
#include "moc_keyboardlayout.cpp"

@ -409,3 +409,4 @@ void KCMColors::processPendingDeletions()
}
#include "colors.moc"
#include "moc_colors.cpp"

@ -137,3 +137,4 @@ QJsonArray Feedback::audits() const
}
#include "feedback.moc"
#include "moc_feedback.cpp"

@ -77,3 +77,4 @@ void KCMFormats::unset(const QString &setting)
settings()->config()->group(QStringLiteral("Formats")).deleteEntry(entry);
}
#include "kcmformats.moc"
#include "moc_kcmformats.cpp"

@ -6,6 +6,7 @@
#include "server.h"
#include "server_p.h"
#include "serverinfo.h"
#include "notification.h"
#include "notification_p.h"
@ -141,3 +142,5 @@ void Server::clearInhibitions()
{
d->clearExternalInhibitions();
}
#include "moc_server.cpp"

Loading…
Cancel
Save