summaryrefslogtreecommitdiffstats
path: root/kandy/src/cmdpropertiesdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kandy/src/cmdpropertiesdialog.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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) {