summaryrefslogtreecommitdiffstats
path: root/kandy/src/cmdpropertiesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kandy/src/cmdpropertiesdialog.cpp')
-rw-r--r--kandy/src/cmdpropertiesdialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kandy/src/cmdpropertiesdialog.cpp b/kandy/src/cmdpropertiesdialog.cpp
index f871a02bb..f9667c268 100644
--- a/kandy/src/cmdpropertiesdialog.cpp
+++ b/kandy/src/cmdpropertiesdialog.cpp
@@ -22,9 +22,9 @@
without including the source code for Qt in the source distribution.
*/
-#include <qlistview.h>
-#include <qlineedit.h>
-#include <qcheckbox.h>
+#include <tqlistview.h>
+#include <tqlineedit.h>
+#include <tqcheckbox.h>
#include <kinputdialog.h>
#include <klocale.h>
@@ -34,10 +34,10 @@
#include "cmdpropertiesdialog.h"
#include "cmdpropertiesdialog.moc"
-class ParameterItem : public QCheckListItem {
+class ParameterItem : public TQCheckListItem {
public:
- ParameterItem(ATParameter *p,QListView *parent) :
- QCheckListItem(parent,p->name(),CheckBox),mParameter(p)
+ ParameterItem(ATParameter *p,TQListView *parent) :
+ TQCheckListItem(parent,p->name(),CheckBox),mParameter(p)
{
setText(1,p->value());
setOn(p->userInput());
@@ -62,7 +62,7 @@ class ParameterItem : public QCheckListItem {
* The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog.
*/
-CmdPropertiesDialog::CmdPropertiesDialog(ATCommand *cmd, QWidget* parent,
+CmdPropertiesDialog::CmdPropertiesDialog(ATCommand *cmd, TQWidget* parent,
const char* name, bool modal,
WFlags fl )
: CmdPropertiesDialog_base( parent, name, modal, fl )
@@ -82,7 +82,7 @@ void CmdPropertiesDialog::readCommand()
mStringEdit->setText(mCmd->cmdString());
mHexCheck->setChecked(mCmd->hexOutput());
- QPtrList<ATParameter> parameters = mCmd->parameters();
+ TQPtrList<ATParameter> parameters = mCmd->parameters();
for(int i=(int)parameters.count()-1;i>=0;--i) {
ATParameter *p = parameters.at(i);
new ParameterItem(p,mParameterList);
@@ -101,11 +101,11 @@ void CmdPropertiesDialog::writeCommand()
}
}
-void CmdPropertiesDialog::editParameterName(QListViewItem *item)
+void CmdPropertiesDialog::editParameterName(TQListViewItem *item)
{
bool ok = false;
- QString newName = KInputDialog::getText(QString::null,
+ TQString newName = KInputDialog::getText(TQString::null,
i18n("Enter parameter name:"),item->text(0),&ok,this);
if (ok) {