summaryrefslogtreecommitdiffstats
path: root/src/qalculateeditdataobjectdialog.cpp
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2020-11-11 00:22:16 +0000
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-11-14 13:31:00 +0800
commitacc3790c3c38df02937fdfea6b97de2c622b3c0d (patch)
tree298b95fab65d0ed107048b1d0a6940061de28e1e /src/qalculateeditdataobjectdialog.cpp
parentec5a7752bc558117da4ae0c181109cf67d888a51 (diff)
downloadqalculate-tde-acc3790c.tar.gz
qalculate-tde-acc3790c.zip
Fix undeclared declarations of string/vector/list; prefix declarations with 'std::'
Signed-off-by: aneejit1 <aneejit1@gmail.com> (cherry picked from commit 208f77024e5231bffa800964b1123cbde8fa3f29)
Diffstat (limited to 'src/qalculateeditdataobjectdialog.cpp')
-rw-r--r--src/qalculateeditdataobjectdialog.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qalculateeditdataobjectdialog.cpp b/src/qalculateeditdataobjectdialog.cpp
index df63409..612b19c 100644
--- a/src/qalculateeditdataobjectdialog.cpp
+++ b/src/qalculateeditdataobjectdialog.cpp
@@ -19,6 +19,7 @@
***************************************************************************/
#include "qalculateeditdataobjectdialog.h"
#include "qalculate_tde_utils.h"
+#include <string>
#include <tqlabel.h>
#include <tqgrid.h>
#include <klineedit.h>
@@ -51,10 +52,10 @@ DataObject *QalculateEditDataObjectDialog::editDataObject(DataSet *ds, DataObjec
new TQLabel(i18n("Approximation"), grid);
DataPropertyIter it;
DataProperty *dp = ds->getFirstProperty(&it);
- string sval;
+ std::string sval;
TQValueVector<KLineEdit*> value_entries;
TQValueVector<KComboBox*> approx_menus;
- string str;
+ std::string str;
while(dp) {
new TQLabel(dp->title().c_str(), grid);
KLineEdit *entry = new KLineEdit(grid);