diff --git a/examples/applets/samegame/contents/qml/highscores/README b/examples/applets/samegame/contents/qml/highscores/README index eaa00fae3..4c6a542d2 100644 --- a/examples/applets/samegame/contents/qml/highscores/README +++ b/examples/applets/samegame/contents/qml/highscores/README @@ -1 +1 @@ -The SameGame example can interface with a simple PHP script to store XML high score data on a remote server. We do not have a publically accessible server available for this use, but if you have access to a PHP capable webserver you can copy the files (score_data.xml, score.php, score_style.xsl) to it and alter the highscore_server variable at the top of the samegame.js file to point to it. +The SameGame example can interface with a simple PHP script to store XML high score data on a remote server. We do not have a publicly accessible server available for this use, but if you have access to a PHP capable webserver you can copy the files (score_data.xml, score.php, score_style.xsl) to it and alter the highscore_server variable at the top of the samegame.js file to point to it. diff --git a/examples/dataengines/customDataContainers/customDataContainersEngine.cpp b/examples/dataengines/customDataContainers/customDataContainersEngine.cpp index 2cfe14251..2830ebacc 100644 --- a/examples/dataengines/customDataContainers/customDataContainersEngine.cpp +++ b/examples/dataengines/customDataContainers/customDataContainersEngine.cpp @@ -29,7 +29,7 @@ bool DataContainersEngine::sourceRequestEvent(const QString &source) // This engine will fetch webpages over http. First thing we do is check // the source to make sure it is indeed an http URL. QUrl url(source); - qDebug() << "goin to fetch" << source << url << url.scheme(); + qDebug() << "going to fetch" << source << url << url.scheme(); if (!url.scheme().startsWith(QLatin1String("http"), Qt::CaseInsensitive)) { return false; } diff --git a/src/declarativeimports/CMakeLists.txt b/src/declarativeimports/CMakeLists.txt index abcea3fc8..2335a7698 100644 --- a/src/declarativeimports/CMakeLists.txt +++ b/src/declarativeimports/CMakeLists.txt @@ -31,7 +31,7 @@ ENDFOREACH(infileName) #install the components as a QQC2 Style, as style for applications (mainly for Plasma Mobile) install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/ DESTINATION ${KDE_INSTALL_QMLDIR}/QtQuick/Controls.2/Plasma) -#install some of the componets as a separate import, to be used in plasmoids (some of them like ApplicationWindow are of no use for plasmoids) +#install some of the components as a separate import, to be used in plasmoids (some of them like ApplicationWindow are of no use for plasmoids) install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/ DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/components.3) diff --git a/src/declarativeimports/calendar/calendarplugin.cpp b/src/declarativeimports/calendar/calendarplugin.cpp index 657b2698e..026dd3ba2 100644 --- a/src/declarativeimports/calendar/calendarplugin.cpp +++ b/src/declarativeimports/calendar/calendarplugin.cpp @@ -30,5 +30,5 @@ void CalendarPlugin::registerTypes(const char *uri) qmlRegisterAnonymousType(uri, 1); qmlRegisterAnonymousType(uri, 1); qmlRegisterSingletonType(uri, 2, 0, "EventPluginsManager", event_plugins_manager_provider); - qmlRegisterUncreatableType(uri, 2, 0, "EventDataDecorator", QStringLiteral("Unabel to create EventDataDecorator from QML")); + qmlRegisterUncreatableType(uri, 2, 0, "EventDataDecorator", QStringLiteral("Unable to create EventDataDecorator from QML")); } diff --git a/src/declarativeimports/calendar/daysmodel.cpp b/src/declarativeimports/calendar/daysmodel.cpp index c0cb8e254..5995c6f2e 100644 --- a/src/declarativeimports/calendar/daysmodel.cpp +++ b/src/declarativeimports/calendar/daysmodel.cpp @@ -208,7 +208,7 @@ void DaysModel::onEventRemoved(const QString &uid) // using beginResetModel() since this creates a small visual glitches // if an event is removed in Korganizer and the calendar is open. // Using beginRemoveRows instead we make the code a lot more complex - // and if not done correcly will introduce bugs. + // and if not done correctly will introduce bugs. beginResetModel(); QList updatesList; auto i = m_eventsData.begin(); diff --git a/src/declarativeimports/calendar/qml/MonthView.qml b/src/declarativeimports/calendar/qml/MonthView.qml index 281c95546..7268c2890 100644 --- a/src/declarativeimports/calendar/qml/MonthView.qml +++ b/src/declarativeimports/calendar/qml/MonthView.qml @@ -229,7 +229,7 @@ PinchArea { // TODO KF6 switch to Item ColumnLayout { id: viewHeader visible: !showCustomHeader - // Make sure the height of the invible item is zero, otherwise anchoring to the iten will + // Make sure the height of the invisible item is zero, otherwise anchoring to the item will // include the height even if it is invisible. height: !visible ? 0 : implicitHeight width: parent.width diff --git a/src/declarativeimports/core/units.h b/src/declarativeimports/core/units.h index 780eec57e..c94c3f442 100644 --- a/src/declarativeimports/core/units.h +++ b/src/declarativeimports/core/units.h @@ -237,7 +237,7 @@ public: /// @endcond /** - * @return a size rounded tothe nearest inferior standard icon size. + * @return a size rounded to the nearest inferior standard icon size. * sizes larger than iconSizes.huge, it will be returned unmodified * @param int size the size we want to be rounded down * @see iconSizes diff --git a/src/declarativeimports/plasmacomponents3/TextField.qml b/src/declarativeimports/plasmacomponents3/TextField.qml index 49268812b..6582f6340 100644 --- a/src/declarativeimports/plasmacomponents3/TextField.qml +++ b/src/declarativeimports/plasmacomponents3/TextField.qml @@ -38,7 +38,7 @@ T.TextField { // Can't guarantee that background will always be present or have the margins property readonly property bool __hasBackgroundAndMargins: background && background.hasOwnProperty("margins") - /* It might be preferrable to do background width OR content width if we + /* It might be preferable to do background width OR content width if we * want content to stay within the background rather than expanding the * control, but this is maintaining compatibility with the pre-existing * behavior. Use the following 2 lines if you want text to stay within the diff --git a/src/plasma/applet.h b/src/plasma/applet.h index 51cc28dca..e3dd22f72 100644 --- a/src/plasma/applet.h +++ b/src/plasma/applet.h @@ -212,7 +212,7 @@ public: * Saves state information about this applet that will * be accessed when next instantiated in the restore(KConfigGroup&) method. * - * This method does not need to be reimplmented by Applet + * This method does not need to be reimplemented by Applet * subclasses, but can be useful for Applet specializations * (such as Containment) to do so. * @@ -224,7 +224,7 @@ public: * Restores state information about this applet saved previously * in save(KConfigGroup&). * - * This method does not need to be reimplmented by Applet + * This method does not need to be reimplemented by Applet * subclasses, but can be useful for Applet specializations * (such as Containment) to do so. **/ @@ -487,7 +487,7 @@ public: bool hasConfigurationInterface() const; Q_SIGNALS: - // BOOKEEPING + // BOOKKEEPING /** * Emitted when the immutability changes * @since 4.4 diff --git a/src/plasma/dataengine.cpp b/src/plasma/dataengine.cpp index a6a642132..6aa426a1f 100644 --- a/src/plasma/dataengine.cpp +++ b/src/plasma/dataengine.cpp @@ -109,7 +109,7 @@ void DataEngine::connectSource(const QString &source, QObject *visualization, ui if (s) { // we suppress the immediate invocation of dataUpdated here if the - // source was prexisting and they don't request delayed updates + // source was preexisting and they don't request delayed updates // (we want to do an immediate update in that case so they don't // have to wait for the first time out) if (newSource && !s->data().isEmpty()) { diff --git a/src/plasma/pluginloader.h b/src/plasma/pluginloader.h index 655b91e5b..41bb0d4d1 100644 --- a/src/plasma/pluginloader.h +++ b/src/plasma/pluginloader.h @@ -174,7 +174,7 @@ public: * Returns a list of all known applets. * This may skip applets based on security settings and ExcludeCategories in the application's config. * - * @param category Only applets matchin this category will be returned. + * @param category Only applets matching this category will be returned. * Useful in conjunction with knownCategories. * If "Misc" is passed in, then applets without a * Categories= entry are also returned. diff --git a/src/plasma/private/containment_p.cpp b/src/plasma/private/containment_p.cpp index 564cb43a0..2814b3d04 100644 --- a/src/plasma/private/containment_p.cpp +++ b/src/plasma/private/containment_p.cpp @@ -222,7 +222,7 @@ void ContainmentPrivate::setStarted() void ContainmentPrivate::setUiReady() { - // if we are the containment and there is still some uncomplete applet, we're still incomplete + // if we are the containment and there is still some incomplete applet, we're still incomplete if (!uiReady) { uiReady = true; if (q->Applet::d->started && (appletsUiReady || applets.isEmpty()) && loadingApplets.isEmpty()) { diff --git a/src/plasma/private/framesvg_p.h b/src/plasma/private/framesvg_p.h index 9187d050a..511aac95d 100644 --- a/src/plasma/private/framesvg_p.h +++ b/src/plasma/private/framesvg_p.h @@ -173,7 +173,7 @@ public: Types::Location location = Types::Floating; QString prefix; - // sometimes the prefix we requested is not available, so prefix will be emoty + // sometimes the prefix we requested is not available, so prefix will be empty // keep track of the requested one anyways, we'll try again when the theme changes QString requestedPrefix; diff --git a/src/plasmaquick/Mainpage.dox b/src/plasmaquick/Mainpage.dox index 3f92a14aa..2a797e7d3 100644 --- a/src/plasmaquick/Mainpage.dox +++ b/src/plasmaquick/Mainpage.dox @@ -13,7 +13,7 @@ QML applets should import org.kde.plasma.plasmoid 2.0 in order to access this at - WallpaperInterface -which is exposed as to wallpapers as the attached propety "wallpaper". +which is exposed as to wallpapers as the attached property "wallpaper". It does not require any special imports diff --git a/src/tools/inkscape extensions/plasmarename.py b/src/tools/inkscape extensions/plasmarename.py index 27cf80981..2a6be3d22 100644 --- a/src/tools/inkscape extensions/plasmarename.py +++ b/src/tools/inkscape extensions/plasmarename.py @@ -47,7 +47,7 @@ class PlasmaNamesEffect(pathmodifier.PathModifier): else: return - #some euristics to normalize the values, find the least coords ans size + #some heuristics to normalize the values, find the least coords and size minX = 9999 minY = 9999 minWidth = 9999 diff --git a/tests/kplugins/plugintest.cpp b/tests/kplugins/plugintest.cpp index 762a7d4b1..0ef6b1e4b 100644 --- a/tests/kplugins/plugintest.cpp +++ b/tests/kplugins/plugintest.cpp @@ -83,7 +83,7 @@ bool PluginTest::loadKPlugin() qDebug() << "loaded successfully and cast"; qDebug() << "metadata: " << loader.metaData(); // QObject *o = factory->createPlugin("time"); - // qDebug() << " objec name:" << o->objectName(); + // qDebug() << " object name:" << o->objectName(); // Plasma::DataEngine *time_engine = qobject_cast(factory->create(this, QVariantList())); Plasma::DataEngine *time_engine = nullptr; // Plasma::DataEngine *time_engine = factory->create(this, QVariantList()); @@ -137,7 +137,7 @@ void PluginTest::loadKQPlugin() qDebug() << "loaded successfully and cast"; qDebug() << "metadata: " << loader.metaData(); //QObject *o = factory->createPlugin("time"); - //qDebug() << " objec name:" << o->objectName(); + //qDebug() << " object name:" << o->objectName(); //Plasma::DataEngine *time_engine = qobject_cast(factory->create(this, QVariantList())); //Plasma::DataEngine *time_engine = factory->create(this, QVariantList()); Plasma::DataEngine *time_engine = factory->createInstance(0, this, QVariantList());