diff --git a/components/mobileshell/qml/actiondrawer/ActionDrawer.qml b/components/mobileshell/qml/actiondrawer/ActionDrawer.qml index 1ab14c62..cf15ba00 100644 --- a/components/mobileshell/qml/actiondrawer/ActionDrawer.qml +++ b/components/mobileshell/qml/actiondrawer/ActionDrawer.qml @@ -22,10 +22,10 @@ Item { id: root /* - * The intended visiblity of the action drawer. + * The intended visibility of the action drawer. * * This is separate from "visible" in order to avoid having to set - * item visiblity when its on its own window (wasteful since the window itself can be shown/hidden). + * item visibility when it's on its own window (wasteful since the window itself can be shown/hidden). */ property bool intendedToBeVisible: false diff --git a/components/mobileshell/qml/actiondrawer/private/NotificationDrawer.qml b/components/mobileshell/qml/actiondrawer/private/NotificationDrawer.qml index 329d1c4c..0112c99a 100644 --- a/components/mobileshell/qml/actiondrawer/private/NotificationDrawer.qml +++ b/components/mobileshell/qml/actiondrawer/private/NotificationDrawer.qml @@ -49,7 +49,7 @@ Item { } // notification list widget - // margin adjusted to fit and postion into the action drawer + // margin adjusted to fit and position into the action drawer MobileShell.NotificationsWidget { id: notificationWidget anchors.fill: parent @@ -74,7 +74,7 @@ Item { } } - // the first swipe when at the top of the notification list is handeled using a MouseArea, not the flickable + // the first swipe when at the top of the notification list is handled using a MouseArea, not the flickable // this is so one can swipe down from the top of the notification drawer to expand the action drawer DragHandler { id: dragHandler diff --git a/components/mobileshell/qml/actiondrawer/private/QuickSettings.qml b/components/mobileshell/qml/actiondrawer/private/QuickSettings.qml index ef396930..4069eec9 100644 --- a/components/mobileshell/qml/actiondrawer/private/QuickSettings.qml +++ b/components/mobileshell/qml/actiondrawer/private/QuickSettings.qml @@ -126,7 +126,7 @@ Item { SwipeView { id: swipeView - // we need to clip this view here to prevent the other quick settings pages from being visable + // we need to clip this view here to prevent the other quick settings pages from being visible // when fullViewProgress is not less then 1 and the base view is no longer being clipped clip: true diff --git a/components/mobileshell/qml/components/PanelBackground.qml b/components/mobileshell/qml/components/PanelBackground.qml index 5361d441..6e9d9ca3 100644 --- a/components/mobileshell/qml/components/PanelBackground.qml +++ b/components/mobileshell/qml/components/PanelBackground.qml @@ -29,7 +29,7 @@ Item { panelType === PanelBackground.PanelType.Drawer || panelType === PanelBackground.PanelType.Popup || panelType === PanelBackground.PanelType.Wallpaper - // whether to use the complex shadow effect - note that this uses more perfomance + // whether to use the complex shadow effect - note that this uses more performance readonly property bool complexShadow: shadow && (panelType === PanelBackground.PanelType.Base || panelType === PanelBackground.PanelType.Drawer || diff --git a/components/mobileshell/qml/popups/notifications/NotificationPopup.qml b/components/mobileshell/qml/popups/notifications/NotificationPopup.qml index e7aad164..0eb8c58c 100644 --- a/components/mobileshell/qml/popups/notifications/NotificationPopup.qml +++ b/components/mobileshell/qml/popups/notifications/NotificationPopup.qml @@ -133,7 +133,7 @@ Item { easing.type: Easing.OutExpo } - // if the popup height ever changes, update the notification below wiht new height + // if the popup height ever changes, update the notification below with new height // also update the allowed touch area for the main window onPopupHeightChanged: { let abovePopup = popupNotifications.objectAt(popupIndex + 1) @@ -145,14 +145,14 @@ Item { } } - // if the offset position need in the expanded drawer changes, update the notification below wiht new offset + // if the offset position need in the expanded drawer changes, update the notification below with new offset onFullOpenOffsetChanged: { let abovePopup = popupNotifications.objectAt(popupIndex + 1) if (popupIndex + 1 < popupCount && abovePopup) { abovePopup.aboveNotificationFullOffset = fullOpenOffset; } } - // if the notification is being draged and is the current one + // if the notification is being dragged and is the current one // update 'currentDragOffset' so all notifications can easily access this value onDragOffsetChanged: { let abovePopup = popupNotifications.objectAt(popupIndex + 1) @@ -564,14 +564,14 @@ Item { notificationPopup.preventDismissTimeout = true; if (!active && !(notificationItem.state == "closeWithScale" || notificationItem.state == "closeWithMove")) { if ((lastOffset - notificationPopup.dragOffset > 1.0 && notificationPopup.dragOffset < 0) || (-(notificationPopup.openOffset - notificationPopup.closedOffset) / 4 > notificationPopup.dragOffset)) { - // this code is called when the notifition is swiped or draged to the top. + // this code is called when the notification is swiped or dragged to the top. notificationPopup.closedWithSwipe = true; notificationPopup.closePopup(popupIndex); return; } dragOffsetAn.running = true; if (notificationPopup.dragOffset - lastOffset > 1.0 || Kirigami.Units.gridUnit * 3 < notificationPopup.dragOffset) { - // this code is called when the notifition is swiped or draged down. + // this code is called when the notification is swiped or dragged down. } notificationPopup.preventDismissTimeout = (keyboardInteractivity == LayerShell.Window.KeyboardInteractivityOnDemand); } else { diff --git a/components/mobileshell/qml/popups/notifications/NotificationPopupManager.qml b/components/mobileshell/qml/popups/notifications/NotificationPopupManager.qml index a4d0f217..184ee2b2 100644 --- a/components/mobileshell/qml/popups/notifications/NotificationPopupManager.qml +++ b/components/mobileshell/qml/popups/notifications/NotificationPopupManager.qml @@ -88,7 +88,7 @@ Window { if (popupDrawerOpened) { ShellUtil.setInputRegion(notificationPopupManager, Qt.rect(0, 0, 0, 0)); } else { - // get the height of the popup directly to ensure we get the lastest version + // get the height of the popup directly to ensure we get the latest version let popupHeight = Kirigami.Units.gridUnit * 6; let currentPopup = notifications.objectAt(notifications.currentPopupIndex); if (currentPopup) { diff --git a/components/waydroidintegrationplugin/waydroidapplicationlistmodel.cpp b/components/waydroidintegrationplugin/waydroidapplicationlistmodel.cpp index eec19842..3eaf8b3b 100644 --- a/components/waydroidintegrationplugin/waydroidapplicationlistmodel.cpp +++ b/components/waydroidintegrationplugin/waydroidapplicationlistmodel.cpp @@ -67,7 +67,7 @@ void WaydroidApplicationListModel::loadApplications(const QList= 0; --i) { int ind = toRemove[i]; @@ -171,7 +171,7 @@ void WaydroidApplicationListModel::installApk(const QString apkFile) Q_EMIT actionFinished(i18n("Application has been installed")); } else { Q_EMIT errorOccurred(i18n("Installation Failed")); - qCWarning(WAYDROIDINTEGRATIONPLUGIN) << "Error occured during installation of " << apkFile << ": " << process->readAllStandardError(); + qCWarning(WAYDROIDINTEGRATIONPLUGIN) << "Error occurred during installation of " << apkFile << ": " << process->readAllStandardError(); } }); } @@ -194,7 +194,7 @@ void WaydroidApplicationListModel::deleteApplication(const QString appId) Q_EMIT actionFinished(i18n("Application has been deleted")); } else { Q_EMIT errorOccurred(i18n("Application uninstall failed")); - qCWarning(WAYDROIDINTEGRATIONPLUGIN) << "Error occured during uninstallation of " << appId << ": " << errorLog; + qCWarning(WAYDROIDINTEGRATIONPLUGIN) << "Error occurred during uninstallation of " << appId << ": " << errorLog; } }); } \ No newline at end of file diff --git a/containments/homescreens/folio/applicationlistmodel.cpp b/containments/homescreens/folio/applicationlistmodel.cpp index 4495dd4c..c3980d91 100644 --- a/containments/homescreens/folio/applicationlistmodel.cpp +++ b/containments/homescreens/folio/applicationlistmodel.cpp @@ -113,7 +113,7 @@ void ApplicationListModel::load() std::sort(toRemove.begin(), toRemove.end()); - // Remove indices first, from end to start to avoid indicies changing + // Remove indices first, from end to start to avoid indices changing for (int i = toRemove.size() - 1; i >= 0; --i) { int ind = toRemove[i]; diff --git a/containments/homescreens/folio/delegatetoucharea.cpp b/containments/homescreens/folio/delegatetoucharea.cpp index f58828db..a4c92980 100644 --- a/containments/homescreens/folio/delegatetoucharea.cpp +++ b/containments/homescreens/folio/delegatetoucharea.cpp @@ -18,7 +18,7 @@ DelegateTouchArea::DelegateTouchArea(QQuickItem *parent) m_pressAndHoldTimer->setSingleShot(true); connect(m_pressAndHoldTimer, &QTimer::timeout, this, &DelegateTouchArea::startPressAndHold); - // Explcitly call setCursor on QQuickItem since + // Explicitly call setCursor on QQuickItem since // it internally keeps a boolean hasCursor that doesn't // get set to true unless you call setCursor setCursor(Qt::ArrowCursor); diff --git a/containments/homescreens/halcyon/pinnedmodel.cpp b/containments/homescreens/halcyon/pinnedmodel.cpp index 12a2a783..1bfd4b3d 100644 --- a/containments/homescreens/halcyon/pinnedmodel.cpp +++ b/containments/homescreens/halcyon/pinnedmodel.cpp @@ -56,7 +56,7 @@ void PinnedModel::addApp(const QString &storageId, int row) beginInsertRows(QModelIndex(), row, row); m_applications.insert(row, app); - m_folders.insert(row, nullptr); // maintain indicies + m_folders.insert(row, nullptr); // maintain indices endInsertRows(); save(); diff --git a/kcms/waydroidintegration/ui/WaydroidConfigurationForm.qml b/kcms/waydroidintegration/ui/WaydroidConfigurationForm.qml index 45525e2b..9c1f180f 100644 --- a/kcms/waydroidintegration/ui/WaydroidConfigurationForm.qml +++ b/kcms/waydroidintegration/ui/WaydroidConfigurationForm.qml @@ -68,7 +68,7 @@ ColumnLayout { } - // Some informations as IP address can take time to be set by Waydroid + // Some information such as IP address can take time to be set by Waydroid Timer { id: autoRefreshSessionTimer interval: 2000 diff --git a/kwin/mobiletaskswitcher/package/contents/ui/TaskList.qml b/kwin/mobiletaskswitcher/package/contents/ui/TaskList.qml index 4954d085..8b74aa93 100644 --- a/kwin/mobiletaskswitcher/package/contents/ui/TaskList.qml +++ b/kwin/mobiletaskswitcher/package/contents/ui/TaskList.qml @@ -82,7 +82,7 @@ MouseArea { } } - // the postition offset value for non-active tasks in the task drawer + // the position offset value for non-active tasks in the task drawer // this value is normalized and is usually set to 0, 1, or 2 (larger the number, the further they are from the active task) property real baseTaskOffset: 0 diff --git a/kwin/mobiletaskswitcher/package/contents/ui/TaskSwitcher.qml b/kwin/mobiletaskswitcher/package/contents/ui/TaskSwitcher.qml index bef2388c..48b0752e 100644 --- a/kwin/mobiletaskswitcher/package/contents/ui/TaskSwitcher.qml +++ b/kwin/mobiletaskswitcher/package/contents/ui/TaskSwitcher.qml @@ -72,7 +72,7 @@ FocusScope { hide(); } else if (tasksCount < oldTasksCount) { if (state.currentTaskIndex < 0) { - // if the user is on the frist task, and it is closed, scroll right + // if the user is on the first task, and it is closed, scroll right taskSwitcherHelpers.animateGoToTaskIndex(0, Kirigami.Units.longDuration); } else if (state.currentTaskIndex >= tasksCount) { // if the user is on the last task, and it is closed, scroll left @@ -273,7 +273,7 @@ FocusScope { if (root.taskSwitcherHelpers.gestureState < TaskSwitcherHelpers.GestureStates.TaskSwitcher) { root.setTaskDrawerState(TaskSwitcherHelpers.GestureStates.Home) } - // if the touch is above heightThreshold, it will retrun home + // if the touch is above heightThreshold, it will return home if (unmodifiedYposition > root.taskSwitcherHelpers.heightThreshold) { root.taskSwitcherHelpers.hasVibrated = true; if (root.taskSwitcherHelpers.notHomeScreenState) { @@ -420,7 +420,7 @@ FocusScope { } } - // kind of a hack, but this prevents the gesture from immediately activting the task switcher when it is not supposed to + // kind of a hack, but this prevents the gesture from immediately activating the task switcher when it is not supposed to Timer { id: taskSwitchCanLaunchTimer interval: 1; running: true; repeat: false diff --git a/kwin/mobiletaskswitcher/package/contents/ui/TaskSwitcherHelpers.qml b/kwin/mobiletaskswitcher/package/contents/ui/TaskSwitcherHelpers.qml index 665dac78..678b5aeb 100644 --- a/kwin/mobiletaskswitcher/package/contents/ui/TaskSwitcherHelpers.qml +++ b/kwin/mobiletaskswitcher/package/contents/ui/TaskSwitcherHelpers.qml @@ -84,7 +84,7 @@ QtObject { // we don't want to continuously send haptics, just once is enough property bool hasVibrated: false - // The current gesture state to decide what will happpen when it is completed + // The current gesture state to decide what will happen when it is completed enum GestureStates { Undecided, HorizontalSwipe, diff --git a/quicksettings/nightcolor/enum.h b/quicksettings/nightcolor/enum.h index fae55f84..6c354272 100644 --- a/quicksettings/nightcolor/enum.h +++ b/quicksettings/nightcolor/enum.h @@ -31,7 +31,7 @@ enum NightColorMode { */ Timings, /** - * Color temperature is constant thoughout the day. + * Color temperature is constant throughout the day. */ Constant, };