From 1d077caf68127ab1a5518df84cc5592a1b47a965 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 14 Aug 2011 05:14:51 +0000 Subject: TQt4 port kdeartwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1246991 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwin-styles/smooth-blend/client/buttons.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kwin-styles/smooth-blend/client/buttons.h') diff --git a/kwin-styles/smooth-blend/client/buttons.h b/kwin-styles/smooth-blend/client/buttons.h index ac0eaa8e..3d777144 100644 --- a/kwin-styles/smooth-blend/client/buttons.h +++ b/kwin-styles/smooth-blend/client/buttons.h @@ -1704,7 +1704,7 @@ static struct EmbedImage { const unsigned char *data; ulong compressed; int numColors; - const QRgb *colorTable; + const TQRgb *colorTable; bool alpha; const char *name; } embed_image_vec[] = { @@ -1731,13 +1731,13 @@ static TQImage uic_findImage( const TQString& name ) for ( int i=0; embed_image_vec[i].data; i++ ) { if ( TQString::fromUtf8(embed_image_vec[i].name) == name ) { TQByteArray baunzip; - baunzip = qUncompress( embed_image_vec[i].data, + baunzip = tqUncompress( embed_image_vec[i].data, embed_image_vec[i].compressed ); TQImage img((uchar*)baunzip.data(), embed_image_vec[i].width, embed_image_vec[i].height, embed_image_vec[i].depth, - (QRgb*)embed_image_vec[i].colorTable, + (TQRgb*)embed_image_vec[i].colorTable, embed_image_vec[i].numColors, TQImage::BigEndian ); @@ -1750,7 +1750,7 @@ static TQImage uic_findImage( const TQString& name ) return TQImage(); } -class MimeSourceFactory_smoothblend : public QMimeSourceFactory +class MimeSourceFactory_smoothblend : public TQMimeSourceFactory { public: MimeSourceFactory_smoothblend() {} -- cgit v1.2.1