From ca82971624269719d487c6f7980d7237f9420036 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:45:00 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- noatun-plugins/nexscope/nex.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'noatun-plugins/nexscope/nex.h') diff --git a/noatun-plugins/nexscope/nex.h b/noatun-plugins/nexscope/nex.h index 3a447f1..3d16762 100644 --- a/noatun-plugins/nexscope/nex.h +++ b/noatun-plugins/nexscope/nex.h @@ -20,8 +20,8 @@ typedef uint8_t Byte; #define COLOR(r,g,b) ((r<<16) | (g<<8) | (b)) #define COLORSTR(pixel) \ - TQString("#%1%2%3").tqarg(TQString::number((pixel>>16) & 8, 16)) \ - .tqarg(TQString::number((pixel>>8) & 8, 16)).tqarg(TQString::number(pixel& 8, 16)) + TQString("#%1%2%3").arg(TQString::number((pixel>>16) & 8, 16)) \ + .arg(TQString::number((pixel>>8) & 8, 16)).arg(TQString::number(pixel& 8, 16)) #define STRCOLOR(pixel) \ Pixel(((pixel.mid(1,2).toInt(0, 16)) <<16) \ @@ -79,7 +79,7 @@ Q_OBJECT public: Spacer(TQWidget *parent) : TQWidget(parent) { - tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, + setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding)); } }; -- cgit v1.2.1