Make it compile.

It even works more or less.

svn path=/trunk/KDE/kdegraphics/kdvi/; revision=443779
This commit is contained in:
Wilfried Huss 2005-08-07 11:29:43 +00:00
parent 29ce6a405f
commit 00ad43d066
3 changed files with 4 additions and 3 deletions

View file

@ -313,7 +313,8 @@ glyph *TeXFont_PK::getGlyph(Q_UINT16 ch, bool generateCharacterPixmap, QColor co
}
g->shrunkenCharacter.convertFromImage(im32,0);
g->shrunkenCharacter.setOptimization(QPixmap::BestOptim);
//FIXME: KDE4 porting
//g->shrunkenCharacter.setOptimization(QPixmap::BestOptim);
}
return g;
}

View file

@ -99,7 +99,7 @@ int main(int argc, char** argv)
if ((*it).find("kviewshell") == 0)
{
QByteArray data, replyData;
Q3CString replyType;
DCOPCString replyType;
QDataStream arg(&data, QIODevice::WriteOnly);
arg.setVersion(QDataStream::Qt_3_1);

2
psgs.h
View file

@ -92,7 +92,7 @@ private:
// device can be found, something is badly wrong. In that case,
// "gsDevice" is set to an empty string, and
// gs_generate_graphics_file will return immediately.
Q3ValueListIterator<QString> gsDevice;
QList<QString>::iterator gsDevice;
// A list of known devices, set by the constructor. This includes
// "png256", "pnm". If a device is found to not work, its name is