diff --git a/src/akonadi-contacts/contactmetadataakonadi.cpp b/src/akonadi-contacts/contactmetadataakonadi.cpp index 902b5b67..15377df0 100644 --- a/src/akonadi-contacts/contactmetadataakonadi.cpp +++ b/src/akonadi-contacts/contactmetadataakonadi.cpp @@ -1,53 +1,53 @@ /* This file is part of Akonadi Contact. Copyright (c) 2009 Tobias Koenig This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "contactmetadataakonadi_p.h" #include "attributes/contactmetadataattribute_p.h" #include using namespace Akonadi; ContactMetaDataAkonadi::ContactMetaDataAkonadi() { } ContactMetaDataAkonadi::~ContactMetaDataAkonadi() { } void ContactMetaDataAkonadi::load(const Akonadi::Item &contact) { if (!contact.hasAttribute("contactmetadata")) { return; } - ContactMetaDataAttribute *attribute = contact.attribute(); + const ContactMetaDataAttribute *attribute = contact.attribute(); const QVariantMap metaData = attribute->metaData(); loadMetaData(metaData); } void ContactMetaDataAkonadi::store(Akonadi::Item &contact) { ContactMetaDataAttribute *attribute = contact.attribute(Item::AddIfMissing); attribute->setMetaData(storeMetaData()); } diff --git a/src/contact-editor/editor/im/protocols/qqprotocol.desktop b/src/contact-editor/editor/im/protocols/qqprotocol.desktop index 5f618335..d8ab8f65 100644 --- a/src/contact-editor/editor/im/protocols/qqprotocol.desktop +++ b/src/contact-editor/editor/im/protocols/qqprotocol.desktop @@ -1,31 +1,33 @@ [Desktop Entry] Type=Service X-KDE-ServiceTypes=KContacts/IMProtocol,KPluginInfo X-KDE-InstantMessagingKABCField=messaging/qq Comment=Tencent QQ Messaging Comment[ca]=Missatgeria Tencent QQ Comment[ca@valencia]=Missatgeria Tencent QQ Comment[fr]=Messagerie QQ de Tencent Comment[gl]=Mensaxaría de Tencent QQ Comment[it]=Messaggistica Tencent QQ Comment[nl]=Tencent QQ-messaging Comment[pl]=Wiadomości Tencent QQ Comment[pt_BR]=Mensageiro Tencent QQ Comment[sv]=Tencent QQ-meddelandeklient Comment[uk]=Обмін повідомленнями Tencent QQ Comment[x-test]=xxTencent QQ Messagingxx +Comment[zh_TW]=騰訊 QQ 通訊軟體 Name=QQ Name[ca]=QQ Name[ca@valencia]=QQ Name[cs]=QQ Name[fr]=QQ Name[gl]=QQ Name[it]=QQ Name[nl]=QQ Name[pl]=QQ Name[pt]=QQ Name[pt_BR]=QQ Name[sv]=QQ Name[uk]=QQ Name[x-test]=xxQQxx +Name[zh_TW]=QQ