diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-09 18:58:02 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-22 21:28:42 +0900 |
| commit | 3723148aa321530969ae4dd7472c461b94b5405e (patch) | |
| tree | e5d11a855ae5ab9b409ce5f478b3a78d310f39f5 /lib/kwmf | |
| parent | e220a1b2b9fa4c97bbcaabf51cd259e62edd3ab3 (diff) | |
| download | koffice-3723148a.tar.gz koffice-3723148a.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7a7827396f90ad06945cd5a367f93d8ffd380e0f)
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; |
