Fix qt4 build

This commit is contained in:
Weng Xuetian 2022-11-15 17:02:52 -08:00 committed by liulinsong
parent dac6bccb41
commit ea4f4431ef
4 changed files with 7 additions and 4 deletions

View File

@ -65,7 +65,8 @@ QDBusPendingReply<> FcitxQtInputContextProxy::reset() {
return d->icproxy_->Reset();
}
QDBusPendingReply<> FcitxQtInputContextProxy::setSupportedCapability(qulonglong caps) {
QDBusPendingReply<>
FcitxQtInputContextProxy::setSupportedCapability(qulonglong caps) {
Q_D(FcitxQtInputContextProxy);
return d->icproxy_->SetSupportedCapability(caps);
}

View File

@ -110,7 +110,7 @@ public Q_SLOTS: // METHODS
{
QList<QVariant> argumentList;
argumentList << QVariant::fromValue(caps);
return asyncCallWithArgumentList(QStringLiteral("SetSupportedCapability"), argumentList);
return asyncCallWithArgumentList(QLatin1String("SetSupportedCapability"), argumentList);
}
inline QDBusPendingReply<> SetCapability(qulonglong caps) {

View File

@ -64,7 +64,8 @@ QDBusPendingReply<> FcitxQtInputContextProxy::reset() {
return d->icproxy_->Reset();
}
QDBusPendingReply<> FcitxQtInputContextProxy::setSupportedCapability(qulonglong caps) {
QDBusPendingReply<>
FcitxQtInputContextProxy::setSupportedCapability(qulonglong caps) {
Q_D(FcitxQtInputContextProxy);
return d->icproxy_->SetSupportedCapability(caps);
}

View File

@ -59,7 +59,8 @@ QDBusPendingReply<> FcitxQtInputContextProxy::reset() {
return d->icproxy_->Reset();
}
QDBusPendingReply<> FcitxQtInputContextProxy::setSupportedCapability(qulonglong caps) {
QDBusPendingReply<>
FcitxQtInputContextProxy::setSupportedCapability(qulonglong caps) {
Q_D(FcitxQtInputContextProxy);
return d->icproxy_->SetSupportedCapability(caps);
}