diff options
Diffstat (limited to 'tdestyles/klegacy')
-rw-r--r-- | tdestyles/klegacy/klegacystyle.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tdestyles/klegacy/klegacystyle.cpp b/tdestyles/klegacy/klegacystyle.cpp index 9cc019795..89b76f4dc 100644 --- a/tdestyles/klegacy/klegacystyle.cpp +++ b/tdestyles/klegacy/klegacystyle.cpp @@ -387,7 +387,7 @@ static TQPixmap *drawImage(TQImage *image, int width, int height, // draw the image bool mask = image->hasAlphaBuffer(); TQBitmap bm(width, height); - bm.fill(Qt::color1); + bm.fill(TQt::color1); TQImage nimage[3][3]; int xx = -1, yy = -1; @@ -404,12 +404,12 @@ static TQPixmap *drawImage(TQImage *image, int width, int height, if (nimage[yy][xx].isNull()) continue; bitBlt(pixmap, x2[xx], y2[yy], &nimage[yy][xx], - 0, 0, w2[xx], h2[yy], Qt::CopyROP); + 0, 0, w2[xx], h2[yy], TQt::CopyROP); if (mask) { TQImage am = nimage[yy][xx].createAlphaMask(); bitBlt(&bm, x2[xx], y2[yy], &am, - 0, 0, w2[xx], h2[yy], Qt::CopyROP); + 0, 0, w2[xx], h2[yy], TQt::CopyROP); } } } @@ -419,14 +419,14 @@ static TQPixmap *drawImage(TQImage *image, int width, int height, } else { for (int y = 0; y < height; y += image->height()) for (int x = 0; x < width; x += image->width()) - bitBlt(pixmap, x, y, image, 0, 0, -1, -1, Qt::CopyROP); + bitBlt(pixmap, x, y, image, 0, 0, -1, -1, TQt::CopyROP); if (image->hasAlphaBuffer()) { TQImage mask = image->createAlphaMask(); if (! mask.isNull() && mask.depth() == 1) { TQBitmap bm(width, height); - bm.fill(Qt::color1); + bm.fill(TQt::color1); bm = mask; pixmap->setMask(bm); } @@ -1210,13 +1210,13 @@ bool KLegacyStylePrivate::parseImage(KLegacyStyleData *styledata) { if (equals.isNull() || parameter.isNull() || equals != "=") continue; if (parameter == "UP") - imagedata->key.data.arrowDirection = Qt::UpArrow + 1; + imagedata->key.data.arrowDirection = TQt::UpArrow + 1; else if (parameter == "DOWN") - imagedata->key.data.arrowDirection = Qt::DownArrow + 1; + imagedata->key.data.arrowDirection = TQt::DownArrow + 1; else if (parameter == "LEFT") - imagedata->key.data.arrowDirection = Qt::LeftArrow + 1; + imagedata->key.data.arrowDirection = TQt::LeftArrow + 1; else if (parameter == "RIGHT") - imagedata->key.data.arrowDirection = Qt::RightArrow + 1; + imagedata->key.data.arrowDirection = TQt::RightArrow + 1; } else if (next == "border") { filestream >> equals; filestream >> parameter; @@ -1323,9 +1323,9 @@ bool KLegacyStylePrivate::parseImage(KLegacyStyleData *styledata) { if (equals.isNull() || parameter.isNull() || equals != "=") continue; if (parameter == "VERTICAL") - imagedata->key.data.orientation = Qt::Vertical + 1; + imagedata->key.data.orientation = TQt::Vertical + 1; else if (parameter == "HORIZONTAL") - imagedata->key.data.orientation = Qt::Horizontal + 1; + imagedata->key.data.orientation = TQt::Horizontal + 1; } else if (next == "overlay_border") { filestream >> equals; filestream >> parameter; |