summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/nexscope/nex.h
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/nexscope/nex.h')
-rw-r--r--noatun-plugins/nexscope/nex.h26
1 files changed, 15 insertions, 11 deletions
diff --git a/noatun-plugins/nexscope/nex.h b/noatun-plugins/nexscope/nex.h
index c9477f2..8340b67 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").arg(TQString::number((pixel>>16) & 8, 16)) \
- .arg(TQString::number((pixel>>8) & 8, 16)).arg(TQString::number(pixel& 8, 16))
+ TQString("#%1%2%3").tqarg(TQString::number((pixel>>16) & 8, 16)) \
+ .tqarg(TQString::number((pixel>>8) & 8, 16)).tqarg(TQString::number(pixel& 8, 16))
#define STRCOLOR(pixel) \
Pixel(((pixel.mid(1,2).toInt(0, 16)) <<16) \
@@ -72,13 +72,14 @@ private:
SDL_Thread *mThread;
};
-class Spacer : public QWidget
+class Spacer : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- Spacer(TQWidget *parent) : TQWidget(parent)
+ Spacer(TQWidget *tqparent) : TQWidget(tqparent)
{
- setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding,
+ tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding,
TQSizePolicy::MinimumExpanding));
}
};
@@ -220,11 +221,12 @@ private:
#include <tqcheckbox.h>
#include <kcolorbutton.h>
-class NexCheckBox : public QCheckBox
+class NexCheckBox : public TQCheckBox
{
Q_OBJECT
+ TQ_OBJECT
public:
- NexCheckBox(TQWidget *parent, const TQString &, bool *v);
+ NexCheckBox(TQWidget *tqparent, const TQString &, bool *v);
private slots:
void change(bool b);
@@ -237,8 +239,9 @@ private:
class NexColorButton : public KColorButton
{
Q_OBJECT
+ TQ_OBJECT
public:
- NexColorButton(TQWidget *parent, Pixel *color);
+ NexColorButton(TQWidget *tqparent, Pixel *color);
private slots:
void change(const TQColor &c);
@@ -266,11 +269,12 @@ class TQCheckBox;
class TQMultiLineEdit;
class RendererList;
-class RendererListConfigurator : public QWidget
+class RendererListConfigurator : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- RendererListConfigurator(RendererList *l, TQWidget *parent);
+ RendererListConfigurator(RendererList *l, TQWidget *tqparent);
~RendererListConfigurator();
public slots:
@@ -299,7 +303,7 @@ public:
bool clearAfter() const { return mClearAfter; }
void setClearAfter(bool b) { mClearAfter=b; }
- virtual TQWidget *configure(TQWidget *parent);
+ virtual TQWidget *configure(TQWidget *tqparent);
virtual void save(TQDomElement &e);