diff --git a/applets/appmenu/lib/appmenuapplet.cpp b/applets/appmenu/lib/appmenuapplet.cpp index 8b25ebc2b..5d9afd9d1 100644 --- a/applets/appmenu/lib/appmenuapplet.cpp +++ b/applets/appmenu/lib/appmenuapplet.cpp @@ -42,7 +42,7 @@ AppMenuApplet::AppMenuApplet(QObject *parent, const QVariantList &data) : Plasma::Applet(parent, data) { ++s_refs; - //if we're the first, regster the service + //if we're the first, register the service if (s_refs == 1) { QDBusConnection::sessionBus().interface()->registerService(viewService(), QDBusConnectionInterface::QueueService, @@ -62,7 +62,7 @@ AppMenuApplet::AppMenuApplet(QObject *parent, const QVariantList &data) QDBusConnection::sessionBus().interface()->unregisterService(viewService()); } } else { - //if we're the first, regster the service + //if we're the first, register the service if (++s_refs == 1) { QDBusConnection::sessionBus().interface()->registerService(viewService(), QDBusConnectionInterface::QueueService, diff --git a/dataengines/weather/ions/envcan/ion_envcan.cpp b/dataengines/weather/ions/envcan/ion_envcan.cpp index 0b1a141ab..ba66d2c82 100644 --- a/dataengines/weather/ions/envcan/ion_envcan.cpp +++ b/dataengines/weather/ions/envcan/ion_envcan.cpp @@ -709,7 +709,7 @@ void EnvCanadaIon::parseWeatherSite(WeatherData& data, QXmlStreamReader& xml) } } -// Parse Weather data main loop, from here we have to decend into each tag pair +// Parse Weather data main loop, from here we have to descend into each tag pair bool EnvCanadaIon::readXMLData(const QString& source, QXmlStreamReader& xml) { WeatherData data; diff --git a/dataengines/weather/ions/noaa/ion_noaa.cpp b/dataengines/weather/ions/noaa/ion_noaa.cpp index 718639c4e..b778fe26f 100644 --- a/dataengines/weather/ions/noaa/ion_noaa.cpp +++ b/dataengines/weather/ions/noaa/ion_noaa.cpp @@ -462,7 +462,7 @@ void NOAAIon::parseWeatherSite(WeatherData& data, QXmlStreamReader& xml) } } -// Parse Weather data main loop, from here we have to decend into each tag pair +// Parse Weather data main loop, from here we have to descend into each tag pair bool NOAAIon::readXMLData(const QString& source, QXmlStreamReader& xml) { WeatherData data; diff --git a/klipper/historyimageitem.cpp b/klipper/historyimageitem.cpp index 3ebf1b56f..596f8b7e1 100644 --- a/klipper/historyimageitem.cpp +++ b/klipper/historyimageitem.cpp @@ -47,10 +47,10 @@ QString HistoryImageItem::text() const { if (m_text.isNull()) { m_text = QStringLiteral("▨ ") + - i18n("%1x%2 %3bpp") - .arg(m_data.width()) - .arg(m_data.height()) - .arg(m_data.depth()); + i18n("%1x%2 %3bpp", + m_data.width(), + m_data.height(), + m_data.depth()); } return m_text; } diff --git a/klipper/klipperpopup.h b/klipper/klipperpopup.h index cf70ab977..faf699f53 100644 --- a/klipper/klipperpopup.h +++ b/klipper/klipperpopup.h @@ -1,6 +1,6 @@ /* This file is part of the KDE project Copyright (C) 2004 Esben Mose Hansen - Copytight (C) by Andrew Stanley-Jones + Copyright (C) by Andrew Stanley-Jones This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either diff --git a/libnotificationmanager/jobsmodel.h b/libnotificationmanager/jobsmodel.h index a57a29bc5..45de9be57 100644 --- a/libnotificationmanager/jobsmodel.h +++ b/libnotificationmanager/jobsmodel.h @@ -50,7 +50,7 @@ public: bool init(); /** - * Whether the notification service could be reigstered + * Whether the notification service could be registered */ bool isValid() const; diff --git a/libnotificationmanager/notification.cpp b/libnotificationmanager/notification.cpp index 1dd437f00..06ce55986 100644 --- a/libnotificationmanager/notification.cpp +++ b/libnotificationmanager/notification.cpp @@ -59,7 +59,7 @@ QString Notification::Private::sanitize(const QString &text) t = t.simplified(); // Finally, check if we don't have multiple
s following, // can happen for example when "\n \n" is sent, this replaces - // all
s in succsession with just one + // all
s in succession with just one t.replace(QRegularExpression(QStringLiteral("
\\s*
(\\s|
)*")), QLatin1String("
")); // This fancy RegExp escapes every occurrence of & since QtQuick Text will blatantly cut off // text where it finds a stray ampersand. diff --git a/libnotificationmanager/notificationsmodel.cpp b/libnotificationmanager/notificationsmodel.cpp index fa46e2774..2a475641e 100644 --- a/libnotificationmanager/notificationsmodel.cpp +++ b/libnotificationmanager/notificationsmodel.cpp @@ -390,7 +390,7 @@ void NotificationsModel::configure(const QString &desktopEntry, const QString &n { // TODO would be nice to just have a signal but since NotificationsModel is shared, // if we connect to this from Notifications you would get a signal in every instance - // and potentialy open the config dialog multiple times. + // and potentially open the config dialog multiple times. QStringList args; if (!desktopEntry.isEmpty()) { diff --git a/libnotificationmanager/server.h b/libnotificationmanager/server.h index 039fb310b..c5ebc8af6 100644 --- a/libnotificationmanager/server.h +++ b/libnotificationmanager/server.h @@ -62,7 +62,7 @@ class NOTIFICATIONMANAGER_EXPORT Server : public QObject /** * Whether notifications are currently inhibited. * - * This is what is announced to other applicatons on the bus. + * This is what is announced to other applications on the bus. * * @note This does not keep track of inhibitions on its own, * you need to calculate this yourself and update the property accordingly. @@ -171,7 +171,7 @@ public: Q_SIGNALS: /** * Emitted when the notification service validity changes, - * because it sucessfully registered the service or lost + * because it successfully registered the service or lost * ownership of it. * @since 5.18 */ diff --git a/plasma-windowed/plasmawindowedcorona.cpp b/plasma-windowed/plasmawindowedcorona.cpp index a589dd03f..4ac91d85a 100644 --- a/plasma-windowed/plasmawindowedcorona.cpp +++ b/plasma-windowed/plasmawindowedcorona.cpp @@ -50,7 +50,7 @@ void PlasmaWindowedCorona::loadApplet(const QString &applet, const QVariantList Plasma::Containment *cont = containments().first(); - //forbid more instances per applet (todo: activate the correpsponding already loaded applet) + //forbid more instances per applet (todo: activate the corresponding already loaded applet) for (Plasma::Applet *a : cont->applets()) { if (a->pluginMetaData().pluginId() == applet) { return; diff --git a/runners/calculator/calculatorrunner.cpp b/runners/calculator/calculatorrunner.cpp index bb93fa1b1..98686f260 100644 --- a/runners/calculator/calculatorrunner.cpp +++ b/runners/calculator/calculatorrunner.cpp @@ -261,7 +261,7 @@ void CalculatorRunner::match(Plasma::RunnerContext &context) userFriendlySubstitutions(cmd); #ifndef ENABLE_QALCULATE - cmd.replace(QRegExp(QStringLiteral("([a-zA-Z]+)")), QStringLiteral("Math.\\1")); //needed for accessing math funktions like sin(),.... + cmd.replace(QRegExp(QStringLiteral("([a-zA-Z]+)")), QStringLiteral("Math.\\1")); //needed for accessing math functions like sin(),.... #endif bool isApproximate = false; diff --git a/runners/services/servicerunner.h b/runners/services/servicerunner.h index 8d9ad1a75..395db3ffb 100644 --- a/runners/services/servicerunner.h +++ b/runners/services/servicerunner.h @@ -28,7 +28,7 @@ /** * This class looks for matches in the set of .desktop files installed by * applications. This way the user can type exactly what they see in the - * appications menu and have it start the appropriate app. Essentially anything + * applications menu and have it start the appropriate app. Essentially anything * that KService knows about, this runner can launch */ diff --git a/runners/windowedwidgets/windowedwidgetsrunner.h b/runners/windowedwidgets/windowedwidgetsrunner.h index fbc8006ea..782c86a9d 100644 --- a/runners/windowedwidgets/windowedwidgetsrunner.h +++ b/runners/windowedwidgets/windowedwidgetsrunner.h @@ -28,7 +28,7 @@ /** * This class looks for matches in the set of .desktop files installed by * applications. This way the user can type exactly what they see in the - * appications menu and have it start the appropriate app. Essentially anything + * applications menu and have it start the appropriate app. Essentially anything * that KService knows about, this runner can launch */ diff --git a/xembed-sni-proxy/sniproxy.cpp b/xembed-sni-proxy/sniproxy.cpp index 09f00464d..c72a88a46 100644 --- a/xembed-sni-proxy/sniproxy.cpp +++ b/xembed-sni-proxy/sniproxy.cpp @@ -258,7 +258,7 @@ QSize SNIProxy::calculateClientWindowSize() const //if the window is a clearly stupid size resize to be something sensible //this is needed as chromium and such when resized just fill the icon with transparent space and only draw in the middle //however KeePass2 does need this as by default the window size is 273px wide and is not transparent - //use an artbitrary heuristic to make sure icons are always sensible + //use an arbitrary heuristic to make sure icons are always sensible if (clientWindowSize.isEmpty() || clientWindowSize.width() > s_embedSize || clientWindowSize.height() > s_embedSize) { qCDebug(SNIPROXY) << "Resizing window" << m_windowId << Title() << "from w*h" << clientWindowSize;