summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Becker <[email protected]>2017-11-10 17:57:28 +0100
committerHeiko Becker <[email protected]>2017-11-10 18:05:25 +0100
commit696c1cdfb43ac245ad3270a2eb2ecac07dbbd917 (patch)
tree5637ed3b08ab69654d36eef7631e10aeaf4670c4
parent570f2129ebcec38efcbd2c6c20adca248d343df0 (diff)
Fix some typos
-rw-r--r--core/bitset.h4
-rw-r--r--core/datasourcefactory.h2
-rw-r--r--core/scheduler.cpp2
-rw-r--r--core/scheduler.h2
-rw-r--r--core/transferdatasource.h4
-rw-r--r--core/transfergroup.h2
-rw-r--r--dbus/dbustransferwrapper.h2
-rw-r--r--mainwindow.cpp6
-rw-r--r--transfer-plugins/metalink/abstractmetalink.cpp4
-rw-r--r--transfer-plugins/metalink/metalink.cpp4
-rw-r--r--transfer-plugins/mmsthreads/mmsdownload.cpp6
-rw-r--r--ui/linkview/kget_linkview.cpp2
-rw-r--r--ui/metalinkcreator/dragdlg.cpp2
-rw-r--r--ui/metalinkcreator/filedlg.cpp4
14 files changed, 23 insertions, 23 deletions
diff --git a/core/bitset.h b/core/bitset.h
index d90c359..a0a901c 100644
--- a/core/bitset.h
+++ b/core/bitset.h
@@ -92,10 +92,10 @@ public:
quint32 numOnBits() const {return num_on;}
/**
- * Finds a continous rang of bits that on/off
+ * Finds a continuous range of bits that on/off
* @param start here the start bit will be stored, -1 if nothing is found
* @param end stores the end bit, -1 if nothing is found
- * @param on wether a continous range of bits on (set) or off (not set) should be searched for
+ * @param on whether a continuous range of bits on (set) or off (not set) should be searched for
*/
void getContinuousRange(qint32 *start, qint32 *end, bool on);
diff --git a/core/datasourcefactory.h b/core/datasourcefactory.h
index a7fd608..f293630 100644
--- a/core/datasourcefactory.h
+++ b/core/datasourcefactory.h
@@ -292,7 +292,7 @@ class KGET_EXPORT DataSourceFactory : public QObject
bool m_downloadInitialized;
/**
- * Wether the file-size has been initially defined (it is to be trusted) or not
+ * Whether the file-size has been initially defined (it is to be trusted) or not
*/
bool m_sizeInitiallyDefined;
diff --git a/core/scheduler.cpp b/core/scheduler.cpp
index ae17ddd..9f803aa 100644
--- a/core/scheduler.cpp
+++ b/core/scheduler.cpp
@@ -1,7 +1,7 @@
/* This file is part of the KDE project
Copyright (C) 2004 Dario Massarin <[email protected]>
- Coypright (C) 2010 Matthias Fuchs <[email protected]>
+ Copyright (C) 2010 Matthias Fuchs <[email protected]>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
diff --git a/core/scheduler.h b/core/scheduler.h
index f2cf9a5..c8b5e99 100644
--- a/core/scheduler.h
+++ b/core/scheduler.h
@@ -1,7 +1,7 @@
/* This file is part of the KDE project
Copyright (C) 2005 Dario Massarin <[email protected]>
- Coypright (C) 2010 Matthias Fuchs <[email protected]>
+ Copyright (C) 2010 Matthias Fuchs <[email protected]>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
diff --git a/core/transferdatasource.h b/core/transferdatasource.h
index f1f7a96..a5a3237 100644
--- a/core/transferdatasource.h
+++ b/core/transferdatasource.h
@@ -47,8 +47,8 @@ class KGET_EXPORT TransferDataSource : public QObject
/**
* Tries to find the filesize if this capability is supported,
- * if successfull it emits foundFileSize(TransferDataSource*,KIO::filesize_t,QPair<int,int>)
- * and assigns all segements to itself
+ * if successful it emits foundFileSize(TransferDataSource*,KIO::filesize_t,QPair<int,int>)
+ * and assigns all segments to itself
* if not succesfull it will try to download the file nevertheless
* @note if stop is called and no size is found yet then this is aborted, i.e. needs to be
* called again if start is later called
diff --git a/core/transfergroup.h b/core/transfergroup.h
index 6abcc01..3105f07 100644
--- a/core/transfergroup.h
+++ b/core/transfergroup.h
@@ -2,7 +2,7 @@
Copyright (C) 2005 Dario Massarin <[email protected]>
Copyright (C) 2009 Lukas Appelhans <[email protected]>
- Coypright (C) 2010 Matthias Fuchs <[email protected]>
+ Copyright (C) 2010 Matthias Fuchs <[email protected]>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
diff --git a/dbus/dbustransferwrapper.h b/dbus/dbustransferwrapper.h
index 77f777b..7bb49eb 100644
--- a/dbus/dbustransferwrapper.h
+++ b/dbus/dbustransferwrapper.h
@@ -131,7 +131,7 @@ class DBusTransferWrapper : public QObject
/**
* Returns the dBusObjectPath to the verifier
- * @param file for wich to return the verifier
+ * @param file for which to return the verifier
*/
QString verifier(const QString &file);
diff --git a/mainwindow.cpp b/mainwindow.cpp
index bf286f9..be81e71 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -698,7 +698,7 @@ void MainWindow::slotStopAllDownload()
KGet::setSchedulerRunning(false);
// This line ensures that each transfer is stopped. In the handler class
- // the policy of the transfer will be correctly setted to None
+ // the policy of the transfer will be correctly set to None
foreach (TransferHandler * it, KGet::allTransfers())
it->stop();
}
@@ -852,7 +852,7 @@ void MainWindow::slotPriorityUp()
after = groupTransfers[newIndex - 1];
}
- //keep the list with the actual movements synchronised
+ //keep the list with the actual movements synchronized
groupTransfers.move(index, newIndex);
KGet::model()->moveTransfer(transfer, group, after);
@@ -895,7 +895,7 @@ void MainWindow::slotPriorityDown()
TransferHandler *after = groupTransfers[newIndex];
- //keep the list with the actual movements synchronised
+ //keep the list with the actual movements synchronized
groupTransfers.move(index, newIndex);
KGet::model()->moveTransfer(transfer, group, after);
diff --git a/transfer-plugins/metalink/abstractmetalink.cpp b/transfer-plugins/metalink/abstractmetalink.cpp
index 9bfd6e3..a4d3bcf 100644
--- a/transfer-plugins/metalink/abstractmetalink.cpp
+++ b/transfer-plugins/metalink/abstractmetalink.cpp
@@ -476,11 +476,11 @@ void AbstractMetalink::filesSelected()
//check if the file at dest exists already and ask the user what to do in this case, ignore already running transfers
if (doDownload && (factory->status() != Job::Running) && QFile::exists(dest.toLocalFile())) {
- //usere has chosen to skip all files that exist already before
+ //user has chosen to skip all files that exist already before
if (autoSkip) {
fileModel()->setData(index, Qt::Unchecked, Qt::CheckStateRole);
doDownload = false;
- //ask the user, unless he has choosen overwriteAll before
+ //ask the user, unless he has chosen overwriteAll before
} else if (!overwriteAll) {
KIO::RenameDialog dlg(0, i18n("File already exists"), index.data().toString(), dest, KIO::RenameDialog_Mode(KIO::M_MULTI | KIO::M_OVERWRITE | KIO::M_SKIP));
const int result = dlg.exec();
diff --git a/transfer-plugins/metalink/metalink.cpp b/transfer-plugins/metalink/metalink.cpp
index afff706..2d82616 100644
--- a/transfer-plugins/metalink/metalink.cpp
+++ b/transfer-plugins/metalink/metalink.cpp
@@ -700,11 +700,11 @@ void Metalink::filesSelected()
//check if the file at dest exists already and ask the user what to do in this case, ignore already running transfers
if (doDownload && (factory->status() != Job::Running) && QFile::exists(dest.toLocalFile())) {
- //usere has chosen to skip all files that exist already before
+ //user has chosen to skip all files that exist already before
if (autoSkip) {
fileModel()->setData(index, Qt::Unchecked, Qt::CheckStateRole);
doDownload = false;
- //ask the user, unless he has choosen overwriteAll before
+ //ask the user, unless he has chosen overwriteAll before
} else if (!overwriteAll) {
KIO::RenameDialog dlg(nullptr, i18n("File already exists"), index.data().toString(), dest, KIO::RenameDialog_Mode(KIO::M_MULTI | KIO::M_OVERWRITE | KIO::M_SKIP));
const int result = dlg.exec();
diff --git a/transfer-plugins/mmsthreads/mmsdownload.cpp b/transfer-plugins/mmsthreads/mmsdownload.cpp
index 40d15d4..eb295d9 100644
--- a/transfer-plugins/mmsthreads/mmsdownload.cpp
+++ b/transfer-plugins/mmsthreads/mmsdownload.cpp
@@ -71,7 +71,7 @@ void MmsDownload::splitTransfer()
{
/** We split the download in similar and each part is asigned to a thread and thi is saved in
* a map named m_mapEndIni. If we resume the download, then the temporal file will exist
- * and we dont have to split the download only use it.
+ * and we don't have to split the download only use it.
*/
m_amountThreads = mmsx_get_seekable(m_mms) ? m_amountThreads : 0;
if (m_amountThreads == 0) {
@@ -184,9 +184,9 @@ void MmsDownload::slotRead(int reading, int thread_end, int thread_in)
void MmsDownload::slotIsThreadConnected(bool connected)
{
- /** All thread emit a signal connected with this slot, if they get connected succefully
+ /** All threads emit a signal connected with this slot, if they get connected successfully
* the value of "connected" will be true, and will be false if they can't connected. When all
- * the thread emited the signal the amount of m_connectionsSuccefully and m_connectionsFails
+ * the threads emitted the signal the amount of m_connectionsSuccefully and m_connectionsFails
* will be equal to m_amountThreads and we emit a signal to restart the download in
* mmstransfer using the amount of connections succefully connected.
*/
diff --git a/ui/linkview/kget_linkview.cpp b/ui/linkview/kget_linkview.cpp
index ee93f49..56f3b3c 100644
--- a/ui/linkview/kget_linkview.cpp
+++ b/ui/linkview/kget_linkview.cpp
@@ -201,7 +201,7 @@ void KGetLinkView::showLinks(const QStringList &links, bool urlRequestVisible)
QList<QStandardItem*> items;
QStandardItem *number = new QStandardItem();
- number->setData(model->rowCount(), Qt::DisplayRole);//used for inital sorting
+ number->setData(model->rowCount(), Qt::DisplayRole);//used for initial sorting
items << number;
items << item;
items << new QStandardItem();
diff --git a/ui/metalinkcreator/dragdlg.cpp b/ui/metalinkcreator/dragdlg.cpp
index 7199f24..553daa8 100644
--- a/ui/metalinkcreator/dragdlg.cpp
+++ b/ui/metalinkcreator/dragdlg.cpp
@@ -89,7 +89,7 @@ void DragDlg::slotFinished()
if (uiData.os->text().isEmpty()) {
m_commonData->oses.clear();
} else {
- m_commonData->oses = uiData.os->text().split(i18nc("comma, to seperate members of a list", ","));
+ m_commonData->oses = uiData.os->text().split(i18nc("comma, to separate members of a list", ","));
}
m_commonData->copyright = uiData.copyright->text();
m_commonData->publisher.name = uiData.pub_name->text();
diff --git a/ui/metalinkcreator/filedlg.cpp b/ui/metalinkcreator/filedlg.cpp
index f56d036..2998a8c 100644
--- a/ui/metalinkcreator/filedlg.cpp
+++ b/ui/metalinkcreator/filedlg.cpp
@@ -62,7 +62,7 @@ FileDlg::FileDlg(KGetMetalink::File *file, const QStringList &currentFileNames,
uiData.description->setText(m_file->data.description);
uiData.logo->setUrl(m_file->data.logo);
if (m_file->data.oses.count()) {
- uiData.os->setText(m_file->data.oses.join(i18nc("comma, to seperate members of a list", ",")));
+ uiData.os->setText(m_file->data.oses.join(i18nc("comma, to separate members of a list", ",")));
}
uiData.copyright->setText(m_file->data.copyright);
uiData.pub_name->setText(m_file->data.publisher.name);
@@ -170,7 +170,7 @@ void FileDlg::slotOkClicked()
m_file->data.description = uiData.description->text();
m_file->data.logo = QUrl(uiData.logo->text());
if (!uiData.os->text().isEmpty()) {
- m_file->data.oses = uiData.os->text().split(i18nc("comma, to seperate members of a list", ","));
+ m_file->data.oses = uiData.os->text().split(i18nc("comma, to separate members of a list", ","));
}
m_file->data.copyright = uiData.copyright->text();
m_file->data.publisher.name = uiData.pub_name->text();