spell checking

svn path=/trunk/playground/graphics/okular/; revision=597875
This commit is contained in:
Pino Toscano 2006-10-21 22:07:05 +00:00
parent bbcb217a19
commit ed84916c0d
4 changed files with 10 additions and 10 deletions

View file

@ -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;

View file

@ -426,7 +426,7 @@ void Part::fillGenerators()
for (int i=0;i<count;i++)
{
propName=offers[i]->property("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();
}

View file

@ -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<QColor, Okular::NormalizedRect *> > * 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;

View file

@ -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 );