summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/plined.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/puke/plined.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/puke/plined.cpp')
-rw-r--r--ksirc/puke/plined.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/ksirc/puke/plined.cpp b/ksirc/puke/plined.cpp
index 3f3e6a09..56a4ddc0 100644
--- a/ksirc/puke/plined.cpp
+++ b/ksirc/puke/plined.cpp
@@ -9,11 +9,11 @@ PObject *
PLineEdit::createWidget(CreateArgs &ca)
{
PLineEdit *pw = new PLineEdit(ca.parent);
- QLineEdit *le;
+ TQLineEdit *le;
if(ca.parent != 0 && ca.parent->widget()->isWidgetType() == TRUE)
- le = new QLineEdit((QWidget *) ca.parent->widget());
+ le = new TQLineEdit((TQWidget *) ca.parent->widget());
else
- le = new QLineEdit(0L);
+ le = new TQLineEdit(0L);
pw->setWidget(le);
pw->setWidgetId(ca.pwI);
return pw;
@@ -59,7 +59,7 @@ void PLineEdit::messageHandler(int fd, PukeMessage *pm)
kdDebug(5008) << "PLineEdit: No Widget set" << endl;
return;
}
- widget()->setEchoMode((QLineEdit::EchoMode) pm->iArg);
+ widget()->setEchoMode((TQLineEdit::EchoMode) pm->iArg);
pmRet.iCommand = - pm->iCommand;
pmRet.iWinId = pm->iWinId;
pmRet.iArg = widget()->echoMode();
@@ -101,27 +101,27 @@ void PLineEdit::messageHandler(int fd, PukeMessage *pm)
}
}
-void PLineEdit::setWidget(QObject *_le)
+void PLineEdit::setWidget(TQObject *_le)
{
- if(_le != 0 && _le->inherits("QLineEdit") == FALSE)
+ if(_le != 0 && _le->inherits("TQLineEdit") == FALSE)
{
errorInvalidSet(_le);
return;
}
- lineedit = (QLineEdit *) _le;
+ lineedit = (TQLineEdit *) _le;
if(lineedit != 0){
- connect(lineedit, SIGNAL(textChanged(const char *)),
- this, SLOT(updateText(const char *)));
- connect(lineedit, SIGNAL(returnPressed()),
- this, SLOT(returnPress()));
+ connect(lineedit, TQT_SIGNAL(textChanged(const char *)),
+ this, TQT_SLOT(updateText(const char *)));
+ connect(lineedit, TQT_SIGNAL(returnPressed()),
+ this, TQT_SLOT(returnPress()));
}
PWidget::setWidget(_le);
}
-QLineEdit *PLineEdit::widget()
+TQLineEdit *PLineEdit::widget()
{
return lineedit;
}