From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- noatun/modules/kjofol-skin/helpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'noatun/modules/kjofol-skin/helpers.cpp') diff --git a/noatun/modules/kjofol-skin/helpers.cpp b/noatun/modules/kjofol-skin/helpers.cpp index b38822a6..0a2a9e67 100644 --- a/noatun/modules/kjofol-skin/helpers.cpp +++ b/noatun/modules/kjofol-skin/helpers.cpp @@ -43,9 +43,9 @@ static int isGray(QRgb r) // UPDATE: should work on both little and big endian now (haven't tested that!) // this code is taken from the QT-docu and I hope that this example // is one of the working ones ;) -inline void setPixel1BPP(QImage &image, int x, int y, bool value) +inline void setPixel1BPP(TQImage &image, int x, int y, bool value) { - if ( image.bitOrder() == QImage::LittleEndian ) + if ( image.bitOrder() == TQImage::LittleEndian ) { if (value) *(image.scanLine(y) + (x >> 3)) |= 1 << (x & 7); -- cgit v1.2.1