diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:45:00 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:45:00 -0600 |
commit | ca82971624269719d487c6f7980d7237f9420036 (patch) | |
tree | cac461d765c50b2709a9ef6324940e70fe056ba2 /noatun-plugins/nexscope | |
parent | 0e4ea21f450acbb4ea3c5a1293341668494d7dd4 (diff) | |
download | tdeaddons-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')
-rw-r--r-- | noatun-plugins/nexscope/gui.cpp | 2 | ||||
-rw-r--r-- | noatun-plugins/nexscope/nex.cpp | 2 | ||||
-rw-r--r-- | noatun-plugins/nexscope/nex.h | 6 | ||||
-rw-r--r-- | noatun-plugins/nexscope/renderers.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/noatun-plugins/nexscope/gui.cpp b/noatun-plugins/nexscope/gui.cpp index 624eb48..db0fcb3 100644 --- a/noatun-plugins/nexscope/gui.cpp +++ b/noatun-plugins/nexscope/gui.cpp @@ -1,6 +1,6 @@ #include <klocale.h> #include <tqheader.h> -#include <tqlayout.h> +#include <layout.h> #include <tqdragobject.h> #include <kfiledialog.h> #include <kstdaction.h> diff --git a/noatun-plugins/nexscope/nex.cpp b/noatun-plugins/nexscope/nex.cpp index 76870ff..3144782 100644 --- a/noatun-plugins/nexscope/nex.cpp +++ b/noatun-plugins/nexscope/nex.cpp @@ -8,7 +8,7 @@ #include <kcmdlineargs.h> #include <klocale.h> -#include <tqlayout.h> +#include <layout.h> #include <tqlabel.h> #include <tqcheckbox.h> #include <tqmultilineedit.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)); } }; diff --git a/noatun-plugins/nexscope/renderers.cpp b/noatun-plugins/nexscope/renderers.cpp index 538fa43..ff3d1c4 100644 --- a/noatun-plugins/nexscope/renderers.cpp +++ b/noatun-plugins/nexscope/renderers.cpp @@ -3,7 +3,7 @@ #include <time.h> #include <math.h> #include <iostream> -#include <tqlayout.h> +#include <layout.h> #include <klocale.h> structQt::HorizontalPair : public Renderer |