diff options
Diffstat (limited to 'src/qalculateconvertnumberbasesdialog.cpp')
-rw-r--r-- | src/qalculateconvertnumberbasesdialog.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/qalculateconvertnumberbasesdialog.cpp b/src/qalculateconvertnumberbasesdialog.cpp index 8ff4ba9..88db1a1 100644 --- a/src/qalculateconvertnumberbasesdialog.cpp +++ b/src/qalculateconvertnumberbasesdialog.cpp @@ -19,6 +19,7 @@ ***************************************************************************/ #include "qalculateconvertnumberbasesdialog.h" #include "qalculate_tde_utils.h" +#include <string> #include <tdelocale.h> #include <tqgrid.h> #include <tqlabel.h> @@ -59,7 +60,7 @@ QalculateConvertNumberBasesDialog::QalculateConvertNumberBasesDialog(TQWidget *p QalculateConvertNumberBasesDialog::~QalculateConvertNumberBasesDialog() {} void QalculateConvertNumberBasesDialog::setDecimalValue(const TQString &qstr) { - string str = qstr.ascii(); + std::string str = qstr.ascii(); remove_blank_ends(str); if(str.empty()) return; if(is_in(OPERATORS EXP, str[str.length() - 1])) return; @@ -69,7 +70,7 @@ void QalculateConvertNumberBasesDialog::setDecimalValue(const TQString &qstr) { updateEntries(&value, 10); } void QalculateConvertNumberBasesDialog::setBinaryValue(const TQString &qstr) { - string str = qstr.ascii(); + std::string str = qstr.ascii(); remove_blank_ends(str); if(str.empty()) return; if(is_in(OPERATORS EXP, str[str.length() - 1])) return; @@ -80,7 +81,7 @@ void QalculateConvertNumberBasesDialog::setBinaryValue(const TQString &qstr) { updateEntries(&value, 2); } void QalculateConvertNumberBasesDialog::setOctalValue(const TQString &qstr) { - string str = qstr.ascii(); + std::string str = qstr.ascii(); remove_blank_ends(str); if(str.empty()) return; if(is_in(OPERATORS EXP, str[str.length() - 1])) return; @@ -91,7 +92,7 @@ void QalculateConvertNumberBasesDialog::setOctalValue(const TQString &qstr) { updateEntries(&value, 8); } void QalculateConvertNumberBasesDialog::setHexadecimalValue(const TQString &qstr) { - string str = qstr.ascii(); + std::string str = qstr.ascii(); remove_blank_ends(str); if(str.empty()) return; if(is_in(OPERATORS EXP, str[str.length() - 1])) return; |