summaryrefslogtreecommitdiffstats
path: root/src/qalculateeditdatasetdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qalculateeditdatasetdialog.cpp')
-rw-r--r--src/qalculateeditdatasetdialog.cpp186
1 files changed, 93 insertions, 93 deletions
diff --git a/src/qalculateeditdatasetdialog.cpp b/src/qalculateeditdatasetdialog.cpp
index 051515f..248039e 100644
--- a/src/qalculateeditdatasetdialog.cpp
+++ b/src/qalculateeditdatasetdialog.cpp
@@ -21,80 +21,80 @@
#include "qalculate_tde_utils.h"
#include "qalculateeditnamesdialog.h"
-#include <qgrid.h>
+#include <tqgrid.h>
#include <klineedit.h>
#include <kpushbutton.h>
#include <kcombobox.h>
-#include <qlabel.h>
+#include <tqlabel.h>
#include <klocale.h>
-#include <qvbox.h>
-#include <qhbox.h>
-#include <qcheckbox.h>
+#include <tqvbox.h>
+#include <tqhbox.h>
+#include <tqcheckbox.h>
#include <kmessagebox.h>
#include <kdeversion.h>
-#include <qlayout.h>
+#include <tqlayout.h>
#if KDE_VERSION_MAJOR < 4 && KDE_VERSION_MINOR < 1
-#include <qtextedit.h>
+#include <tqtextedit.h>
#else
#include <ktextedit.h>
#endif
#include <klistview.h>
#if KDE_VERSION_MAJOR < 4 && KDE_VERSION_MINOR < 2
-#include <qtabwidget.h>
+#include <tqtabwidget.h>
#else
#include <ktabwidget.h>
#endif
-#include <qapplication.h>
+#include <tqapplication.h>
#include <kstdguiitem.h>
extern PrintOptions printops;
extern tree_struct function_cats;
-QalculateEditDataSetDialog::QalculateEditDataSetDialog(QWidget *parent, const char *name) : KDialogBase(parent, name, true, i18n("Edit Data Set"), Ok | Cancel, Ok, false) {
+QalculateEditDataSetDialog::QalculateEditDataSetDialog(TQWidget *parent, const char *name) : KDialogBase(parent, name, true, i18n("Edit Data Set"), Ok | Cancel, Ok, false) {
names_edit_dialog = NULL;
edited_dataset = NULL;
property_edit_dialog = NULL;
#if KDE_VERSION_MAJOR < 4 && KDE_VERSION_MINOR < 2
- tabs = new QTabWidget(this);
+ tabs = new TQTabWidget(this);
#else
tabs = new KTabWidget(this);
#endif
setMainWidget(tabs);
- QWidget *page1 = new QWidget(this);
- QWidget *page2 = new QWidget(this);
- QWidget *page3 = new QWidget(this);
+ TQWidget *page1 = new TQWidget(this);
+ TQWidget *page2 = new TQWidget(this);
+ TQWidget *page3 = new TQWidget(this);
tabs->addTab(page1, i18n("General"));
tabs->addTab(page2, i18n("Properties"));
tabs->addTab(page3, i18n("Function"));
- QGridLayout *grid = new QGridLayout(page1, 1, 1, spacingHint());
- grid->addWidget(new QLabel(i18n("Title:"), page1), 0, 0);
+ TQGridLayout *grid = new TQGridLayout(page1, 1, 1, spacingHint());
+ grid->addWidget(new TQLabel(i18n("Title:"), page1), 0, 0);
titleEdit = new KLineEdit(page1);
grid->addWidget(titleEdit, 0, 1);
- grid->addWidget(new QLabel(i18n("Data file:"), page1), 1, 0);
+ grid->addWidget(new TQLabel(i18n("Data file:"), page1), 1, 0);
fileEdit = new KLineEdit(page1);
grid->addWidget(fileEdit, 1, 1);
- grid->addWidget(new QLabel(i18n("Description:"), page1), 2, 0);
+ grid->addWidget(new TQLabel(i18n("Description:"), page1), 2, 0);
#if KDE_VERSION_MAJOR < 4 && KDE_VERSION_MINOR < 1
- descriptionEdit = new QTextEdit(page1);
+ descriptionEdit = new TQTextEdit(page1);
#else
descriptionEdit = new KTextEdit(page1);
#endif
- descriptionEdit->setTextFormat(QTextEdit::PlainText);
+ descriptionEdit->setTextFormat(TQTextEdit::PlainText);
grid->addMultiCellWidget(descriptionEdit, 3, 3, 0, 1);
- grid->addWidget(new QLabel(i18n("Copyright:"), page1), 4, 0);
+ grid->addWidget(new TQLabel(i18n("Copyright:"), page1), 4, 0);
#if KDE_VERSION_MAJOR < 4 && KDE_VERSION_MINOR < 1
- copyrightEdit = new QTextEdit(page1);
+ copyrightEdit = new TQTextEdit(page1);
#else
copyrightEdit = new KTextEdit(page1);
#endif
- copyrightEdit->setTextFormat(QTextEdit::PlainText);
+ copyrightEdit->setTextFormat(TQTextEdit::PlainText);
grid->addMultiCellWidget(copyrightEdit, 5, 5, 0, 1);
- QVBoxLayout *vbox = new QVBoxLayout(page2, spacingHint());
- vbox->addWidget(new QLabel(i18n("Properties:"), page2));
+ TQVBoxLayout *vbox = new TQVBoxLayout(page2, spacingHint());
+ vbox->addWidget(new TQLabel(i18n("Properties:"), page2));
propertiesView = new KListView(page2);
propertiesView->addColumn(i18n("Title"));
propertiesView->addColumn(i18n("Name"));
@@ -102,41 +102,41 @@ QalculateEditDataSetDialog::QalculateEditDataSetDialog(QWidget *parent, const ch
propertiesView->setSorting(-1);
propertiesView->setRootIsDecorated(false);
vbox->addWidget(propertiesView);
- QHBoxLayout *hbox = new QHBoxLayout(vbox, spacingHint());
- hbox->addItem(new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum));
- newPropertyButton = new QPushButton(i18n("New"), page2);
+ TQHBoxLayout *hbox = new TQHBoxLayout(vbox, spacingHint());
+ hbox->addItem(new TQSpacerItem(0, 0, TQSizePolicy::Expanding, TQSizePolicy::Minimum));
+ newPropertyButton = new TQPushButton(i18n("New"), page2);
hbox->addWidget(newPropertyButton);
- editPropertyButton = new QPushButton(i18n("Edit"), page2);
+ editPropertyButton = new TQPushButton(i18n("Edit"), page2);
hbox->addWidget(editPropertyButton);
- deletePropertyButton = new QPushButton(i18n("Delete"), page2);
+ deletePropertyButton = new TQPushButton(i18n("Delete"), page2);
hbox->addWidget(deletePropertyButton);
- grid = new QGridLayout(page3, 1, 1, spacingHint());
- grid->addWidget(new QLabel(i18n("Name:"), page3), 0, 0);
+ grid = new TQGridLayout(page3, 1, 1, spacingHint());
+ grid->addWidget(new TQLabel(i18n("Name:"), page3), 0, 0);
nameEdit = new KLineEdit(page3);
grid->addWidget(nameEdit, 0, 1);
- hbox = new QHBoxLayout(0, 0, spacingHint());
+ hbox = new TQHBoxLayout(0, 0, spacingHint());
grid->addMultiCellLayout(hbox, 1, 1, 0, 1);
- namesLabel = new QLabel(page3);
- namesLabel->setAlignment(Qt::AlignRight);
- namesLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
+ namesLabel = new TQLabel(page3);
+ namesLabel->setAlignment(TQt::AlignRight);
+ namesLabel->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Preferred);
hbox->addWidget(namesLabel);
- namesButton = new QPushButton(i18n("Names Details"), page3);
+ namesButton = new TQPushButton(i18n("Names Details"), page3);
hbox->addWidget(namesButton);
- grid->addWidget(new QLabel(i18n("Object argument name:"), page3), 2, 0);
+ grid->addWidget(new TQLabel(i18n("Object argument name:"), page3), 2, 0);
objectArgumentEdit = new KLineEdit(page3);
grid->addWidget(objectArgumentEdit, 2, 1);
- grid->addWidget(new QLabel(i18n("Property argument name:"), page3), 3, 0);
+ grid->addWidget(new TQLabel(i18n("Property argument name:"), page3), 3, 0);
propertyArgumentEdit = new KLineEdit(page3);
grid->addWidget(propertyArgumentEdit, 3, 1);
- grid->addWidget(new QLabel(i18n("Default property:"), page3), 4, 0);
+ grid->addWidget(new TQLabel(i18n("Default property:"), page3), 4, 0);
defaultPropertyEdit = new KLineEdit(page3);
grid->addWidget(defaultPropertyEdit, 4, 1);
- grid->addItem(new QSpacerItem(5, 0, QSizePolicy::Minimum, QSizePolicy::Expanding));
+ grid->addItem(new TQSpacerItem(5, 0, TQSizePolicy::Minimum, TQSizePolicy::Expanding));
connect(namesButton, SIGNAL(clicked()), this, SLOT(editNames()));
- connect(nameEdit, SIGNAL(textChanged(const QString&)), this, SLOT(nameChanged(const QString&)));
+ connect(nameEdit, SIGNAL(textChanged(const TQString&)), this, SLOT(nameChanged(const TQString&)));
connect(newPropertyButton, SIGNAL(clicked()), this, SLOT(newProperty()));
connect(editPropertyButton, SIGNAL(clicked()), this, SLOT(editProperty()));
connect(deletePropertyButton, SIGNAL(clicked()), this, SLOT(deleteProperty()));
@@ -148,7 +148,7 @@ QalculateEditDataSetDialog::~QalculateEditDataSetDialog() {}
void QalculateEditDataSetDialog::propertySelectionChanged() {
- QListViewItem *i = propertiesView->selectedItem();
+ TQListViewItem *i = propertiesView->selectedItem();
if(i) {
editPropertyButton->setEnabled(propertiesItems[i]->isUserModified());
deletePropertyButton->setEnabled(propertiesItems[i]->isUserModified());
@@ -163,8 +163,8 @@ void QalculateEditDataSetDialog::updateDatasetPropertyList() {
propertiesItems.clear();
editPropertyButton->setEnabled(false);
deletePropertyButton->setEnabled(false);
- QString str;
- QListViewItem *i_prev = NULL;
+ TQString str;
+ TQListViewItem *i_prev = NULL;
for(size_t i = 0; i < tmp_props.size(); i++) {
if(tmp_props[i]) {
str = "";
@@ -195,7 +195,7 @@ void QalculateEditDataSetDialog::updateDatasetPropertyList() {
str += i18n("key");
str += ")";
}
- QListViewItem *item = new KListViewItem(propertiesView, i_prev, tmp_props[i]->title(false).c_str(), tmp_props[i]->getName().c_str(), str);
+ TQListViewItem *item = new KListViewItem(propertiesView, i_prev, tmp_props[i]->title(false).c_str(), tmp_props[i]->getName().c_str(), str);
i_prev = item;
propertiesItems[item] = tmp_props[i];
}
@@ -232,7 +232,7 @@ void QalculateEditDataSetDialog::slotOk() {
ds = new DataSet(i18n("Data Sets").ascii(), "", fileEdit->text().ascii(), titleEdit->text().ascii(), descriptionEdit->text().ascii(), true);
add_func = true;
}
- QString str2 = objectArgumentEdit->text().stripWhiteSpace();
+ TQString str2 = objectArgumentEdit->text().stripWhiteSpace();
if(str2.isEmpty()) str2 = i18n("Object");
Argument *arg = ds->getArgumentDefinition(1);
if(arg) {
@@ -354,7 +354,7 @@ DataSet *QalculateEditDataSetDialog::editDataSet(DataSet *ds) {
}
updateDatasetPropertyList();
- if(exec() == QDialog::Accepted) {
+ if(exec() == TQDialog::Accepted) {
ds = edited_dataset;
edited_dataset = NULL;
return ds;
@@ -394,7 +394,7 @@ void QalculateEditDataSetDialog::newProperty() {
}
void QalculateEditDataSetDialog::editProperty() {
- QListViewItem *i = propertiesView->selectedItem();
+ TQListViewItem *i = propertiesView->selectedItem();
if(i == NULL) return;
if(!property_edit_dialog) {
property_edit_dialog = new QalculateEditDataPropertyDialog(this);
@@ -404,7 +404,7 @@ void QalculateEditDataSetDialog::editProperty() {
}
}
void QalculateEditDataSetDialog::deleteProperty() {
- QListViewItem *i = propertiesView->selectedItem();
+ TQListViewItem *i = propertiesView->selectedItem();
if(i == NULL) return;
if(propertiesItems[i]->isUserModified()) {
for(size_t index = 0; index < tmp_props.size(); index++) {
@@ -422,7 +422,7 @@ void QalculateEditDataSetDialog::deleteProperty() {
}
}
-void QalculateEditDataSetDialog::nameChanged(const QString &name) {
+void QalculateEditDataSetDialog::nameChanged(const TQString &name) {
if(name.isNull()) return;
if(!CALCULATOR->functionNameIsValid(name.ascii())) {
nameEdit->blockSignals(true);
@@ -432,54 +432,54 @@ void QalculateEditDataSetDialog::nameChanged(const QString &name) {
}
-QalculateEditDataPropertyDialog::QalculateEditDataPropertyDialog(QWidget *parent, const char *name) : KDialogBase(parent, name, true, i18n("Edit Property"), Ok | Cancel, Ok, true) {
+QalculateEditDataPropertyDialog::QalculateEditDataPropertyDialog(TQWidget *parent, const char *name) : KDialogBase(parent, name, true, i18n("Edit Property"), Ok | Cancel, Ok, true) {
names_edit_dialog = NULL;
edited_property = NULL;
- setMainWidget(new QWidget(this));
- QGridLayout *grid = new QGridLayout(mainWidget(), 1, 1, 0, spacingHint());
- grid->addWidget(new QLabel(i18n("Name:"), mainWidget()), 0, 0);
+ setMainWidget(new TQWidget(this));
+ TQGridLayout *grid = new TQGridLayout(mainWidget(), 1, 1, 0, spacingHint());
+ grid->addWidget(new TQLabel(i18n("Name:"), mainWidget()), 0, 0);
nameEdit = new KLineEdit(mainWidget());
grid->addWidget(nameEdit, 0, 1);
- QHBoxLayout *hbox = new QHBoxLayout(0, 0, spacingHint());
+ TQHBoxLayout *hbox = new TQHBoxLayout(0, 0, spacingHint());
grid->addMultiCellLayout(hbox, 1, 1, 0, 1);
- namesLabel = new QLabel(mainWidget());
- namesLabel->setAlignment(Qt::AlignRight);
- namesLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
+ namesLabel = new TQLabel(mainWidget());
+ namesLabel->setAlignment(TQt::AlignRight);
+ namesLabel->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Preferred);
hbox->addWidget(namesLabel);
- namesButton = new QPushButton(i18n("Names Details"), mainWidget());
+ namesButton = new TQPushButton(i18n("Names Details"), mainWidget());
hbox->addWidget(namesButton);
- grid->addWidget(new QLabel(i18n("Descriptive name:"), mainWidget()), 2, 0);
+ grid->addWidget(new TQLabel(i18n("Descriptive name:"), mainWidget()), 2, 0);
titleEdit = new KLineEdit(mainWidget());
grid->addWidget(titleEdit, 2, 1);
- grid->addWidget(new QLabel(i18n("Description:"), mainWidget()), 3, 0);
+ grid->addWidget(new TQLabel(i18n("Description:"), mainWidget()), 3, 0);
#if KDE_VERSION_MAJOR < 4 && KDE_VERSION_MINOR < 1
- descriptionEdit = new QTextEdit(mainWidget());
+ descriptionEdit = new TQTextEdit(mainWidget());
#else
descriptionEdit = new KTextEdit(mainWidget());
#endif
- descriptionEdit->setTextFormat(QTextEdit::PlainText);
+ descriptionEdit->setTextFormat(TQTextEdit::PlainText);
grid->addMultiCellWidget(descriptionEdit, 4, 4, 0, 1);
- grid->addWidget(new QLabel(i18n("Value type:"), mainWidget()), 5, 0);
+ grid->addWidget(new TQLabel(i18n("Value type:"), mainWidget()), 5, 0);
typeCombo = new KComboBox(mainWidget());
typeCombo->setEditable(false);
typeCombo->insertItem(i18n("Text"));
typeCombo->insertItem(i18n("Number"));
typeCombo->insertItem(i18n("Expression"));
grid->addWidget(typeCombo, 5, 1);
- hideButton = new QCheckBox(i18n("Hide"), mainWidget());
+ hideButton = new TQCheckBox(i18n("Hide"), mainWidget());
grid->addWidget(hideButton, 6, 0);
//Use as a unique data set key
- keyButton = new QCheckBox(i18n("Use as key"), mainWidget());
+ keyButton = new TQCheckBox(i18n("Use as key"), mainWidget());
grid->addWidget(keyButton, 6, 1);
- approximateButton = new QCheckBox(i18n("Approximate value"), mainWidget());
+ approximateButton = new TQCheckBox(i18n("Approximate value"), mainWidget());
grid->addWidget(approximateButton, 7, 0);
- caseButton = new QCheckBox(i18n("Case sensitive value"), mainWidget());
+ caseButton = new TQCheckBox(i18n("Case sensitive value"), mainWidget());
grid->addWidget(caseButton, 7, 1);
- bracketsButton = new QCheckBox(i18n("Value uses brackets"), mainWidget());
+ bracketsButton = new TQCheckBox(i18n("Value uses brackets"), mainWidget());
grid->addWidget(bracketsButton, 8, 0);
- grid->addWidget(new QLabel(i18n("Unit expression:"), mainWidget()), 9, 0);
+ grid->addWidget(new TQLabel(i18n("Unit expression:"), mainWidget()), 9, 0);
unitEdit = new KLineEdit(mainWidget());
grid->addWidget(unitEdit, 9, 1);
@@ -554,7 +554,7 @@ bool QalculateEditDataPropertyDialog::editDataProperty(DataProperty *dp, bool ne
nameEdit->setText(dp->getName().c_str());
if(dp->countNames() > 1) {
- QString str = "+ ";
+ TQString str = "+ ";
for(size_t i = 2; i <= dp->countNames(); i++) {
if(i > 2) str += ", ";
str += dp->getName(i).c_str();
@@ -590,7 +590,7 @@ bool QalculateEditDataPropertyDialog::editDataProperty(DataProperty *dp, bool ne
}
}
- if(exec() == QDialog::Accepted) {
+ if(exec() == TQDialog::Accepted) {
edited_property = NULL;
return true;
}
@@ -610,28 +610,28 @@ void QalculateEditDataPropertyDialog::editNames() {
}
-QalculateEditDataPropertyNamesDialog::QalculateEditDataPropertyNamesDialog(QWidget *parent, const char *name) : KDialog(parent, name, true) {
+QalculateEditDataPropertyNamesDialog::QalculateEditDataPropertyNamesDialog(TQWidget *parent, const char *name) : KDialog(parent, name, true) {
setCaption(i18n("Edit Names"));
- QVBoxLayout *layout = new QVBoxLayout(this, marginHint(), spacingHint());
+ TQVBoxLayout *layout = new TQVBoxLayout(this, marginHint(), spacingHint());
namesView = new KListView(this);
namesView->addColumn(i18n("Name"));
namesView->addColumn(i18n("Reference"));
- namesView->setColumnAlignment(1, Qt::AlignCenter);
+ namesView->setColumnAlignment(1, TQt::AlignCenter);
namesView->setSorting(-1);
namesView->setItemsRenameable(true);
namesView->setItemsMovable(true);
layout->addWidget(namesView);
- QHBoxLayout *buttonLayout = new QHBoxLayout(layout, spacingHint());
- newButton = new QPushButton(i18n("New"), this);
+ TQHBoxLayout *buttonLayout = new TQHBoxLayout(layout, spacingHint());
+ newButton = new TQPushButton(i18n("New"), this);
buttonLayout->addWidget(newButton);
- deleteButton = new QPushButton(i18n("Delete"), this);
+ deleteButton = new TQPushButton(i18n("Delete"), this);
deleteButton->setEnabled(false);
buttonLayout->addWidget(deleteButton);
- buttonLayout->addItem(new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum));
+ buttonLayout->addItem(new TQSpacerItem(0, 0, TQSizePolicy::Expanding, TQSizePolicy::Minimum));
buttonClose = new KPushButton(KStdGuiItem::close(), this);
buttonClose->setAutoDefault(true);
buttonClose->setDefault(true);
@@ -641,7 +641,7 @@ QalculateEditDataPropertyNamesDialog::QalculateEditDataPropertyNamesDialog(QWidg
connect(buttonClose, SIGNAL(clicked()), this, SLOT(accept()));
connect(newButton, SIGNAL(clicked()), this, SLOT(newName()));
connect(deleteButton, SIGNAL(clicked()), this, SLOT(deleteName()));
- connect(namesView, SIGNAL(clicked(QListViewItem*, const QPoint&, int)), this, SLOT(itemClicked(QListViewItem*, const QPoint&, int)));
+ connect(namesView, SIGNAL(clicked(TQListViewItem*, const TQPoint&, int)), this, SLOT(itemClicked(TQListViewItem*, const TQPoint&, int)));
}
@@ -649,22 +649,22 @@ QalculateEditDataPropertyNamesDialog::~QalculateEditDataPropertyNamesDialog() {}
void QalculateEditDataPropertyNamesDialog::newName() {
ExpressionName name;
- QListViewItem *i = new KListViewItem(namesView, namesView->lastChild(), "", i18n("No"), i18n("No"), i18n("No"), i18n("No"), i18n("No"), i18n("No"), i18n("No"));
+ TQListViewItem *i = new KListViewItem(namesView, namesView->lastChild(), "", i18n("No"), i18n("No"), i18n("No"), i18n("No"), i18n("No"), i18n("No"), i18n("No"));
namesView->setSelected(i, true);
- qApp->processEvents();
+ tqApp->processEvents();
namesView->rename(i, 0);
}
-void QalculateEditDataPropertyNamesDialog::setNames(DataProperty *item, const QString &namestr, bool names_edited) {
+void QalculateEditDataPropertyNamesDialog::setNames(DataProperty *item, const TQString &namestr, bool names_edited) {
if(!names_edited) {
deleteButton->setEnabled(false);
namesView->clear();
}
if(!names_edited && item && item->countNames() > 0) {
- QListViewItem *i_prev = NULL;
+ TQListViewItem *i_prev = NULL;
for(size_t index = 1; index <= item->countNames(); index++) {
- QListViewItem *i = new KListViewItem(namesView, i_prev);
+ TQListViewItem *i = new KListViewItem(namesView, i_prev);
i_prev = i;
if(item->nameIsReference(index))
i->setText(1, i18n("Yes"));
@@ -678,7 +678,7 @@ void QalculateEditDataPropertyNamesDialog::setNames(DataProperty *item, const QS
}
} else if(!namestr.isEmpty()) {
if(names_edited) {
- QListViewItemIterator it(namesView);
+ TQListViewItemIterator it(namesView);
if(it.current())
it.current()->setText(0, namestr);
} else {
@@ -686,9 +686,9 @@ void QalculateEditDataPropertyNamesDialog::setNames(DataProperty *item, const QS
}
}
}
-void QalculateEditDataPropertyNamesDialog::saveNames(DataProperty *item, const QString &str) {
+void QalculateEditDataPropertyNamesDialog::saveNames(DataProperty *item, const TQString &str) {
item->clearNames();
- QListViewItemIterator it(namesView);
+ TQListViewItemIterator it(namesView);
if(it.current()) {
bool b = false;
while(it.current()) {
@@ -704,10 +704,10 @@ void QalculateEditDataPropertyNamesDialog::saveNames(DataProperty *item, const Q
item->addName(str.ascii());
}
}
-void QalculateEditDataPropertyNamesDialog::setNamesLE(QLineEdit *entry, QLabel *label) {
+void QalculateEditDataPropertyNamesDialog::setNamesLE(TQLineEdit *entry, TQLabel *label) {
int index = 0;
- QString str;
- QListViewItemIterator it(namesView);
+ TQString str;
+ TQListViewItemIterator it(namesView);
while(it.current()) {
if(index == 0) {
entry->setText(it.current()->text(0));
@@ -732,7 +732,7 @@ void QalculateEditDataPropertyNamesDialog::deleteName() {
namesView->removeItem(namesView->selectedItem());
}
-void QalculateEditDataPropertyNamesDialog::itemClicked(QListViewItem *i, const QPoint &, int c) {
+void QalculateEditDataPropertyNamesDialog::itemClicked(TQListViewItem *i, const TQPoint &, int c) {
if(i && c > 0) {
if(i->text(c) == i18n("Yes"))
i->setText(c, i18n("No"));