Fix minor typos

This commit is contained in:
Yuri Chornoivan 2018-10-25 21:23:44 +03:00
parent 642a427d03
commit fd1a078cc4
14 changed files with 17 additions and 17 deletions

View 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;

View 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;

View 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.

View 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

View 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);

View 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);

View 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) {

View 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;

View 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());

View 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 {

View 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();

View 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();

View 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

View 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.