From 81d09742bb2cbea5f9ebdd73ae1581632648cd32 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Sun, 12 Oct 2008 11:12:24 +0000 Subject: [PATCH] fix spelling svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870322 --- applet.cpp | 2 +- corona.cpp | 2 +- extender.cpp | 2 +- extender.h | 8 ++++---- extenderitem.cpp | 6 +++--- popupapplet.cpp | 2 +- popupapplet.h | 2 +- private/applethandle.cpp | 2 +- private/windowpreview_p.h | 2 +- tooltipmanager.h | 2 +- view.h | 2 +- 11 files changed, 16 insertions(+), 16 deletions(-) diff --git a/applet.cpp b/applet.cpp index 95dfcbdf7..164ff94c0 100644 --- a/applet.cpp +++ b/applet.cpp @@ -129,7 +129,7 @@ Applet::~Applet() { if (d->extender) { //This would probably be nicer if it was located in extender. But in it's dtor, this won't - //work since when that get's called, the applet's config() isn't accesible anymore. (same + //work since when that get's called, the applet's config() isn't accessible anymore. (same //problem with calling saveState(). Doing this in saveState() might be a possibility, but //that would require every extender savestate implementation to call it's parent function, //which isn't very nice. diff --git a/corona.cpp b/corona.cpp index ed937ae2b..c98b22049 100644 --- a/corona.cpp +++ b/corona.cpp @@ -371,7 +371,7 @@ void Corona::addOffscreenWidget(QGraphicsWidget *widget) offscreenWidget->setLayout(d->offscreenLayout); } - //check if the layout allready contains this widget. + //check if the layout already contains this widget. //XXX: duplicated from removeOffscreenWidget() for (int i = 0; i < d->offscreenLayout->count(); i++) { QGraphicsWidget *foundWidget = dynamic_cast(d->offscreenLayout->itemAt(i)); diff --git a/extender.cpp b/extender.cpp index 6396f83f6..12a3d1705 100644 --- a/extender.cpp +++ b/extender.cpp @@ -202,7 +202,7 @@ void Extender::itemHoverMoveEvent(ExtenderItem *item, const QPointF &pos) return; } - //Make sure we remove any spacer that might allready be in the layout. + //Make sure we remove any spacer that might already be in the layout. itemHoverLeaveEvent(item); d->currentSpacerIndex = insertIndex; diff --git a/extender.h b/extender.h index b4e7719db..310d036d0 100644 --- a/extender.h +++ b/extender.h @@ -92,7 +92,7 @@ class PLASMA_EXPORT Extender : public QGraphicsWidget QList detachedItems() const; /** - * This function can be used for easily determining if a certain item is allready displayed + * This function can be used for easily determining if a certain item is already displayed * in a extender item somewhere, so your applet doesn't duplicate this item. Say the applet * displays 'jobs', from an engine which add's a source for every job. In sourceAdded you * could do something like: @@ -104,7 +104,7 @@ class PLASMA_EXPORT Extender : public QGraphicsWidget protected: /** - * Get's called after an item has been added to this extender. The bookkeeping has allready + * Get's called after an item has been added to this extender. The bookkeeping has already * been done when this function get's called. The only thing left to do is put it somewhere * appropriate. The default implementation adds the extenderItem to the appropriate place in * a QGraphicsLinearLayout. @@ -115,7 +115,7 @@ class PLASMA_EXPORT Extender : public QGraphicsWidget /** * Get's called after an item has been removed from this extender. All bookkeeping has - * allready been done when this function get's called. + * already been done when this function get's called. * @param item The item that has just been removed. */ virtual void itemRemovedEvent(ExtenderItem *item); @@ -131,7 +131,7 @@ class PLASMA_EXPORT Extender : public QGraphicsWidget * to give some visual feedback about what will happen when the mouse button is released at * that position. The default implementation shows a spacer at the appropriate location in * the layout. - * @param item The item that's hovering over this extender. Most usefull for obtaining the + * @param item The item that's hovering over this extender. Most useful for obtaining the * size of the spacer. * @param pos The location the item is hovering. */ diff --git a/extenderitem.cpp b/extenderitem.cpp index 0ba4bcc54..766b78f11 100644 --- a/extenderitem.cpp +++ b/extenderitem.cpp @@ -315,7 +315,7 @@ ExtenderItem::ExtenderItem(Extender *hostExtender, uint extenderItemId) d->sourceAppletId = hostExtender->d->applet->id(); d->sourceApplet = hostExtender->d->applet; } else { - //The item allready exists. + //The item already exists. d->name = dg.readEntry("extenderItemName", ""); d->sourceAppletId = dg.readEntry("sourceAppletId", 0); //Set the sourceapplet. @@ -805,7 +805,7 @@ void ExtenderItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event) } } - //let's insert spacers in applets we're hovering over for some usefull visual feedback. + //let's insert spacers in applets we're hovering over for some useful visual feedback. //check which view we're hovering over and use that information to get the mouse //position in scene coordinates (event->scenePos won't work, since it doesn't take in //consideration that you're leaving the current view). @@ -888,7 +888,7 @@ void ExtenderItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) d->toplevel = 0; } - //let's insert spacers in applets we're hovering over for some usefull visual feedback. + //let's insert spacers in applets we're hovering over for some useful visual feedback. //check which view we're hovering over and use that information to get the mouse //position in scene coordinates (event->scenePos won't work, since it doesn't take in //consideration that you're leaving the current view). diff --git a/popupapplet.cpp b/popupapplet.cpp index 58b4e9ee3..1ec8a7761 100644 --- a/popupapplet.cpp +++ b/popupapplet.cpp @@ -156,7 +156,7 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints) if (dialog) { if (dialog->layout() && qWidget) { - //we dont want to delete Widget inside the dialog layout + //we don't want to delete Widget inside the dialog layout dialog->layout()->removeWidget(qWidget); } diff --git a/popupapplet.h b/popupapplet.h index 584333a65..085182275 100644 --- a/popupapplet.h +++ b/popupapplet.h @@ -43,7 +43,7 @@ class PopupAppletPrivate; * widget in a popup when clicked. * * If you use this class as a base class for your extender using applet, the extender will - * automaticaly be used for the popup; reimplementing graphicsWidget() is unecessary in this case. + * automatically be used for the popup; reimplementing graphicsWidget() is unnecessary in this case. */ class PLASMA_EXPORT PopupApplet : public Plasma::Applet diff --git a/private/applethandle.cpp b/private/applethandle.cpp index 009e81752..22106cf2d 100644 --- a/private/applethandle.cpp +++ b/private/applethandle.cpp @@ -186,7 +186,7 @@ QRectF Plasma::AppletHandle::boundingRect() const QPainterPath AppletHandle::shape() const { - //when the containment changes the applet is resetted to 0 + //when the containment changes the applet is reset to 0 if (m_applet) { QPainterPath path = PaintUtils::roundedRectangle(m_decorationRect, 10); return path.united(m_applet->mapToParent(m_applet->shape())); diff --git a/private/windowpreview_p.h b/private/windowpreview_p.h index c22fb6fb3..62fea6517 100644 --- a/private/windowpreview_p.h +++ b/private/windowpreview_p.h @@ -31,7 +31,7 @@ namespace Plasma { * * A widget which reserves area for window preview and sets hints on the toplevel * tooltip widget that tells KWin to render the preview in this area. This depends - * on KWin's TaskbarThumbnail compositing effect (which is automaticaly detected). + * on KWin's TaskbarThumbnail compositing effect (which is automatically detected). */ class WindowPreview : public QWidget { diff --git a/tooltipmanager.h b/tooltipmanager.h index 26a473304..e0165a8dc 100644 --- a/tooltipmanager.h +++ b/tooltipmanager.h @@ -195,7 +195,7 @@ public: bool widgetHasToolTip(QGraphicsWidget *widget) const; /** - * Enable/or disable a Tooltip, this method is usefull is we want + * Enable/or disable a Tooltip, this method is useful is we want * to have a tooltip activated on demand. * @param widget the widget to change tooltip behaviour * @param enable if we need the tooltip or not diff --git a/view.h b/view.h index b9afa9f84..8a4f43d50 100644 --- a/view.h +++ b/view.h @@ -134,7 +134,7 @@ public: /** * Set whether or not the view should adjust its size when the associated * containment does. - * @arg trackChanges true to syncronize the view's size with the containment's + * @arg trackChanges true to synchronize the view's size with the containment's * (this is the default behaviour), false to ignore containment size changes */ void setTrackContainmentChanges(bool trackChanges);