summaryrefslogtreecommitdiffstats
path: root/lib/kwmf
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /lib/kwmf
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'lib/kwmf')
-rw-r--r--lib/kwmf/kowmfreadprivate.h2
-rw-r--r--lib/kwmf/kwmf.cc10
-rw-r--r--lib/kwmf/qwmf.cc4
-rw-r--r--lib/kwmf/qwmf.h2
4 files changed, 9 insertions, 9 deletions
diff --git a/lib/kwmf/kowmfreadprivate.h b/lib/kwmf/kowmfreadprivate.h
index ea95e563..feebe0b3 100644
--- a/lib/kwmf/kowmfreadprivate.h
+++ b/lib/kwmf/kowmfreadprivate.h
@@ -112,7 +112,7 @@ public:
/****************** Text *******************/
/// set text color
void setTextColor( TQ_UINT32 size, TQDataStream& stream );
- /// set text tqalignment
+ /// set text alignment
void setTextAlign( TQ_UINT32 size, TQDataStream& stream );
/// draw text
void textOut( TQ_UINT32 size, TQDataStream& stream );
diff --git a/lib/kwmf/kwmf.cc b/lib/kwmf/kwmf.cc
index 0a0d2c12..d8965537 100644
--- a/lib/kwmf/kwmf.cc
+++ b/lib/kwmf/kwmf.cc
@@ -351,7 +351,7 @@ bool KWmf::parse(
bool isPlaceable;
bool isEnhanced;
- startedAt = stream.tqdevice()->at();
+ startedAt = stream.device()->at();
stream.setByteOrder(TQDataStream::LittleEndian); // Great, I love TQt !
for (int i = 0; i < s_maxHandles; i++)
@@ -477,7 +477,7 @@ bool KWmf::parse(
}
else
{
- stream.tqdevice()->at(startedAt);
+ stream.device()->at(startedAt);
m_dpi = (unsigned)((double)576 / m_dpi);
m_windowOrgX = 0;
m_windowOrgY = 0;
@@ -487,7 +487,7 @@ bool KWmf::parse(
//----- Read as enhanced metafile header
- fileAt = stream.tqdevice()->at();
+ fileAt = stream.device()->at();
stream >> eheader.iType;
stream >> eheader.nSize;
stream >> eheader.rclBounds.left;
@@ -539,7 +539,7 @@ bool KWmf::parse(
{
// debug("WMF Header");
//----- Read as standard metafile header
- stream.tqdevice()->at(fileAt);
+ stream.device()->at(fileAt);
stream >> header.mtType;
stream >> header.mtHeaderSize;
stream >> header.mtVersion;
@@ -558,7 +558,7 @@ bool KWmf::parse(
*/
}
- walk((size - (stream.tqdevice()->at() - startedAt)) / 2, stream);
+ walk((size - (stream.device()->at() - startedAt)) / 2, stream);
return true;
}
diff --git a/lib/kwmf/qwmf.cc b/lib/kwmf/qwmf.cc
index e9cafee1..aabe4021 100644
--- a/lib/kwmf/qwmf.cc
+++ b/lib/kwmf/qwmf.cc
@@ -348,7 +348,7 @@ bool QWinMetaFile::paint( const TQPaintDevice* aTarget, bool absolute )
mWinding = false;
mAbsoluteCoord = absolute;
- mPainter.tqbegin( const_cast<TQPaintDevice*>(aTarget) );
+ mPainter.begin( const_cast<TQPaintDevice*>(aTarget) );
if ( TQWMF_DEBUG ) {
kdDebug() << "Bounding box : " << mBBox.left()
<< " " << mBBox.top() << " " << mBBox.right() << " " << mBBox.bottom() << endl;
@@ -762,7 +762,7 @@ void QWinMetaFile::extTextOut( long num, short* parm )
mPainter.translate( -parm[ 1 ], -parm[ 0 ] );
}
- // tqalignment
+ // alignment
if ( mTextAlign & 0x06 )
x -= ( width / 2 );
if ( mTextAlign & 0x08 )
diff --git a/lib/kwmf/qwmf.h b/lib/kwmf/qwmf.h
index 3bc668c9..cf05d617 100644
--- a/lib/kwmf/qwmf.h
+++ b/lib/kwmf/qwmf.h
@@ -139,7 +139,7 @@ public: // should be protected but cannot
/****************** Text *******************/
/** set text color */
void setTextColor( long num, short* parms );
- /** set text tqalignment */
+ /** set text alignment */
void setTextAlign( long num, short* parms );
/** draw text */
void textOut( long num, short* parms );