summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/nexscope/nex.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:45:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:45:00 -0600
commitca82971624269719d487c6f7980d7237f9420036 (patch)
treecac461d765c50b2709a9ef6324940e70fe056ba2 /noatun-plugins/nexscope/nex.h
parent0e4ea21f450acbb4ea3c5a1293341668494d7dd4 (diff)
downloadtdeaddons-ca82971624269719d487c6f7980d7237f9420036.tar.gz
tdeaddons-ca82971624269719d487c6f7980d7237f9420036.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'noatun-plugins/nexscope/nex.h')
-rw-r--r--noatun-plugins/nexscope/nex.h6
1 files changed, 3 insertions, 3 deletions
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));
}
};