Changeset View
Changeset View
Standalone View
Standalone View
src/kmailtransport/servertest.cpp
Show First 20 Lines • Show All 715 Lines • ▼ Show 20 Line(s) | |||||
716 | 716 | | |||
717 | bool ServerTest::isSecurePossible() const | 717 | bool ServerTest::isSecurePossible() const | ||
718 | { | 718 | { | ||
719 | return d->securePossible; | 719 | return d->securePossible; | ||
720 | } | 720 | } | ||
721 | 721 | | |||
722 | QList< ServerTest::Capability > ServerTest::capabilities() const | 722 | QList< ServerTest::Capability > ServerTest::capabilities() const | ||
723 | { | 723 | { | ||
724 | #if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) | ||||
724 | return d->capabilityResults.toList(); | 725 | return d->capabilityResults.toList(); | ||
726 | #else | ||||
727 | return QList<ServerTest::Capability>(d->capabilityResults.cbegin(), d->capabilityResults.cend()); | ||||
728 | #endif | ||||
725 | } | 729 | } | ||
726 | 730 | | |||
727 | #include "moc_servertest.cpp" | 731 | #include "moc_servertest.cpp" |