]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix minor typos
authorYuri Chornoivan <yurchor@ukr.net>
Thu, 25 Oct 2018 18:23:44 +0000 (21:23 +0300)
committerYuri Chornoivan <yurchor@ukr.net>
Thu, 25 Oct 2018 18:23:44 +0000 (21:23 +0300)
14 files changed:
src/dolphintabpage.h
src/kitemviews/kfileitemlistview.cpp
src/kitemviews/kfileitemmodelrolesupdater.cpp
src/kitemviews/kitemlistview.h
src/kitemviews/private/kpixmapmodifier.h
src/panels/places/placesitemmodel.h
src/settings/viewpropertiesdialog.cpp
src/statusbar/dolphinstatusbar.cpp
src/tests/kitemlistselectionmanagertest.cpp
src/tests/kitemsettest.cpp
src/views/dolphinview.h
src/views/dolphinviewactionhandler.h
src/views/versioncontrol/kversioncontrolplugin.h
src/views/viewproperties.cpp

index 6c70a60621ba4bb8bdeac1175fd7a6412686311a..6e3e008accf40af4d4c25dfd615353a9574a83ad 100644 (file)
@@ -53,12 +53,12 @@ public:
     void setSplitViewEnabled(bool enabled, const QUrl &secondaryUrl = QUrl());
 
     /**
-     * @return The primary view containter.
+     * @return The primary view container.
      */
     DolphinViewContainer* primaryViewContainer() const;
 
     /**
-     * @return The secondary view containter, can be 0 if split view is disabled.
+     * @return The secondary view container, can be 0 if split view is disabled.
      */
     DolphinViewContainer* secondaryViewContainer() const;
 
index 3c1ef1b98dee04ecaecfa453f20a966fdbb2d6ef..b1d3da643d5ca195d0b993228dca65e6aa60707e 100644 (file)
@@ -35,7 +35,7 @@
 
 namespace {
     // If the visible index range changes, KFileItemModelRolesUpdater is not
-    // informed immediatetly, but with a short delay. This ensures that scrolling
+    // informed immediately, but with a short delay. This ensures that scrolling
     // always feels smooth and is not interrupted by icon loading (which can be
     // quite expensive if a disk access is required to determine the final icon).
     const int ShortInterval = 50;
index f4d69dec2766b83ce8f768bc005815056f88650a..1d45e44c5deb554de1fadca2ebb0dc5fb5195877 100644 (file)
@@ -521,7 +521,7 @@ void KFileItemModelRolesUpdater::slotGotPreview(const KFileItem& item, const QPi
                                    scaledPixmap);
                 scaledPixmap = largeFrame;
             } else {
-                // The image must be shrinked as it is too large to fit into
+                // The image must be shrunk as it is too large to fit into
                 // the available icon size
                 KPixmapModifier::applyFrame(scaledPixmap, m_iconSize);
             }
@@ -1148,7 +1148,7 @@ QList<int> KFileItemModelRolesUpdater::indexesToResolve() const
 
     // We need a reasonable upper limit for number of items to resolve after
     // and before the visible range. m_maximumVisibleItems can be quite large
-    // when using Compace View.
+    // when using Compact View.
     const int readAheadItems = qMin(ReadAheadPages * m_maximumVisibleItems, ResolveAllItemsLimit / 2);
 
     // Add items after the visible range.
index 8320883f1fc323dd405801cfc1b900af21fd9f39..3a4a469bb43534db4f9caedf820750a5043c7241 100644 (file)
@@ -210,7 +210,7 @@ public:
 
     /**
      * If set to true, items having child-items can be expanded to show the child-items as
-     * part of the view. Per default the expanding of items is is disabled. If expanding of
+     * part of the view. Per default the expanding of items is disabled. If expanding of
      * items is enabled, the methods KItemModelBase::setExpanded(), KItemModelBase::isExpanded(),
      * KItemModelBase::isExpandable() and KItemModelBase::expandedParentsCount()
      * must be reimplemented. The view-implementation
index e48abf515fae503a1e789a2f84afb8117555cfe3..3f7747b55eee9f8761ef78e3fb893479019d7999 100644 (file)
@@ -45,7 +45,7 @@ public:
     /**
      * return and paint a frame round an icon
      * @arg framesize is in device-independent pixels
-     * @return is in device-indepent pixels
+     * @return is in device-independent pixels
      */
 
     static QSize sizeInsideFrame(const QSize& frameSize);
index c4ff7e2ddd97b549da74df073d084db5b940a56e..58d0d55b2b6dab9ab47b3798e233fc75d43a5292 100644 (file)
@@ -60,7 +60,7 @@ public:
     PlacesItem* placesItem(int index) const;
 
     /**
-     * @brief Mark an item as hiden
+     * @brief Mark an item as hidden
      * @param index of the item to be hidden
      */
     void hideItem(int index);
