diff options
Diffstat (limited to 'src/qalculateplotdialog.cpp')
-rw-r--r-- | src/qalculateplotdialog.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/qalculateplotdialog.cpp b/src/qalculateplotdialog.cpp index ff4c155..6755bed 100644 --- a/src/qalculateplotdialog.cpp +++ b/src/qalculateplotdialog.cpp @@ -24,23 +24,23 @@ #include <kpushbutton.h> #include <kcombobox.h> #include <tqlabel.h> -#include <klocale.h> +#include <tdelocale.h> #include <tqcheckbox.h> #include <tqradiobutton.h> #include <tqbuttongroup.h> #include <tqspinbox.h> -#include <kmessagebox.h> +#include <tdemessagebox.h> #include <tqlayout.h> #include <ktextedit.h> -#include <klistview.h> -#include <kdeversion.h> -#if KDE_VERSION_MAJOR < 4 && KDE_VERSION_MINOR < 2 +#include <tdelistview.h> +#include <tdeversion.h> +#if TDE_VERSION_MAJOR < 4 && TDE_VERSION_MINOR < 2 #include <tqtabwidget.h> #else #include <ktabwidget.h> #endif -#include <kfiledialog.h> -#include <kapplication.h> +#include <tdefiledialog.h> +#include <tdeapplication.h> #include <kstdguiitem.h> extern PlotLegendPlacement default_plot_legend_placement; @@ -70,7 +70,7 @@ QalculatePlotDialog::QalculatePlotDialog(TQWidget *parent, const char *name) : K actionButton(User1)->setEnabled(false); -#if KDE_VERSION_MAJOR < 4 && KDE_VERSION_MINOR < 2 +#if TDE_VERSION_MAJOR < 4 && TDE_VERSION_MINOR < 2 tabs = new TQTabWidget(this); #else tabs = new KTabWidget(this); @@ -149,7 +149,7 @@ QalculatePlotDialog::QalculatePlotDialog(TQWidget *parent, const char *name) : K hbox->addWidget(modifyButton); removeButton = new TQPushButton(i18n("Remove"), page1); hbox->addWidget(removeButton); - seriesView = new KListView(page1); + seriesView = new TDEListView(page1); seriesView->addColumn(i18n("Title")); seriesView->addColumn(i18n("Expression")); seriesView->setRootIsDecorated(false); @@ -315,7 +315,7 @@ QalculatePlotDialog::QalculatePlotDialog(TQWidget *parent, const char *name) : K QalculatePlotDialog::~QalculatePlotDialog() {} void QalculatePlotDialog::slotHelp() { - KApplication::kApplication()->invokeHelp("qalculate-plotting"); + TDEApplication::kApplication()->invokeHelp("qalculate-plotting"); } void QalculatePlotDialog::saveMode() { @@ -485,7 +485,7 @@ void QalculatePlotDialog::addSeries() { MathStructure *x_vector, *y_vector; generatePlotSeries(&x_vector, &y_vector, type, expression.ascii(), str_x.ascii()); rows = rowsButton->isChecked(); - TQListViewItem *i = new KListViewItem(seriesView, seriesView->lastChild(), title, expression); + TQListViewItem *i = new TDEListViewItem(seriesView, seriesView->lastChild(), title, expression); itemStyle[i] = styleCombo->currentItem(); itemSmoothing[i] = smoothingCombo->currentItem(); itemType[i] = type; |