summaryrefslogtreecommitdiffstats
path: root/lib/kwmf
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-09 18:58:02 +0900
committerMichele Calgaro <[email protected]>2024-03-22 21:28:42 +0900
commit3723148aa321530969ae4dd7472c461b94b5405e (patch)
treee5d11a855ae5ab9b409ce5f478b3a78d310f39f5 /lib/kwmf
parente220a1b2b9fa4c97bbcaabf51cd259e62edd3ab3 (diff)
downloadkoffice-3723148aa321530969ae4dd7472c461b94b5405e.tar.gz
koffice-3723148aa321530969ae4dd7472c461b94b5405e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 7a7827396f90ad06945cd5a367f93d8ffd380e0f)
Diffstat (limited to 'lib/kwmf')
-rw-r--r--lib/kwmf/kowmfreadprivate.h2
-rw-r--r--lib/kwmf/kowmfwrite.h2
-rw-r--r--lib/kwmf/qwmf.cpp7
-rw-r--r--lib/kwmf/qwmf.h4
4 files changed, 5 insertions, 10 deletions
diff --git a/lib/kwmf/kowmfreadprivate.h b/lib/kwmf/kowmfreadprivate.h
index feebe0b3..7523eb74 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 fda0540f..04ce2c3a 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 415c63dd..79f9b9f7 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 2fe154dc..157b3146 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;