Commit 696c1cdf authored by Heiko Becker's avatar Heiko Becker 🎸

Fix some typos

parent 570f2129
......@@ -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);
......
......@@ -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;
......
/* This file is part of the KDE project
Copyright (C) 2004 Dario Massarin <nekkar@libero.it>
Coypright (C) 2010 Matthias Fuchs <mat69@gmx.net>
Copyright (C) 2010 Matthias Fuchs <mat69@gmx.net>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
......
/* This file is part of the KDE project
Copyright (C) 2005 Dario Massarin <nekkar@libero.it>
Coypright (C) 2010 Matthias Fuchs <mat69@gmx.net>
Copyright (C) 2010 Matthias Fuchs <mat69@gmx.net>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
......
......@@ -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
......
......@@ -2,7 +2,7 @@
Copyright (C) 2005 Dario Massarin <nekkar@libero.it>
Copyright (C) 2009 Lukas Appelhans <l.appelhans@gmx.de>
Coypright (C) 2010 Matthias Fuchs <mat69@gmx.net>
Copyright (C) 2010 Matthias Fuchs <mat69@gmx.net>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
......
......@@ -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);
......
......@@ -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);
......
......@@ -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();
......
......@@ -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();
......
......@@ -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.
*/
......
......@@ -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();
......
......@@ -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();
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment