Increase version number in runtime services, to avoid mixups.

Executable names:
kdeinit4 -> kdeinit5
kded4 -> kded

DBus service names:
org.kde.kded -> org.kde.kded5
org.kde.klauncher -> org.kde.klauncher5

This fixes jobtest with Qt5 (difference in QDateTime serialization), but
more generally it will allow BIC changes in SlaveBase, as well as
not crashing due to kdeinit4 or kded4 loading KF5/Qt5 modules, etc.
This commit is contained in:
David Faure 2012-05-14 01:02:07 +02:00
parent cba3e4c7aa
commit d278887d91

View File

@ -883,7 +883,7 @@ bool PackagePrivate::installPackage(const QString &package, const QString &packa
}
}
QDBusInterface sycoca("org.kde.kded", "/kbuildsycoca");
QDBusInterface sycoca("org.kde.kded5", "/kbuildsycoca");
sycoca.asyncCall("recreate");
return true;
}
@ -932,7 +932,7 @@ bool PackagePrivate::uninstallPackage(const QString &packageName, const QString
return false;
}
QDBusInterface sycoca("org.kde.kded", "/kbuildsycoca");
QDBusInterface sycoca("org.kde.kded5", "/kbuildsycoca");
sycoca.asyncCall("recreate");
return true;
}