diff --git a/examples/dataengines/CMakeLists.txt b/examples/dataengines/CMakeLists.txt index bbcf1510b..d5bfcb274 100644 --- a/examples/dataengines/CMakeLists.txt +++ b/examples/dataengines/CMakeLists.txt @@ -1,3 +1,3 @@ add_subdirectory(simpleEngine) add_subdirectory(sourcesOnRequest) -add_subdirectory(customDataContainers) \ No newline at end of file +add_subdirectory(customDataContainers) diff --git a/examples/dataengines/customDataContainers/httpContainer.cpp b/examples/dataengines/customDataContainers/httpContainer.cpp index 85553c28f..fd72d8840 100644 --- a/examples/dataengines/customDataContainers/httpContainer.cpp +++ b/examples/dataengines/customDataContainers/httpContainer.cpp @@ -91,7 +91,7 @@ void HttpContainer::fetchFinished(KJob *job) // data has been updated. This will cause visualizations to be updated. checkForUpdate(); - // Clean up behind ourselves so there isn't unecessary memory usage + // Clean up behind ourselves so there isn't unnecessary memory usage m_data.clear(); } } diff --git a/src/declarativeimports/calendar/calendar.cpp b/src/declarativeimports/calendar/calendar.cpp index 46b19baad..1638f23c7 100644 --- a/src/declarativeimports/calendar/calendar.cpp +++ b/src/declarativeimports/calendar/calendar.cpp @@ -149,7 +149,7 @@ void Calendar::setWeeks(int weeks) int Calendar::firstDayOfWeek() const { - // QML has Sunday as 0, so we need to accomodate here + // QML has Sunday as 0, so we need to accommodate here return m_firstDayOfWeek == 7 ? 0 : m_firstDayOfWeek; } @@ -160,7 +160,7 @@ void Calendar::setFirstDayOfWeek(int day) } if (m_firstDayOfWeek != day) { - // QML has Sunday as 0, so we need to accomodate here + // QML has Sunday as 0, so we need to accommodate here // for QDate functions which have Sunday as 7 if (day == 0) { m_firstDayOfWeek = 7; diff --git a/src/declarativeimports/calendar/calendar.h b/src/declarativeimports/calendar/calendar.h index 95755e6cd..57e0ea70d 100644 --- a/src/declarativeimports/calendar/calendar.h +++ b/src/declarativeimports/calendar/calendar.h @@ -103,7 +103,7 @@ class Calendar : public QObject Q_PROPERTY(int year READ year NOTIFY yearChanged) /** - * If an error occured, it will be set in this string as human readable text. + * If an error occurred, it will be set in this string as human readable text. */ Q_PROPERTY(QString errorMessage READ errorMessage NOTIFY errorMessageChanged) diff --git a/src/declarativeimports/calendar/qml/CalendarToolbar.qml b/src/declarativeimports/calendar/qml/CalendarToolbar.qml index b9ae3f7a5..a5ca3662d 100644 --- a/src/declarativeimports/calendar/qml/CalendarToolbar.qml +++ b/src/declarativeimports/calendar/qml/CalendarToolbar.qml @@ -96,4 +96,4 @@ Row { calendarBackend.nextMonth() } } -} \ No newline at end of file +} diff --git a/src/declarativeimports/calendar/qml/DaysCalendar.qml b/src/declarativeimports/calendar/qml/DaysCalendar.qml index 0ad5836f5..0cae8a845 100644 --- a/src/declarativeimports/calendar/qml/DaysCalendar.qml +++ b/src/declarativeimports/calendar/qml/DaysCalendar.qml @@ -35,7 +35,7 @@ Item { signal next signal activated(int index, var date, var item) - // so it forwards it to the delegate which then emits activated with all the neccessary data + // so it forwards it to the delegate which then emits activated with all the necessary data signal activateHighlightedItem readonly property int gridColumns: showWeekNumbers ? calendarGrid.columns + 1 : calendarGrid.columns diff --git a/src/declarativeimports/core/svgitem.cpp b/src/declarativeimports/core/svgitem.cpp index d1b37b9f4..919d6aeb3 100644 --- a/src/declarativeimports/core/svgitem.cpp +++ b/src/declarativeimports/core/svgitem.cpp @@ -137,7 +137,7 @@ QSGNode *SvgItem::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updateP return nullptr; } - //this is more than just an optimisation, uploading a null image to QSGAtlasTexture causes a crash + //this is more than just an optimization, uploading a null image to QSGAtlasTexture causes a crash if (width() == 0.0 || height() == 0.0) { delete oldNode; return nullptr; diff --git a/src/declarativeimports/plasmacomponents/qml/ModelContextMenu.qml b/src/declarativeimports/plasmacomponents/qml/ModelContextMenu.qml index 2409ee088..0736ab1db 100644 --- a/src/declarativeimports/plasmacomponents/qml/ModelContextMenu.qml +++ b/src/declarativeimports/plasmacomponents/qml/ModelContextMenu.qml @@ -28,7 +28,7 @@ import QtQml 2.0 * For standard item models, actions are created using the following model role names or properties * display - a string contains the action name * decoration - an icon to display - * separator - boolean that will add a seperator in the list + * separator - boolean that will add a separator in the list * * * diff --git a/src/declarativeimports/plasmaextracomponents/CMakeLists.txt b/src/declarativeimports/plasmaextracomponents/CMakeLists.txt index bd53462c9..5b1400020 100644 --- a/src/declarativeimports/plasmaextracomponents/CMakeLists.txt +++ b/src/declarativeimports/plasmaextracomponents/CMakeLists.txt @@ -31,7 +31,7 @@ ecm_generate_qmltypes(org.kde.plasma.extras 2.0 DESTINATION ${KDE_INSTALL_QMLDIR # The platform specific stuff, overwrites a copy of the desktop one # it does install some files on top of the old ones, has to be done # file by file since if some component from the generic set is more -# recent than the specifc ones, it wouldn't be overwritten +# recent than the specific ones, it wouldn't be overwritten #install(TARGETS plasmaextracomponentsplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/platformimports/touch/org/kde/plasma/extras) #install(FILES qml/qmldir DESTINATION ${KDE_INSTALL_PLUGINDIR}/platformimports/touch/org/kde/plasma/extras) diff --git a/src/declarativeimports/plasmaextracomponents/fallbackcomponent.h b/src/declarativeimports/plasmaextracomponents/fallbackcomponent.h index c1c4297cd..022da488f 100644 --- a/src/declarativeimports/plasmaextracomponents/fallbackcomponent.h +++ b/src/declarativeimports/plasmaextracomponents/fallbackcomponent.h @@ -51,7 +51,7 @@ public: explicit FallbackComponent(QObject *parent = nullptr); /** - * This method must be called after the the basePath and the candidates property + * This method must be called after the basePath and the candidates property * This method resolves a file path based on the base path and the candidates. * it searches for a file named key under basepath/candidate/key, and returns * the path constructed with the first candidate that matches, if any. diff --git a/src/plasma/plasma.h b/src/plasma/plasma.h index 5f8936d1d..6c46fb8f8 100644 --- a/src/plasma/plasma.h +++ b/src/plasma/plasma.h @@ -113,7 +113,7 @@ public: ConfigureAction = 100, /**< The Action will make some kind of configuration ui to appear */ ControlAction = 200, /**< Generic control, similar to ConfigureAction TODO: better doc */ MiscAction = 300, /**< A type of action that doesn't fit in the oher categories */ - DestructiveAction = 400, /**< A dangerous action, such as deletion of objects, plasmoids and files. They are intended to be shown separed from other actions */ + DestructiveAction = 400, /**< A dangerous action, such as deletion of objects, plasmoids and files. They are intended to be shown separated from other actions */ UserAction = DestructiveAction + 1000 /**< If new types are needed in a C++ implementation, define them as ids more than UserAction*/ }; Q_ENUM(ActionType) diff --git a/src/plasma/svg.h b/src/plasma/svg.h index d3ca3ea59..e960d79cb 100644 --- a/src/plasma/svg.h +++ b/src/plasma/svg.h @@ -402,7 +402,7 @@ public: bool fromCurrentTheme() const; /** - * Sets wether the Svg uses the global system theme for its colors or + * Sets whether the Svg uses the global system theme for its colors or * the Plasma theme. Default is False. * * @since 5.16 diff --git a/src/plasma/theme.h b/src/plasma/theme.h index 705c7d84c..98bb095a7 100644 --- a/src/plasma/theme.h +++ b/src/plasma/theme.h @@ -314,7 +314,7 @@ public: void releaseRectsCache(const QString &image); /** - * @return plugin info for this theme, with informations such as + * @return plugin info for this theme, with information such as * name, description, author, website etc * @since 5.0 */ diff --git a/src/plasmaquick/appletquickitem.cpp b/src/plasmaquick/appletquickitem.cpp index 0b18ec140..98bbc5ed8 100644 --- a/src/plasmaquick/appletquickitem.cpp +++ b/src/plasmaquick/appletquickitem.cpp @@ -685,7 +685,7 @@ void AppletQuickItem::init() const int preloadWeight = d->preloadWeight(); qCInfo(LOG_PLASMAQUICK) << "New Applet " << d->applet->title() << "with a weight of" << preloadWeight; - //don't preload applets less then a certain weigth + //don't preload applets less then a certain weight if (d->s_preloadPolicy >= AppletQuickItemPrivate::Aggressive || preloadWeight >= AppletQuickItemPrivate::DelayedPreloadWeight) { //spread the creation over a random delay to make it look //plasma started already, and load the popup in the background diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp index fe5d9b28a..b3fe857f4 100644 --- a/src/plasmaquick/dialog.cpp +++ b/src/plasmaquick/dialog.cpp @@ -947,7 +947,7 @@ QPoint Dialog::popupPosition(QQuickItem *item, const QSize &size) QRect avail = item->window()->screen()->availableGeometry(); if (outsideParentWindow && d->frameSvgItem->enabledBorders() != Plasma::FrameSvg::AllBorders) { - //make the panel look it's inside the panel, in order to not make it look cutted + //make the panel look it's inside the panel, in order to not make it look cut switch (d->location) { case Plasma::Types::LeftEdge: case Plasma::Types::RightEdge: diff --git a/src/plasmaquick/packageurlinterceptor.h b/src/plasmaquick/packageurlinterceptor.h index b97ef038a..191eed49b 100644 --- a/src/plasmaquick/packageurlinterceptor.h +++ b/src/plasmaquick/packageurlinterceptor.h @@ -78,7 +78,7 @@ public: extension == QStringLiteral("png") || extension == QStringLiteral("gif") || extension == QStringLiteral("jpg") || extension == QStringLiteral("jpeg")) { return QByteArray("images"); - //FIXME: are those necessary? are they *always* catched by type? + //FIXME: are those necessary? are they *always* caught by type? } else if (extension == QStringLiteral("js")) { return QByteArray("code"); } else if (extension == QStringLiteral("qml") || extension == QStringLiteral("qmldir")) { diff --git a/src/scriptengines/qml/plasmoid/containmentinterface.cpp b/src/scriptengines/qml/plasmoid/containmentinterface.cpp index 760ca5be2..7fa070c73 100644 --- a/src/scriptengines/qml/plasmoid/containmentinterface.cpp +++ b/src/scriptengines/qml/plasmoid/containmentinterface.cpp @@ -1032,7 +1032,7 @@ void ContainmentInterface::mousePressEvent(QMouseEvent *event) addContainmentActions(desktopMenu, event); } - //this is a workaround where Qt will fail to realise a mouse has been released + //this is a workaround where Qt will fail to realize a mouse has been released // this happens if a window which does not accept focus spawns a new window that takes focus and X grab // whilst the mouse is depressed