diff --git a/generators/ghostview/interpreter_cmd.h b/generators/ghostview/interpreter_cmd.h index 224d763ff..1b6a1d040 100644 --- a/generators/ghostview/interpreter_cmd.h +++ b/generators/ghostview/interpreter_cmd.h @@ -70,7 +70,7 @@ class GSInterpreterCMD : public QThread signals: /** - * This signal gets emited whenever a page is finished, but contains a reference to the pixmap + * This signal gets emitted whenever a page is finished, but contains a reference to the pixmap * used to hold the image. * * Don't change the pixmap or bad things will happen. This is the backing pixmap of the display. @@ -98,7 +98,7 @@ class GSInterpreterCMD : public QThread QString m_error; // FILE INFORMATION: // hold pointer to a file never delete it, it should - // change everytime new request is done + // change every time a new request is done bool m_structurePending; double m_magnify; int m_aaText,m_aaGfx; diff --git a/part.cpp b/part.cpp index 61704f833..1fe2d994b 100644 --- a/part.cpp +++ b/part.cpp @@ -426,7 +426,7 @@ void Part::fillGenerators() for (int i=0;iproperty("Name").toString(); - // dont load already loaded generators + // don't load already loaded generators if (! m_loadedGenerators.take( propName ) ) { KLibrary *lib = loader->globalLibrary( QFile::encodeName( offers[i]->library() ) ); @@ -472,7 +472,7 @@ void Part::slotGeneratorPreferences( ) it.value()->addPages(dialog); } - // (for now dont FIXME) keep us informed when the user changes settings + // (for now don't FIXME) keep us informed when the user changes settings // connect( dialog, SIGNAL( settingsChanged() ), this, SLOT( slotNewConfig() ) ); dialog->show(); } diff --git a/ui/pagepainter.cpp b/ui/pagepainter.cpp index e4f4ac8b1..0355ebaa8 100644 --- a/ui/pagepainter.cpp +++ b/ui/pagepainter.cpp @@ -100,7 +100,7 @@ void PagePainter::paintPageOnPainter( QPainter * destPainter, const Okular::Page bool enhanceLinks = (flags & EnhanceLinks) && Okular::Settings::highlightLinks(); bool enhanceImages = (flags & EnhanceImages) && Okular::Settings::highlightImages(); // vectors containing objects to draw - // make this a qcolor, rect map, since we dont need + // make this a qcolor, rect map, since we don't need // to know s_id here! we are only drawing this right? QList< QPair > * bufferedHighlights = 0; QList< Okular::Annotation * > * bufferedAnnotations = 0; @@ -490,7 +490,7 @@ void PagePainter::paintPageOnPainter( QPainter * destPainter, const Okular::Page { Okular::Annotation * a = *aIt; - // honour opacity settings on supported types + // honor opacity settings on supported types unsigned int opacity = (unsigned int)( 255.0 * a->style.opacity ); if ( opacity <= 0 ) continue; diff --git a/ui/pageview.cpp b/ui/pageview.cpp index 41e510c8f..4ed9e3ee3 100644 --- a/ui/pageview.cpp +++ b/ui/pageview.cpp @@ -1591,7 +1591,7 @@ if (d->document->handleEvent( e ) ) // check if the user really selected an action if ( choice ) { - // IMAGE operation choosen + // IMAGE operation chosen if ( choice == imageToClipboard || choice == imageToFile ) { // renders page into a pixmap @@ -1628,7 +1628,7 @@ if (d->document->handleEvent( e ) ) } } } - // TEXT operation choosen + // TEXT operation chosen else { if ( choice == textToClipboard ) @@ -1867,7 +1867,7 @@ void PageView::drawDocumentOnPainter( const QRect & contentsRect, QPainter * p ) QRect checkRect = contentsRect; checkRect.adjust( -3, -3, 1, 1 ); - // create a region from wich we'll subtract painted rects + // create a region from which we'll subtract painted rects QRegion remainingArea( contentsRect ); // iterate over all items painting the ones intersecting contentsRect @@ -1912,7 +1912,7 @@ void PageView::drawDocumentOnPainter( const QRect & contentsRect, QPainter * p ) } } - // draw the page using the PagePainter whith all flags active + // draw the page using the PagePainter with all flags active if ( contentsRect.intersects( itemGeometry ) ) { QRect pixmapRect = contentsRect.intersect( itemGeometry );