diff options
Diffstat (limited to 'lib/kwmf')
-rw-r--r-- | lib/kwmf/kowmfreadprivate.h | 2 | ||||
-rw-r--r-- | lib/kwmf/kowmfwrite.h | 2 | ||||
-rw-r--r-- | lib/kwmf/qwmf.cpp | 7 | ||||
-rw-r--r-- | lib/kwmf/qwmf.h | 4 |
4 files changed, 5 insertions, 10 deletions
diff --git a/lib/kwmf/kowmfreadprivate.h b/lib/kwmf/kowmfreadprivate.h index feebe0b31..7523eb744 100644 --- a/lib/kwmf/kowmfreadprivate.h +++ b/lib/kwmf/kowmfreadprivate.h @@ -189,7 +189,7 @@ private: /** Convert (x1,y1) and (x2, y2) positions in angle and angleLength */ void xyToAngle( int xStart, int yStart, int xEnd, int yEnd, int& angle, int& aLength ); - /** Convert windows rasterOp in QT rasterOp */ + /** Convert windows rasterOp in TQt rasterOp */ TQt::RasterOp winToTQtRaster( TQ_UINT16 param ) const; TQt::RasterOp winToTQtRaster( TQ_UINT32 param ) const; diff --git a/lib/kwmf/kowmfwrite.h b/lib/kwmf/kowmfwrite.h index fda0540f3..04ce2c3a2 100644 --- a/lib/kwmf/kowmfwrite.h +++ b/lib/kwmf/kowmfwrite.h @@ -128,7 +128,7 @@ private: /** Convert angle a and alen in coordinate (xStart,yStart) and (xEnd, yEnd) */ void angleToxy( int& xStart, int& yStart, int& xEnd, int& yEnd, int a, int alen ); - /** Convert windows rasterOp in QT rasterOp */ + /** Convert windows rasterOp in TQt rasterOp */ TQ_UINT16 qtRasterToWin16( TQt::RasterOp op ) const; TQ_UINT32 qtRasterToWin32( TQt::RasterOp op ) const; diff --git a/lib/kwmf/qwmf.cpp b/lib/kwmf/qwmf.cpp index 415c63dd2..79f9b9f74 100644 --- a/lib/kwmf/qwmf.cpp +++ b/lib/kwmf/qwmf.cpp @@ -1250,11 +1250,6 @@ bool QWinMetaFile::dibToBmp( TQImage& bmp, const char* dib, long size ) kdDebug() << "QWinMetaFile::dibToBmp: invalid bitmap " << endl; return false; } - else { -// if ( bmp.save("/home/software/kde-cvs/qt/examples/wmf/test.bmp", "BMP") ) -// if ( bmp.load( "/home/software/kde-cvs/qt/examples/wmf/test.bmp", "BMP" ) ) -// fprintf(stderr, "Bitmap ok \n"); - return true; - } + return true; } diff --git a/lib/kwmf/qwmf.h b/lib/kwmf/qwmf.h index 2fe154dcd..157b31468 100644 --- a/lib/kwmf/qwmf.h +++ b/lib/kwmf/qwmf.h @@ -37,7 +37,7 @@ class WinObjBrushHandle; struct WmfPlaceableHeader; /** - * QWinMetaFile is a WMF viewer based on QT toolkit + * QWinMetaFile is a WMF viewer based on TQt toolkit * How to use QWinMetaFile : * <pre> * #include "qwmf.h" @@ -200,7 +200,7 @@ protected: void addHandle( WinObjHandle* ); void deleteHandle( int ); - /** Convert windows rasterOp in QT rasterOp */ + /** Convert windows rasterOp in TQt rasterOp */ TQt::RasterOp winToTQtRaster( short parm ) const; TQt::RasterOp winToTQtRaster( long parm ) const; |