summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-01-25 13:59:41 +0100
committerLaurent Montel <[email protected]>2018-01-25 13:59:41 +0100
commit02682abc34bd3954804a5e4e791f1bc6a80fc642 (patch)
tree524bf45f9caf8237c640da5dfbdd19907ae0fb08
parentf5fb47e1c315739fca89e1f0de3de562701129ad (diff)
Use QLAtin1String
-rw-r--r--src/kmailtransport/plugins/smtp/smtpconfigwidget.cpp2
-rw-r--r--src/kmailtransport/plugins/transportpluginmanager.cpp2
-rw-r--r--src/kmailtransportakonadi/plugins/akonadimailtransportplugin.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/kmailtransport/plugins/smtp/smtpconfigwidget.cpp b/src/kmailtransport/plugins/smtp/smtpconfigwidget.cpp
index 06dd0dc..32bbeeb 100644
--- a/src/kmailtransport/plugins/smtp/smtpconfigwidget.cpp
+++ b/src/kmailtransport/plugins/smtp/smtpconfigwidget.cpp
@@ -163,7 +163,7 @@ void SMTPConfigWidget::init()
d->resetAuthCapabilities();
- if (!KProtocolInfo::capabilities(SMTP_PROTOCOL).contains(QStringLiteral("SASL"))) {
+ if (!KProtocolInfo::capabilities(SMTP_PROTOCOL).contains(QLatin1String("SASL"))) {
d->ui.authCombo->removeItem(d->ui.authCombo->findData(
Transport::EnumAuthenticationType::NTLM));
d->ui.authCombo->removeItem(d->ui.authCombo->findData(
diff --git a/src/kmailtransport/plugins/transportpluginmanager.cpp b/src/kmailtransport/plugins/transportpluginmanager.cpp
index 2851614..5a44050 100644
--- a/src/kmailtransport/plugins/transportpluginmanager.cpp
+++ b/src/kmailtransport/plugins/transportpluginmanager.cpp
@@ -72,7 +72,7 @@ bool TransportPluginManagerPrivate::initializePlugins()
return true;
}
const QVector<KPluginMetaData> plugins = KPluginLoader::findPlugins(QStringLiteral("mailtransport"), [](const KPluginMetaData &md) {
- return md.serviceTypes().contains(QStringLiteral("MailTransport/Plugin"));
+ return md.serviceTypes().contains(QLatin1String("MailTransport/Plugin"));
});
QVectorIterator<KPluginMetaData> i(plugins);
diff --git a/src/kmailtransportakonadi/plugins/akonadimailtransportplugin.cpp b/src/kmailtransportakonadi/plugins/akonadimailtransportplugin.cpp
index 91cf384..9127bd0 100644
--- a/src/kmailtransportakonadi/plugins/akonadimailtransportplugin.cpp
+++ b/src/kmailtransportakonadi/plugins/akonadimailtransportplugin.cpp
@@ -65,7 +65,7 @@ QVector<MailTransport::TransportAbstractPluginInfo> AkonadiMailTransportPlugin::
for (const AgentType &atype : AgentManager::self()->types()) {
// TODO probably the string "MailTransport" should be #defined somewhere
// and used like that in the resources (?)
- if (atype.capabilities().contains(QStringLiteral("MailTransport"))) {
+ if (atype.capabilities().contains(QLatin1String("MailTransport"))) {
MailTransport::TransportAbstractPluginInfo info;
info.name = atype.name();
info.description = atype.description();