diff --git a/compositingprefs.cpp b/compositingprefs.cpp index 46708af244..198715408a 100644 --- a/compositingprefs.cpp +++ b/compositingprefs.cpp @@ -108,7 +108,7 @@ QString CompositingPrefs::compositingNotPossibleReason() } // This function checks selected compositing setup and returns false if it should not -// be used even if explicitly configured (unless checks are overriden). +// be used even if explicitly configured (unless checks are overridden). // More checks like broken XRender setups etc. should be added here. bool CompositingPrefs::validateSetup( CompositingType compositingType ) const { diff --git a/effects/coverswitch.cpp b/effects/coverswitch.cpp index f585335745..48fab38aa0 100644 --- a/effects/coverswitch.cpp +++ b/effects/coverswitch.cpp @@ -308,7 +308,7 @@ void CoverSwitchEffect::paintScreen( int mask, QRegion region, ScreenPaintData& icon->bind(); glEnable( GL_BLEND ); glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ); - // icon takes 80 % of the height of the frame. So each 10 % space left on the top and botton + // icon takes 80 % of the height of the frame. So each 10 % space left on the top and bottom QRect iconRect = QRect( frameRect.x() + frameRect.height()*0.1f, frameRect.y() + frameRect.height()*0.1f, frameRect.height()*0.8f, diff --git a/effects/flipswitch.cpp b/effects/flipswitch.cpp index 06b41c82c6..18513c6ed7 100644 --- a/effects/flipswitch.cpp +++ b/effects/flipswitch.cpp @@ -270,7 +270,7 @@ void FlipSwitchEffect::paintScreen( int mask, QRegion region, ScreenPaintData& d stop = false; if( startRequested ) { - // tabbox allready referenced again - so restart + // tabbox already referenced again - so restart start = true; startRequested = false; mActivated = true; @@ -438,7 +438,7 @@ void FlipSwitchEffect::paintScreen( int mask, QRegion region, ScreenPaintData& d icon->bind(); glEnable( GL_BLEND ); glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ); - // icon takes 80 % of the height of the frame. So each 10 % space left on the top and botton + // icon takes 80 % of the height of the frame. So each 10 % space left on the top and bottom QRect iconRect = QRect( frameRect.x() + frameRect.height()*0.1f, frameRect.y() + frameRect.height()*0.1f, frameRect.height()*0.8f, diff --git a/effects/maketransparent.cpp b/effects/maketransparent.cpp index 68e219c6c6..96e0436bf9 100644 --- a/effects/maketransparent.cpp +++ b/effects/maketransparent.cpp @@ -161,7 +161,7 @@ void MakeTransparentEffect::paintWindow( EffectWindow* w, int mask, QRegion regi } } - // Menues and combos + // Menus and combos if( dropdownmenus != 1.0 && w->isDropdownMenu() ) data.opacity *= dropdownmenus; if( popupmenus != 1.0 && w->isPopupMenu() ) diff --git a/effects/shadow_helper.h b/effects/shadow_helper.h index dbc178bdae..6acf9d2f2a 100644 --- a/effects/shadow_helper.h +++ b/effects/shadow_helper.h @@ -53,7 +53,7 @@ static QColor schemeShadowColor() shadowColor = palette.color(shadowRole); // Some styles might set a weird shadow or light color. Make sure we - // dont't end up looping forever or we might lock up the desktop!! + // do not end up looping forever or we might lock up the desktop!! int iters = 0; while (contrastTooLow(shadowColor, windowColor) && iters < MAX_ITERS) { diff --git a/effects/snow.cpp b/effects/snow.cpp index 204a466e69..f4d6db9bc2 100644 --- a/effects/snow.cpp +++ b/effects/snow.cpp @@ -208,7 +208,7 @@ SnowFlake::SnowFlake(int x, int y, int width, int height, int maxVSpeed, int max vSpeed = random()%maxVSpeed + minVSpeed; hSpeed = random()%(maxHSpeed+1); - if(random()%2 < 1) hSpeed = -hSpeed; // to create negativ hSpeeds at random + if(random()%2 < 1) hSpeed = -hSpeed; // to create negative hSpeeds at random rotationAngle = 0; rotationSpeed = random()%4 - 2; diff --git a/kcmkwin/kwincompositing/main.cpp b/kcmkwin/kwincompositing/main.cpp index 21d55ff268..15fb40de3d 100644 --- a/kcmkwin/kwincompositing/main.cpp +++ b/kcmkwin/kwincompositing/main.cpp @@ -96,7 +96,7 @@ KWinCompositingConfig::KWinCompositingConfig(QWidget *parent, const QVariantList connect(ui.animationSpeedCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(changed())); // Open the temporary config file - // Temporary conf file is used to syncronize effect checkboxes with effect + // Temporary conf file is used to synchronize effect checkboxes with effect // selector by loading/saving effects from/to temp config when active tab // changes. mTmpConfigFile.open(); diff --git a/lib/kwineffects.h b/lib/kwineffects.h index 0afd8f0931..dbd10f8b6e 100644 --- a/lib/kwineffects.h +++ b/lib/kwineffects.h @@ -1104,7 +1104,7 @@ class KWIN_EXPORT PaintClipper /** * @short Wrapper class for using timelines in KWin effects. * - * This class provides an easy and specialised interface for + * This class provides an easy and specialized interface for * effects that want a non-linear timeline. Currently, most * it does is wrapping QTimeLine. In the future, this class * could help using physics animations in KWin. diff --git a/workspace.cpp b/workspace.cpp index bfe4bd94d8..df4c8ba7bf 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -2253,7 +2253,7 @@ void Workspace::checkElectricBorder(const QPoint &pos, Time now) electric_push_point = pos; } - // reset the pointer to find out wether the user is really pushing + // reset the pointer to find out whether the user is really pushing // (the direction back from which it came, starting from top clockwise) const int xdiff[ ELECTRIC_COUNT ] = { 0, -1, -1, -1, 0, 1, 1, 1 }; const int ydiff[ ELECTRIC_COUNT ] = { 1, 1, 0, -1, -1, -1, 0, 1 };