From fcd2154ede47d527ad893548e3f35e7bdc79dee2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:28:55 -0600 Subject: [PATCH] Rename additional global TQt functions --- twin-styles/icewm/icewm.cpp | 12 ++++++------ twin-styles/smooth-blend/client/smoothblend.cc | 18 +++++++++--------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/twin-styles/icewm/icewm.cpp b/twin-styles/icewm/icewm.cpp index c41c7a58..1e79ceb0 100644 --- a/twin-styles/icewm/icewm.cpp +++ b/twin-styles/icewm/icewm.cpp @@ -496,7 +496,7 @@ void ThemeHandler::freePixmapGroup( TQPixmap* p[] ) p[Active] = NULL; p[InActive] = NULL; } else - qWarning("twin-icewm: freePixmapGroup - invalid TQPixmap** 'p'\n"); + tqWarning("twin-icewm: freePixmapGroup - invalid TQPixmap** 'p'\n"); } @@ -583,9 +583,9 @@ static void draw3DRect(TQPainter &pnt, TQColor &col, int x, int y, int w, int h, void ThemeHandler::setPixmapButton( TQPixmap* p[], TQString s1, TQString s2) { if ( p[Active] ) - qWarning("twin-icewm: setPixmap - should be null (1)\n"); + tqWarning("twin-icewm: setPixmap - should be null (1)\n"); if ( p[InActive] ) - qWarning("twin-icewm: setPixmap - should be null (2)\n"); + tqWarning("twin-icewm: setPixmap - should be null (2)\n"); TQString str = locate("appdata", TQString("icewm-themes/") + themeName + s1 + "A" + s2); @@ -682,9 +682,9 @@ void ThemeHandler::setPixmap( TQPixmap* p[], TQString s1, TQString s2, bool stretch, bool stretchHoriz ) { if ( p[Active] ) - qWarning("twin-icewm: setPixmap - should be null (1)\n"); + tqWarning("twin-icewm: setPixmap - should be null (1)\n"); if ( p[InActive] ) - qWarning("twin-icewm: setPixmap - should be null (2)\n"); + tqWarning("twin-icewm: setPixmap - should be null (2)\n"); p[Active] = new TQPixmap( locate("data", TQString("twin/icewm-themes/") + themeName + s1 + "A" + s2) ); @@ -825,7 +825,7 @@ void IceWMButton::drawButton(TQPainter *pnt) pnt->drawPixmap(0, 0, *p, 0, 0, width, titleBarHeight); } } else - qWarning("twin-icewm: Can't paint a null pixmap button"); + tqWarning("twin-icewm: Can't paint a null pixmap button"); } diff --git a/twin-styles/smooth-blend/client/smoothblend.cc b/twin-styles/smooth-blend/client/smoothblend.cc index 69c3bf76..91433102 100644 --- a/twin-styles/smooth-blend/client/smoothblend.cc +++ b/twin-styles/smooth-blend/client/smoothblend.cc @@ -1135,15 +1135,15 @@ void smoothblendClient::paintEvent(TQPaintEvent*) { /* if(active) { - qDebug("paintEvent() topRect.y() = %i\tbottom() = %i",topRect.top(),topRect.bottom()); - qDebug("paintEvent() titleRect.y() = %i\tbottom() = %i",titleRect.top(),titleRect.bottom()); - qDebug("paintEvent() textRect.y() = %i\tbottom() = %i",textRect.top(),textRect.bottom()); - qDebug("paintEvent() Rltitle.y() = %i\tbottom() = %i",Rltitle.top(),Rltitle.bottom()); - qDebug("paintEvent() Rrtitle.y() = %i\tbottom() = %i",Rrtitle.top(),Rrtitle.bottom()); - qDebug("paintEvent() Rdeco.y() = %i\tbottom() = %i",Rdeco.top(),Rdeco.bottom()); - qDebug("paintEvent() Rleft.y() = %i\tbottom() = %i",Rleft.top(),Rleft.bottom()); - qDebug("paintEvent() Rright.y() = %i\tbottom() = %i",Rright.top(),Rright.bottom()); - qDebug("paintEvent() Rbottom.y() = %i\tbottom() = %i",Rbottom.top(),Rbottom.bottom()); + tqDebug("paintEvent() topRect.y() = %i\tbottom() = %i",topRect.top(),topRect.bottom()); + tqDebug("paintEvent() titleRect.y() = %i\tbottom() = %i",titleRect.top(),titleRect.bottom()); + tqDebug("paintEvent() textRect.y() = %i\tbottom() = %i",textRect.top(),textRect.bottom()); + tqDebug("paintEvent() Rltitle.y() = %i\tbottom() = %i",Rltitle.top(),Rltitle.bottom()); + tqDebug("paintEvent() Rrtitle.y() = %i\tbottom() = %i",Rrtitle.top(),Rrtitle.bottom()); + tqDebug("paintEvent() Rdeco.y() = %i\tbottom() = %i",Rdeco.top(),Rdeco.bottom()); + tqDebug("paintEvent() Rleft.y() = %i\tbottom() = %i",Rleft.top(),Rleft.bottom()); + tqDebug("paintEvent() Rright.y() = %i\tbottom() = %i",Rright.top(),Rright.bottom()); + tqDebug("paintEvent() Rbottom.y() = %i\tbottom() = %i",Rbottom.top(),Rbottom.bottom()); } */