summaryrefslogtreecommitdiffstats
path: root/src/qalculate_tde_utils.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-04-09 20:52:09 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-04-09 20:52:09 +0200
commit91d2d7482c36e67cb36df9d1dcdbd989911e4ceb (patch)
treec842adfbb1a172d9b61241d7dde70354e821bb75 /src/qalculate_tde_utils.h
parent4870c0c8c53d3df6ba954b2b4d8ebd87a8c43060 (diff)
downloadqalculate-tde-91d2d7482c36e67cb36df9d1dcdbd989911e4ceb.tar.gz
qalculate-tde-91d2d7482c36e67cb36df9d1dcdbd989911e4ceb.zip
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/qalculate_tde_utils.h')
-rw-r--r--src/qalculate_tde_utils.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/qalculate_tde_utils.h b/src/qalculate_tde_utils.h
index 0e36469..973c036 100644
--- a/src/qalculate_tde_utils.h
+++ b/src/qalculate_tde_utils.h
@@ -27,11 +27,11 @@
#undef setItem
#undef getItem
-#include <qstring.h>
+#include <tqstring.h>
#include <kshortcut.h>
-class QLabel;
-class QLineEdit;
+class TQLabel;
+class TQLineEdit;
struct tree_struct {
string item;
@@ -56,19 +56,19 @@ struct mode_struct {
AssumptionType at;
AssumptionSign as;
int precision;
- QString name;
+ TQString name;
bool rpn_mode;
KShortcut shortcut;
};
-void insert_text_in_expression(const QString &str);
+void insert_text_in_expression(const TQString &str);
bool is_answer_variable(Variable *v);
-QString get_value_string(const MathStructure &mstruct_, bool rlabel = false, Prefix *prefix = NULL);
-void set_name_label_and_entry(ExpressionItem *item, QLineEdit *entry, QLabel *label);
+TQString get_value_string(const MathStructure &mstruct_, bool rlabel = false, Prefix *prefix = NULL);
+void set_name_label_and_entry(ExpressionItem *item, TQLineEdit *entry, TQLabel *label);
bool can_display_unicode_string_function(const char *str, void *arg);
void generate_units_tree_struct();
void generate_functions_tree_struct();
void generate_variables_tree_struct();
-size_t save_mode_as(QString name, bool *new_mode = NULL);
+size_t save_mode_as(TQString name, bool *new_mode = NULL);
#endif