summaryrefslogtreecommitdiffstats
path: root/src/qalculateeditdataobjectdialog.cpp
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2020-11-11 00:22:16 +0000
committeraneejit1 <aneejit1@gmail.com>2020-11-13 15:13:37 +0000
commit208f77024e5231bffa800964b1123cbde8fa3f29 (patch)
treeec19896681c321fd70d52befdcea62559597eeb4 /src/qalculateeditdataobjectdialog.cpp
parent7cbf6dffbb0ec5521db6136b39d35fd9e98663ee (diff)
downloadqalculate-tde-208f77024e5231bffa800964b1123cbde8fa3f29.tar.gz
qalculate-tde-208f77024e5231bffa800964b1123cbde8fa3f29.zip
Fix undeclared declarations of string/vector/list; prefix declarations with 'std::'
Signed-off-by: aneejit1 <aneejit1@gmail.com>
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);