Merge remote-tracking branch 'origin/master' into libplasma2
This commit is contained in:
commit
a4af5cfa02
@ -9,15 +9,19 @@ Icon=plasma
|
||||
Description=A protocol for Plasma services
|
||||
Description[bs]=Protokol Plazma usluga
|
||||
Description[ca]=Un protocol pels serveis del Plasma
|
||||
Description[da]=En protokol til Plasma-tjenester
|
||||
Description[es]=Un protocolo para los servicios de Plasma
|
||||
Description[et]=Plasma teenuste protokoll
|
||||
Description[hr]=Protokol za servise u Plasmi
|
||||
Description[hu]=Protokoll a Plazma-szolgáltatáshoz
|
||||
Description[ia]=un protocollo per servicios de Plasma
|
||||
Description[ja]=Plasma サービスのためのプロトコル
|
||||
Description[km]=ពិធីការសម្រាប់សេវាកម្មប្លាស្មា
|
||||
Description[nl]=Een protocol voor Plasma-services
|
||||
Description[pa]=ਪਲਾਜ਼ਮਾ ਸਰਵਿਸ ਲਈ ਪਰੋਟੋਕਾਲ
|
||||
Description[pt]=Um protocolo para os serviços do Plasma
|
||||
Description[pt_BR]=Protocolo para os serviços do Plasma
|
||||
Description[ro]=Un protocol pentru servicii Plasma
|
||||
Description[sv]=Ett protokoll för Plasma-tjänster
|
||||
Description[uk]=Протокол для служб Плазми
|
||||
Description[x-test]=xxA protocol for Plasma servicesxx
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
class QSignalMapper;
|
||||
|
||||
namespace Plasma
|
||||
namespace Plasma
|
||||
{
|
||||
|
||||
class AuthorizationRule;
|
||||
@ -65,7 +65,7 @@ class ServiceProvider : public Jolie::AbstractAdaptor
|
||||
QString m_providerName;
|
||||
|
||||
QMap<ServiceJob*, Jolie::Message> m_messageMap;
|
||||
QMap<QString, QByteArray> m_tokens;
|
||||
QMap<QByteArray, QByteArray> m_tokens;
|
||||
QMap<QByteArray, int> m_descriptorMap;
|
||||
QList<Jolie::Message> m_messagesPendingAuthorization;
|
||||
|
||||
|
@ -51,10 +51,10 @@ void PlasmoidPackageTest::cleanup()
|
||||
// Clean things up.
|
||||
QDir local(QDir::homePath() + QLatin1String("/.kde-unit-test/packageRoot"));
|
||||
foreach (const QString &dir, local.entryList(QDir::Dirs)) {
|
||||
removeDir(QLatin1String("packageRoot/" + dir.toLatin1() + "/contents/code"));
|
||||
removeDir(QLatin1String("packageRoot/" + dir.toLatin1() + "/contents/images"));
|
||||
removeDir(QLatin1String("packageRoot/" + dir.toLatin1() + "/contents"));
|
||||
removeDir(QLatin1String("packageRoot/" + dir.toLatin1()));
|
||||
removeDir(QLatin1String("packageRoot/") + dir.toLatin1() + "/contents/code");
|
||||
removeDir(QLatin1String("packageRoot/") + dir.toLatin1() + "/contents/images");
|
||||
removeDir(QLatin1String("packageRoot/") + dir.toLatin1() + "/contents");
|
||||
removeDir(QLatin1String("packageRoot/") + dir.toLatin1());
|
||||
}
|
||||
|
||||
QDir().rmpath(QDir::homePath() + "/.kde-unit-test/packageRoot");
|
||||
@ -108,7 +108,7 @@ void PlasmoidPackageTest::createTestPackage(const QString &packageName)
|
||||
file.flush();
|
||||
file.close();
|
||||
|
||||
// Now we have a minimal plasmoid package which is valid. Let's add some
|
||||
// Now we have a minimal plasmoid package which is valid. Let's add some
|
||||
// files to it for test purposes.
|
||||
|
||||
// Create the images dir.
|
||||
@ -306,7 +306,7 @@ void PlasmoidPackageTest::createAndInstallPackage()
|
||||
{
|
||||
QString plasmoid("plasmoid_to_package");
|
||||
createTestPackage(plasmoid);
|
||||
|
||||
|
||||
QString packagePath = mPackageRoot + '/' + "package.zip";
|
||||
Plasma::PackageMetadata metadata(
|
||||
QString(KDESRCDIR) + "/packagemetadatatest.desktop");
|
||||
@ -323,7 +323,7 @@ void PlasmoidPackageTest::createAndInstallPackage()
|
||||
const KArchiveEntry *contentsEntry = dir->entry("contents");
|
||||
QVERIFY(contentsEntry);
|
||||
QVERIFY(contentsEntry->isDirectory());
|
||||
const KArchiveDirectory *contents =
|
||||
const KArchiveDirectory *contents =
|
||||
static_cast<const KArchiveDirectory *>(contentsEntry);
|
||||
QVERIFY(contents->entry("code"));
|
||||
QVERIFY(contents->entry("images"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user