diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /noatun-plugins/nexscope/renderers.cpp | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun-plugins/nexscope/renderers.cpp')
-rw-r--r-- | noatun-plugins/nexscope/renderers.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noatun-plugins/nexscope/renderers.cpp b/noatun-plugins/nexscope/renderers.cpp index 830024b..f5e97c9 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 <qlayout.h> +#include <tqlayout.h> #include <klocale.h> struct HorizontalPair : public Renderer @@ -15,10 +15,10 @@ struct HorizontalPair : public Renderer pair=true; } - QWidget *configure(QWidget *parent) + TQWidget *configure(TQWidget *parent) { - QWidget *config=new QWidget(parent); - (new QVBoxLayout(config))->setAutoAdd(true); + TQWidget *config=new TQWidget(parent); + (new TQVBoxLayout(config))->setAutoAdd(true); new NexColorButton(config, &color); new NexCheckBox(config, i18n("Horizontal"), &horizontal); @@ -99,7 +99,7 @@ struct HorizontalPair : public Renderer return src; } - virtual void save(QDomElement &e) + virtual void save(TQDomElement &e) { e.setTagName("Waveform"); e.setAttribute("horizontal", (int)horizontal); @@ -108,7 +108,7 @@ struct HorizontalPair : public Renderer e.setAttribute("color", COLORSTR(color)); } - virtual void load(const QDomElement &e) + virtual void load(const TQDomElement &e) { horizontal=(bool)e.attribute("horizontal", 0).toInt(); pair=(bool)e.attribute("pair", 0).toInt(); |