summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/plined.cpp
diff options
context:
space:
mode:
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;
}