Commit 357cbca0 authored by Boudewijn Rempt's avatar Boudewijn Rempt

More typo fixes by Kunda!

parent 1d633079
......@@ -203,7 +203,7 @@ public:
/// Number of dabs painted since the beginning of the stroke
int currentDabSeqNo() const;
/// The length of the stroke **before** painting the curent dab
/// The length of the stroke **before** painting the current dab
qreal totalStrokeLength() const;
// random source for generating in-stroke effects
......
......@@ -632,7 +632,7 @@ public:
bool wrapAroundModeActive() const;
/**
* \return curent level of detail which is used when processing the image.
* \return current level of detail which is used when processing the image.
* Current working zoom = 2 ^ (- currentLevelOfDetail()). Default value is
* null, which means we work on the original image.
*/
......
......@@ -455,7 +455,7 @@ public:
*/
void paintLine(const KisPaintInformation &pi1,
const KisPaintInformation &pi2,
KisDistanceInformation *curentDistance);
KisDistanceInformation *currentDistance);
/**
* Draw a Bezier curve between pos1 and pos2 using control points 1 and 2.
......
......@@ -759,7 +759,7 @@ void KisPaintopBox::slotInputDeviceChanged(const KoInputDevice& inputDevice)
//if (preset)
//qDebug() << "found stored preset " << preset->name() << "for" << inputDevice.uniqueTabletId();
//else
//qDebug() << "no preset fcound for" << inputDevice.uniqueTabletId();
//qDebug() << "no preset found for" << inputDevice.uniqueTabletId();
}
if (!preset) {
preset = rserver->resourceByName("Basic_tip_default");
......
......@@ -490,7 +490,7 @@ void KoResourceItemChooser::setSynced(bool sync)
d->synced = sync;
KoResourceItemChooserSync *chooserSync = KoResourceItemChooserSync::instance();
if (sync) {
connect(chooserSync, SIGNAL(baseLenghtChanged(int)), SLOT(baseLengthChanged(int)));
connect(chooserSync, SIGNAL(baseLengthChanged(int)), SLOT(baseLengthChanged(int)));
baseLengthChanged(chooserSync->baseLength());
} else {
chooserSync->disconnect(this);
......
......@@ -53,7 +53,7 @@ int KoResourceItemChooserSync::baseLength()
void KoResourceItemChooserSync::setBaseLength(int length)
{
d->baseLength = qBound(25, length, 100);
emit baseLenghtChanged(d->baseLength);
emit baseLengthChanged(d->baseLength);
}
......
......@@ -50,7 +50,7 @@ public:
Q_SIGNALS:
/// Signal is emitted when the base length is changed and will trigger and update in
/// the resource item choosers
void baseLenghtChanged(int length);
void baseLengthChanged(int length);
private:
......
......@@ -85,7 +85,7 @@ void KoResourceTagStore::removeResource(const KoResource *resource)
QStringList KoResourceTagStore::tagNamesList() const
{
QStringList tagList = d->tagList.uniqueKeys();
//qDebug() << "Taglist" << tagList << "blacklist" << d->blacklistedTags;
qDebug() << "tagNameslist" << tagList << "blacklist" << d->blacklistedTags;
Q_FOREACH(const QString &tag, d->blacklistedTags) {
tagList.removeAll(tag);
}
......
......@@ -38,7 +38,7 @@ static const QString percentStr(i18n("Percent (%)"));
const QString DlgCanvasSize::PARAM_PREFIX = "canvasizedlg";
const QString DlgCanvasSize::PARAM_WIDTH_UNIT = DlgCanvasSize::PARAM_PREFIX + "_widthunit";
const QString DlgCanvasSize::PARAM_HEIGTH_UNIT = DlgCanvasSize::PARAM_PREFIX + "_heightunit";
const QString DlgCanvasSize::PARAM_HEIGHT_UNIT = DlgCanvasSize::PARAM_PREFIX + "_heightunit";
const QString DlgCanvasSize::PARAM_XOFFSET_UNIT = DlgCanvasSize::PARAM_PREFIX + "_xoffsetunit";
const QString DlgCanvasSize::PARAM_YOFFSET_UNIT = DlgCanvasSize::PARAM_PREFIX + "_yoffsetunit";
......@@ -86,7 +86,7 @@ DlgCanvasSize::DlgCanvasSize(QWidget *parent, int width, int height, double reso
m_page->heightUnit->setModel(_heightUnitManager);
QString unitw = cfg.readEntry<QString>(PARAM_WIDTH_UNIT, "px");
QString unith = cfg.readEntry<QString>(PARAM_HEIGTH_UNIT, "px");
QString unith = cfg.readEntry<QString>(PARAM_HEIGHT_UNIT, "px");
_widthUnitManager->setApparentUnitFromSymbol(unitw);
_heightUnitManager->setApparentUnitFromSymbol(unith);
......@@ -205,7 +205,7 @@ DlgCanvasSize::~DlgCanvasSize()
cfg.writeEntry<bool>("CanvasSize/ConstrainProportions", m_page->constrainProportionsCkb->isChecked());
cfg.writeEntry<QString>(PARAM_WIDTH_UNIT, _widthUnitManager->getApparentUnitSymbol());
cfg.writeEntry<QString>(PARAM_HEIGTH_UNIT, _heightUnitManager->getApparentUnitSymbol());
cfg.writeEntry<QString>(PARAM_HEIGHT_UNIT, _heightUnitManager->getApparentUnitSymbol());
cfg.writeEntry<QString>(PARAM_XOFFSET_UNIT, _xOffsetUnitManager->getApparentUnitSymbol());
cfg.writeEntry<QString>(PARAM_YOFFSET_UNIT, _yOffsetUnitManager->getApparentUnitSymbol());
......
......@@ -51,7 +51,7 @@ public:
static const QString PARAM_PREFIX;
static const QString PARAM_WIDTH_UNIT;
static const QString PARAM_HEIGTH_UNIT;
static const QString PARAM_HEIGHT_UNIT;
static const QString PARAM_XOFFSET_UNIT;
static const QString PARAM_YOFFSET_UNIT;
......
......@@ -35,7 +35,7 @@
const QString DlgLayerSize::PARAM_PREFIX = "layersizedlg";
const QString DlgLayerSize::PARAM_WIDTH_UNIT = DlgLayerSize::PARAM_PREFIX + "_widthunit";
const QString DlgLayerSize::PARAM_HEIGTH_UNIT = DlgLayerSize::PARAM_PREFIX + "_heightunit";
const QString DlgLayerSize::PARAM_HEIGHT_UNIT = DlgLayerSize::PARAM_PREFIX + "_heightunit";
const QString DlgLayerSize::PARAM_KEEP_AR = DlgLayerSize::PARAM_PREFIX + "_keepar";
const QString DlgLayerSize::PARAM_KEEP_PROP = DlgLayerSize::PARAM_PREFIX + "_keepprop";
......@@ -91,7 +91,7 @@ DlgLayerSize::DlgLayerSize(QWidget * parent, const char * name,
m_page->newHeightUnit->setModel(_heightUnitManager);
QString unitw = cfg.readEntry<QString>(PARAM_WIDTH_UNIT, "px");
QString unith = cfg.readEntry<QString>(PARAM_HEIGTH_UNIT, "px");
QString unith = cfg.readEntry<QString>(PARAM_HEIGHT_UNIT, "px");
_widthUnitManager->setApparentUnitFromSymbol(unitw);
_heightUnitManager->setApparentUnitFromSymbol(unith);
......@@ -130,7 +130,7 @@ DlgLayerSize::~DlgLayerSize()
cfg.writeEntry<bool>(PARAM_KEEP_PROP, m_page->constrainProportionsCkb->isChecked());
cfg.writeEntry<QString>(PARAM_WIDTH_UNIT, _widthUnitManager->getApparentUnitSymbol());
cfg.writeEntry<QString>(PARAM_HEIGTH_UNIT, _heightUnitManager->getApparentUnitSymbol());
cfg.writeEntry<QString>(PARAM_HEIGHT_UNIT, _heightUnitManager->getApparentUnitSymbol());
delete m_page;
}
......
......@@ -49,7 +49,7 @@ public:
static const QString PARAM_PREFIX;
static const QString PARAM_WIDTH_UNIT;
static const QString PARAM_HEIGTH_UNIT;
static const QString PARAM_HEIGHT_UNIT;
static const QString PARAM_KEEP_AR;
static const QString PARAM_KEEP_PROP;
......
......@@ -23,7 +23,7 @@
#include "kritatext_export.h"
/**
* This inlineObject shows the curent value of a variable as registered in the KoVariableManager.
* This inlineObject shows the current value of a variable as registered in the KoVariableManager.
* The proper way to create a new class is to use KoVariableManager::createVariable()
*/
class KoNamedVariable : public KoVariable
......
......@@ -16,6 +16,6 @@ target_link_libraries(kritatangentnormalpaintop kritalibpaintop)
install(TARGETS kritatangentnormalpaintop DESTINATION ${KRITA_PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES krita-tangetnormal.png DESTINATION ${DATA_INSTALL_DIR}/krita/images)
install( FILES krita-tangentnormal.png DESTINATION ${DATA_INSTALL_DIR}/krita/images)
install( FILES krita-tangentnormal-preview.png DESTINATION ${DATA_INSTALL_DIR}/krita/images)
......@@ -32,7 +32,7 @@ KisNormalPreviewWidget::KisNormalPreviewWidget(QWidget *parent)
m_redChannel = 0;
m_greenChannel = 2;
m_blueChannel = 4;
//TODO: this can be changed in frameworks to KoResourcePaths::findResource("kis_images", "krita-tangetnormal.png");
//TODO: this can be changed in frameworks to KoResourcePaths::findResource("kis_images", "krita-tangentnormal.png");
m_fileName = KoResourcePaths::findResource("kis_images", "krita-tangentnormal-preview.png");
QImage preview = QImage(m_fileName);
setPixmap(QPixmap::fromImage(preview.scaled(200, 200, Qt::KeepAspectRatio, Qt::SmoothTransformation)));
......
......@@ -38,7 +38,7 @@ TangentNormalPaintOpPlugin::TangentNormalPaintOpPlugin(QObject* parent, const QV
QObject(parent)
{
KisPaintOpRegistry::instance()->add(new KisSimplePaintOpFactory<KisTangentNormalPaintOp, KisBrushBasedPaintOpSettings, KisTangentNormalPaintOpSettingsWidget>(
"tangentnormal", i18n("Tangent Normal"), KisPaintOpFactory::categoryStable(), "krita-tangetnormal.png",
"tangentnormal", i18n("Tangent Normal"), KisPaintOpFactory::categoryStable(), "krita-tangentnormal.png",
QString(), QStringList(), 16)
);
}
......
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