From bab40890696ec68c337dc290880423a0602b83c7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 16 Jan 2011 02:40:35 +0000 Subject: Finished remaining porting to new TQt API git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/rlpr/kmproxywidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kdeprint/rlpr/kmproxywidget.cpp') diff --git a/kdeprint/rlpr/kmproxywidget.cpp b/kdeprint/rlpr/kmproxywidget.cpp index c6dd59189..daf4b7665 100644 --- a/kdeprint/rlpr/kmproxywidget.cpp +++ b/kdeprint/rlpr/kmproxywidget.cpp @@ -31,13 +31,13 @@ KMProxyWidget::KMProxyWidget(TQWidget *parent, const char *name) : TQGroupBox(0, Qt::Vertical, i18n("Proxy Settings"), parent, name) { - QLabel *m_hostlabel = new TQLabel(i18n("&Host:"), this); - QLabel *m_portlabel = new TQLabel(i18n("&Port:"), this); + TQLabel *m_hostlabel = new TQLabel(i18n("&Host:"), this); + TQLabel *m_portlabel = new TQLabel(i18n("&Port:"), this); m_useproxy = new TQCheckBox(i18n("&Use proxy server"), this); m_useproxy->setCursor(KCursor::handCursor()); m_proxyhost = new TQLineEdit(this); m_proxyport = new TQLineEdit(this); - m_proxyport->setValidator(new TQIntValidator(m_proxyport)); + m_proxyport->setValidator(new TQIntValidator(TQT_TQOBJECT(m_proxyport))); m_hostlabel->setBuddy(m_proxyhost); m_portlabel->setBuddy(m_proxyport); @@ -46,7 +46,7 @@ KMProxyWidget::KMProxyWidget(TQWidget *parent, const char *name) m_proxyhost->setEnabled(false); m_proxyport->setEnabled(false); - QGridLayout *lay0 = new TQGridLayout(layout(), 3, 2, 10); + TQGridLayout *lay0 = new TQGridLayout(layout(), 3, 2, 10); lay0->setColStretch(1,1); lay0->addMultiCellWidget(m_useproxy,0,0,0,1); lay0->addWidget(m_hostlabel,1,0); -- cgit v1.2.3