Commit 28873f8d authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix various typos (mostly the the).

parent b9ccef89
......@@ -22,7 +22,7 @@
device into the canvas and commit the undo information.
The jobs of the stroke can demand special order of their
execution. That is the the way how they will be executed on a
execution. That is the way how they will be executed on a
multi-core machine. Every job can be either of the type:
- =CONCURRENT= :: /concurrent/ job may be executed in parallel with
any other concurrent job of the stroke as well as
......
......@@ -138,7 +138,7 @@ public:
* The behaviour might be different per paintop. Most of the time
* the brush diameter is increased by x pixels, y ignored
*
* @param x is add to the the diameter or radius (according the paintop)
* @param x is add to the diameter or radius (according the paintop)
* It might be also negative, to decrease the value of the brush diameter/radius.
* x is in pixels
* @param y is unused, it supposed to be used to change some different attribute
......@@ -166,7 +166,7 @@ public:
/// @return state of the settings, default implementation is true
virtual bool isValid();
/// Check if the settings are loadable, that might the the case if we can fallback to something
/// Check if the settings are loadable, that might the case if we can fallback to something
/// Overwrite if the settings can do some kind of fallback
/// @return loadable state of the settings, by default implementation return the same as isValid()
virtual bool isLoadable();
......
......@@ -53,7 +53,7 @@ public:
/**
* Convolve all channels in src using the specified kernel; there is only one kernel for all
* channels possible. By default the the border pixels are not convolved, that is, convolving
* channels possible. By default the border pixels are not convolved, that is, convolving
* starts with at (x + kernel.width/2, y + kernel.height/2) and stops at w - (kernel.width/2)
* and h - (kernel.height/2)
*
......
......@@ -123,7 +123,7 @@ public:
* @param startY the Y position where the floodfill starts
* @param projection the projection that determines the area that
* is floodfilled if sampleMerged is on (XXX: fix this API to
* always use the the projection param and deprecated the
* always use the projection param and deprecated the
* sampleMerged setting)
*/
void fillColor(int startX, int startY, KisPaintDeviceSP projection);
......@@ -138,7 +138,7 @@ public:
* @param startY the Y position where the floodfill starts
* @param projection the projection that determines the area that
* is floodfilled if sampleMerged is on (XXX: fix this API to
* always use the the projection param and deprecated the
* always use the projection param and deprecated the
* sampleMerged setting)
*/
void fillPattern(int startX, int startY, KisPaintDeviceSP projection);
......@@ -150,7 +150,7 @@ public:
* @param startY the Y position where the floodfill starts
* @param projection the projection that determines the area that
* is floodfilled if sampleMerged is on (XXX: fix this API to
* always use the the projection param and deprecated the
* always use the projection param and deprecated the
* sampleMerged setting)
*/
KisSelectionSP createFloodSelection(int startX, int startY, KisPaintDeviceSP projection);
......
......@@ -43,7 +43,7 @@ public:
virtual ~KisFixedPaintDevice();
/**
* Deep copy the the fixed paint device, including the data.
* Deep copy the fixed paint device, including the data.
*/
KisFixedPaintDevice(const KisFixedPaintDevice& rhs);
......
......@@ -82,7 +82,7 @@ public:
*/
void applySelection(KisPixelSelectionSP selection, SelectionAction action);
/// Tests if the the rect is totally outside the selection
/// Tests if the rect is totally outside the selection
bool isTotallyUnselected(const QRect & r) const;
/**
......
......@@ -653,7 +653,7 @@ public:
we are passed are identical to the edge pixels.
If edge_lock is false, we assume that pixels outside the region are 0
*/
quint8 **buf; // caches the the region's pixels
quint8 **buf; // caches the region's pixels
quint8 **max; // caches the smallest values for each column
qint32 last_max, last_index;
......
......@@ -285,7 +285,7 @@ void KisLayerTest::testMasksChangeRect()
* KisNode::N_BELOW_FILTHY, KisNode::N_FILTHY_PROJECTION
* should not be use by the caller, because the walker
* shoult not visit these node on a forward way.
* So the the behavoiur here is undefined.
* So the behavoiur here is undefined.
*
* resultRect = paintLayer1->changeRect(testRect, KisNode::N_BELOW_FILTHY);
* resultRect = paintLayer1->changeRect(testRect, KisNode::N_FILTHY_PROJECTION);
......
......@@ -105,7 +105,7 @@ LutDockerDock::LutDockerDock()
// Gamma needs to be exponential (gamma *= 1.1f, gamma /= 1.1f as steps)
m_gammaDoubleWidget->setToolTip(i18n("Select the amount of gamma modificiation for display. This does not affect the pixels of your image."));
m_gammaDoubleWidget->setToolTip(i18n("Select the amount of gamma modification for display. This does not affect the pixels of your image."));
m_gammaDoubleWidget->setRange(0.1, 5);
m_gammaDoubleWidget->setPrecision(2);
m_gammaDoubleWidget->setValue(1.0);
......
......@@ -36,7 +36,7 @@ public:
*
* @return false if:
* <li>reading failed
* <li>if the the 8BPS signature is not found
* <li>if the 8BPS signature is not found
* <li>if the version is not 1 or 2
*/
bool read(QIODevice* device);
......
......@@ -368,7 +368,7 @@ void KisCurveWidget::mouseMoveEvent(QMouseEvent * e)
double x = e->pos().x() / (double)(width() - 1);
double y = 1.0 - e->pos().y() / (double)(height() - 1);
if (d->state() == ST_NORMAL) { // If no point is selected set the the cursor shape if on top
if (d->state() == ST_NORMAL) { // If no point is selected set the cursor shape if on top
int nearestPointIndex = d->nearestPointInRange(QPointF(x, y), width(), height());
if (nearestPointIndex < 0)
......
......@@ -520,7 +520,7 @@ public:
QList<int> tablePositions(const QString& tableName) const;
/*! Provided for convenience.
\return true if a table at \a position (within FROM section of the the query)
\return true if a table at \a position (within FROM section of the query)
has non empty alias defined.
If there is no alias for this table,
or if there is no such table in the query defined, false is returned. */
......@@ -531,7 +531,7 @@ public:
int columnPositionForAlias(const QByteArray& name) const;
/*! Sets \a alias for a table at \a position (within FROM section
of the the query).
of the query).
Passing empty sting to \a alias clears alias for a given table
(only for specified \a position). */
void setTableAlias(uint position, const QByteArray& alias);
......
......@@ -58,7 +58,7 @@ public:
void setData(const QString &mimeType, const QByteArray &data);
/**
* Add the the mimeData to the clipboard
* Add the mimeData to the clipboard
*/
void addToClipboard();
......
......@@ -29,7 +29,7 @@
/**
* This singleton class keeps a register of all custom input devices
* for instance the 3D Space Navigator which generate input events.
* These will get routed the the active tools which can then do whatever
* These will get routed the active tools which can then do whatever
* they like with it.
*/
class FLAKE_EXPORT KoInputDeviceHandlerRegistry : public KoGenericRegistry<KoInputDeviceHandler*>
......
......@@ -136,7 +136,7 @@ namespace KoOdfWorkaround
/**
* LibreOffice used to write text:style-name attribute for table:table-template element,
* which is not a vaild attribute for the element.
* which is not a valid attribute for the element.
*/
FLAKE_EXPORT QString fixTableTemplateName(const KoXmlElement &e);
......@@ -144,7 +144,7 @@ namespace KoOdfWorkaround
* LibreOffice used to write text:style-name attribute for
* table:first-row, table:last-row, table:first-column,
* table:last-column, table:odd-rows, table:odd-columns,
* table:body elements, which is not a vaild attribute for the element.
* table:body elements, which is not a valid attribute for the element.
*/
FLAKE_EXPORT QString fixTableTemplateCellStyleName(const KoXmlElement &e);
}
......
......@@ -230,7 +230,7 @@ public slots:
/**
* Remove the KoTextAnchor objects from the document.
*
* NOTE: Call this method only when the the shapes belonging to the anchors have been deleted.
* NOTE: Call this method only when the shapes belonging to the anchors have been deleted.
*/
void removeAnchors(const QList<KoTextAnchor*> &anchors, KUndo2Command *parent);
......
......@@ -147,7 +147,7 @@ public:
/// returns the margin of the list
qreal margin() const;
/// sets the text indent of the the list item
/// sets the text indent of the list item
void setTextIndent(qreal value);
/// returns the text indent of the list item
qreal textIndent() const;
......
......@@ -274,7 +274,7 @@ KoMainWindow::KoMainWindow(const KComponentData &componentData)
actionCollection()->addAction("file_versions_file", d->showFileVersions);
connect(d->showFileVersions, SIGNAL(triggered(bool)), this, SLOT(slotVersionsFile()));
d->importFile = new KAction(koIcon("document-import"), i18n("Open ex&Isting Document as Untitled Document..."), this);
d->importFile = new KAction(koIcon("document-import"), i18n("Open ex&isting Document as Untitled Document..."), this);
actionCollection()->addAction("file_import_file", d->importFile);
connect(d->importFile, SIGNAL(triggered(bool)), this, SLOT(slotImportFile()));
......
......@@ -73,7 +73,7 @@ public slots:
/**
* Sets the zoom. If zoom not yet on the list of zoom values, it will be inserted
* into the list at proper place so that the the values remain sorted.
* into the list at proper place so that the values remain sorted.
* emits zoomChanged
*/
void setZoom( qreal zoom );
......
......@@ -333,7 +333,7 @@ namespace KDChart {
/** Emitted after the geometry of the Coordinate Plane has been changed.
* and control has returned to the event loop.
*
* Parameters are the the old geometry, the new geometry.
* Parameters are the old geometry, the new geometry.
*/
void geometryChanged( QRect, QRect );
......
......@@ -634,7 +634,7 @@ void CartesianAxis::paintCtx( PaintContext* context )
// set up a map of integer positions,
// - starting with the fourth
// - the the halfs
// - then the halfs
// - then the tens
// this will override all halfs and fourth that hit a higher-order ruler
// MAKE SURE TO START AT (0, 0)!
......
......@@ -390,7 +390,7 @@ namespace KDChart {
/**
* Margins that will be added to geometry() for internal layouting
* methods. For historical reasons the the default is (1, 1, -3, -3).
* methods. For historical reasons the default is (1, 1, -3, -3).
*
* Use this method if data points or lines are just slightly cut off
* at the edge of the coordinate plane. This does not play nicely in
......
......@@ -181,7 +181,7 @@ public:
const QRectF absoluteBoundingRect() const;
/**
* place the cursor at the the given point
* place the cursor at the given point
* the point should be placed a the position in the element
* (or it's child) that is closest to the point
* in particular the point doesn't have to be within
......
......@@ -100,7 +100,7 @@ public:
* Sets the center of a polar handle.
*
* If both parameters are valid pointers, then the handle behaves like
* a polar handle. This means the the x-coordinate of the position represents
* a polar handle. This means the x-coordinate of the position represents
* an angle in degree and the y-coordinate a radius.
*
* @param polarX the polar center x-coordinate
......
......@@ -99,7 +99,7 @@ void EnhancedPathShape::updatePath(const QSizeF & size)
m_mirrorMatrix.translate(-m_viewBound.center().x(), -m_viewBound.center().y());
QTransform matrix(1.0, 0.0, 0.0, 1.0, m_viewBoxOffset.x(), m_viewBoxOffset.y());
// if stretch points are set than stretch the the path manually
// if stretch points are set than stretch the path manually
if (isStretched) {
//if the path was stretched manually the stretch matrix is not more valid
//and it has to be recalculated so that stretching in x and y direction is the same
......
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