summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kmpropcontainer.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/management/kmpropcontainer.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/kmpropcontainer.cpp')
-rw-r--r--kdeprint/management/kmpropcontainer.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kdeprint/management/kmpropcontainer.cpp b/kdeprint/management/kmpropcontainer.cpp
index cc55aa901..90be6da19 100644
--- a/kdeprint/management/kmpropcontainer.cpp
+++ b/kdeprint/management/kmpropcontainer.cpp
@@ -21,13 +21,13 @@
#include "kmpropwidget.h"
#include <kpushbutton.h>
-#include <qlayout.h>
+#include <tqlayout.h>
#include <klocale.h>
#include <kseparator.h>
#include <kguiitem.h>
-KMPropContainer::KMPropContainer(QWidget *parent, const char *name)
-: QWidget(parent,name)
+KMPropContainer::KMPropContainer(TQWidget *parent, const char *name)
+: TQWidget(parent,name)
{
KSeparator* sep = new KSeparator( KSeparator::HLine, this);
sep->setFixedHeight(5);
@@ -35,8 +35,8 @@ KMPropContainer::KMPropContainer(QWidget *parent, const char *name)
m_button = new KPushButton(KGuiItem(i18n("Change..."), "edit"), this);
m_widget = 0;
- QVBoxLayout *main_ = new QVBoxLayout(this, 0, 10);
- QHBoxLayout *btn_ = new QHBoxLayout(0, 0, 0);
+ QVBoxLayout *main_ = new TQVBoxLayout(this, 0, 10);
+ QHBoxLayout *btn_ = new TQHBoxLayout(0, 0, 0);
main_->addWidget(sep,0);
main_->addLayout(btn_,0);
btn_->addStretch(1);
@@ -52,11 +52,11 @@ void KMPropContainer::setWidget(KMPropWidget *w)
if (!m_widget)
{
m_widget = w;
- m_widget->reparent(this,QPoint(0,0));
- connect(m_button,SIGNAL(clicked()),m_widget,SLOT(slotChange()));
- connect(m_widget,SIGNAL(enable(bool)),SIGNAL(enable(bool)));
- connect(m_widget,SIGNAL(enableChange(bool)),SLOT(slotEnableChange(bool)));
- QVBoxLayout *lay = dynamic_cast<QVBoxLayout*>(layout());
+ m_widget->reparent(this,TQPoint(0,0));
+ connect(m_button,TQT_SIGNAL(clicked()),m_widget,TQT_SLOT(slotChange()));
+ connect(m_widget,TQT_SIGNAL(enable(bool)),TQT_SIGNAL(enable(bool)));
+ connect(m_widget,TQT_SIGNAL(enableChange(bool)),TQT_SLOT(slotEnableChange(bool)));
+ QVBoxLayout *lay = dynamic_cast<TQVBoxLayout*>(layout());
if (lay)
{
lay->insertWidget(0,m_widget,1);