index 9002765b5ad07c7deb627c85dec572a949353a71..a7aa8709836d1d521e3d78e734cb6327bf87d1d2 100644 (file)
@@ -366,7 +366,7 @@ void ViewPropertiesDialog::applyViewProperties()
 
     const bool applyToAllFolders = m_applyToAllFolders && m_applyToAllFolders->isChecked();
 
-    // If the user selected 'Apply To All Folders' the view properties implicitely
+    // If the user selected 'Apply To All Folders' the view properties implicitly
     // are also used as default for new folders.
     const bool useAsDefault = applyToAllFolders || (m_useAsDefault && m_useAsDefault->isChecked());
     if (useAsDefault) {
index b3fddba10825ba58164d183d405f5e43cb501bd8..0feaa119bcd5d5a81f1b356b76f2e9a8a4fe1ef2 100644 (file)
@@ -147,7 +147,7 @@ void DolphinStatusBar::setText(const QString& text)
 
     if (text.isEmpty()) {
         // Assure that the previous set text won't get
-        // cleared immediatelly.
+        // cleared immediately.
         m_resetToDefaultTextTimer->start();
     } else {
         m_text = text;
index b65486357876ab7292294e804a283057a8607b5e..0655dcfb0bf4732bd185fffc80358bac03708a2b 100644 (file)
@@ -451,7 +451,7 @@ void KItemListSelectionManagerTest::testChangeSelection()
     QVERIFY(!m_selectionManager->hasSelection());
     QVERIFY(m_selectionManager->selectedItems().isEmpty());
 
-    // Perform the initial selectiion
+    // Perform the initial selection
     m_selectionManager->setSelectedItems(initialSelection);
 
     verifySelectionChange(spySelectionChanged, initialSelection, KItemSet());
index 3e74184c2cb4d83093af8a24afb4e7d7d2aa6aed..27f8413a75b273700f44ff7833f4049e752b8aa4 100644 (file)
@@ -326,7 +326,7 @@ void KItemSetTest::testFind_data()
 
 /**
  * Test all functions that find items:
- * contais(int), find(int), constFind(int)
+ * contains(int), find(int), constFind(int)
  */
 void KItemSetTest::testFind()
 {
@@ -498,7 +498,7 @@ void KItemSetTest::testChangingOneItem()
             QCOMPARE(tmp.end(), tmp.find(i));
             QCOMPARE(tmp.constEnd(), tmp.constFind(i));
 
-            // Check the returen value, now contained in 'it'.
+            // Check the returned value, now contained in 'it'.
             if (i == max) {
                 QCOMPARE(it, tmp.end());
             } else {
index ea1b9c00771c52afad13b7f4493c8a62f8611c8d..a618b2ce372994572f1436cd3e6d1d25e1ad8241 100644 (file)
@@ -646,7 +646,7 @@ private slots:
 
     /**
      * Invoked when the file item model indicates that the loading of a directory has
-     * been completed. Assures that pasted items and renamed items get seleced.
+     * been completed. Assures that pasted items and renamed items get selected.
      */
     void slotDirectoryLoadingCompleted();
 
index fa0487e1bebec853ca04d880a63c5e212fe71755..537adb4da53ed6b0d8f7300d27e24a63ac68809b 100644 (file)
@@ -84,7 +84,7 @@ public Q_SLOTS:
 Q_SIGNALS:
     /**
      * Emitted by DolphinViewActionHandler when the user triggered an action.
-     * This is only used for clearining the statusbar in DolphinMainWindow.
+     * This is only used for clearing the statusbar in DolphinMainWindow.
      */
     void actionBeingHandled();
 
index d59da515bab2dada55b117b7bf366274e984b9e6..2879745349653126579ae2ebcff96222d221facd 100644 (file)
@@ -137,7 +137,7 @@ public:
          */
         IgnoredVersion,
         /**
-         * The file is is tracked by the version control system, but
+         * The file is tracked by the version control system, but
          * is missing in the directory (e.g. by deleted without using
          * a version control command).
          * @since 4.8
index d7c6abd65ed9742bc3d4fa944fe62d150c823c73..e056e25e3b5d81da541b7b20b8c71698f84b1841 100644 (file)
@@ -283,7 +283,7 @@ QList<QByteArray> ViewProperties::visibleRoles() const
     //
     // For the details-view a special case must be respected: Per default the size
     // and date should be shown without creating a .directory file. Only if
-    // the user explictly has modified the properties of the details view (marked
+    // the user explicitly has modified the properties of the details view (marked
     // by "CustomizedDetails"), also a details-view with no additional information
     // is accepted.