summaryrefslogtreecommitdiffstats
path: root/src/qalculatedatasetsdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qalculatedatasetsdialog.cpp')
-rw-r--r--src/qalculatedatasetsdialog.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/qalculatedatasetsdialog.cpp b/src/qalculatedatasetsdialog.cpp
index 5505805..d30dc9d 100644
--- a/src/qalculatedatasetsdialog.cpp
+++ b/src/qalculatedatasetsdialog.cpp
@@ -28,9 +28,9 @@
#include <tqvbox.h>
#include <tqhbox.h>
#include <tqgrid.h>
-#include <klistview.h>
-#include <kmessagebox.h>
-#include <klocale.h>
+#include <tdelistview.h>
+#include <tdemessagebox.h>
+#include <tdelocale.h>
#include <tqlayout.h>
#include <tqgroupbox.h>
#include <tqscrollview.h>
@@ -59,7 +59,7 @@ QalculateDataSetsDialog::QalculateDataSetsDialog(TQWidget *parent, const char *n
widget->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding);
TQVBoxLayout *vbox = new TQVBoxLayout(widget, spacingHint(), spacingHint());
vbox->addWidget(new TQLabel(i18n("Data Sets:"), widget));
- dataSetsView = new KListView(widget);
+ dataSetsView = new TDEListView(widget);
vbox->addWidget(dataSetsView);
dataSetsView->addColumn(i18n("Data Set"));
dataSetsView->setRootIsDecorated(false);
@@ -82,7 +82,7 @@ QalculateDataSetsDialog::QalculateDataSetsDialog(TQWidget *parent, const char *n
widget->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding);
vbox = new TQVBoxLayout(widget, spacingHint(), spacingHint());
vbox->addWidget(new TQLabel(i18n("Objects:"), widget));
- objectsView = new KListView(widget);
+ objectsView = new TDEListView(widget);
vbox->addWidget(objectsView);
objectsView->addColumn(i18n("Object"));
objectsView->setRootIsDecorated(false);
@@ -135,7 +135,7 @@ void QalculateDataSetsDialog::updateDataSetTree() {
for(size_t index = 1; ; index++) {
ds = CALCULATOR->getDataSet(index);
if(!ds) break;
- i = new KListViewItem(dataSetsView, ds->title().c_str());
+ i = new TDEListViewItem(dataSetsView, ds->title().c_str());
dataSetItems[i] = ds;
if(ds == selected_dataset) {
dataSetsView->blockSignals(false);
@@ -234,7 +234,7 @@ void QalculateDataSetsDialog::dataSetSelected() {
bool b = false, b2 = false;
TQListViewItem *i;
while(o) {
- i = new KListViewItem(objectsView);
+ i = new TDEListViewItem(objectsView);
objectItems[i] = o;
dp = ds->getFirstProperty(&pit);
int index = 0;
@@ -427,7 +427,7 @@ void QalculateDataSetsDialog::objectSelected() {
KLineEdit *le = new KLineEdit(sval, attributesGrid);
le->setReadOnly(true);
le->setFrameStyle(TQFrame::NoFrame | TQFrame::Plain);
- QalculateButtonWithData *button = new QalculateButtonWithData((void*) dp, TQIconSet(SmallIcon("editpaste")), "", attributesGrid);
+ QalculateButtonWithData *button = new QalculateButtonWithData((void*) dp, TQIconSet(SmallIcon("edit-paste")), "", attributesGrid);
TQObject::connect(button, SIGNAL(clickedWithData(void*)), SLOT(insertObjectData(void*)));
}
}