From 395a904bff7b4d6ead445c342f7ac0c5fbf29121 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 18 Jun 2011 17:00:31 +0000 Subject: TQt4 port kdeaddons This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1237404 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- noatun-plugins/synaescope/cmodule.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'noatun-plugins/synaescope/cmodule.cpp') diff --git a/noatun-plugins/synaescope/cmodule.cpp b/noatun-plugins/synaescope/cmodule.cpp index 5b881fd..296a541 100644 --- a/noatun-plugins/synaescope/cmodule.cpp +++ b/noatun-plugins/synaescope/cmodule.cpp @@ -30,14 +30,14 @@ #include "cmodule.h" #include "synaescope.h" -SynaePrefs::SynaePrefs(TQObject *parent) - : CModule(i18n("Synaescope"), i18n("Noatun Visualization"), "synaescope", parent) +SynaePrefs::SynaePrefs(TQObject *tqparent) + : CModule(i18n("Synaescope"), i18n("Noatun Visualization"), "synaescope", tqparent) { // kdDebug(66666) << k_funcinfo << endl; xRes = new TQSpinBox(320, 1024, 16, this); yRes = new TQSpinBox(240, 768, 12, this); - TQVBoxLayout *layout = new TQVBoxLayout(this, 0, KDialog::spacingHint()); + TQVBoxLayout *tqlayout = new TQVBoxLayout(this, 0, KDialog::spacingHint()); TQHBoxLayout *xResLayout = new TQHBoxLayout(0, 0, KDialog::spacingHint()); TQHBoxLayout *yResLayout = new TQHBoxLayout(0, 0, KDialog::spacingHint()); @@ -47,9 +47,9 @@ SynaePrefs::SynaePrefs(TQObject *parent) yResLayout->addWidget(new TQLabel(i18n("Display height:"), this)); yResLayout->addWidget(yRes); - layout->addLayout(xResLayout); - layout->addLayout(yResLayout); - layout->addStretch(); + tqlayout->addLayout(xResLayout); + tqlayout->addLayout(yResLayout); + tqlayout->addStretch(); changed=false; connect(xRes, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotChanges())); -- cgit v1.2.1