Mercurial > octave-nkf
comparison libgui/src/symbol-information.h @ 15900:80e99730e5d4
gui: set locale to C before starting the interpreter
* octave-main-thread.cc(run): set locale to C instead of en_US.UTF-8.
* octave-qt-event-listener.cc(current_directory_has_changed): use the correct
charset for emitting the signal with a new directory.
* main-window.cc(change_current_working_directory,set_current_working_directory)
use the correct charset when sending a new directory from the gui to octave.
* history-dockwidget.cc(update_history_callback): use the correct chareset for
displaying the history.
* symbol-information.h: correct charset for displaying value in workspace view.
author | Torsten <ttl@justmail.de> |
---|---|
date | Sat, 05 Jan 2013 08:35:09 +0100 |
parents | 501a9cc2c68f |
children |
comparison
equal
deleted
inserted
replaced
15899:f59797321a1b | 15900:80e99730e5d4 |
---|---|
79 | 79 |
80 ~symbol_information (void) { } | 80 ~symbol_information (void) { } |
81 | 81 |
82 QString symbol (void) const { return _symbol; } | 82 QString symbol (void) const { return _symbol; } |
83 QString class_name (void) const { return _class_name; } | 83 QString class_name (void) const { return _class_name; } |
84 QString value (void) const { return _value; } | 84 QString value (void) const |
85 { | |
86 return QString::fromUtf8 (_value.toStdString ().data (), | |
87 _value.toStdString ().size ()); | |
88 } | |
85 QString dimension (void) const { return _dimension; } | 89 QString dimension (void) const { return _dimension; } |
86 Scope scope (void) const { return _scope; } | 90 Scope scope (void) const { return _scope; } |
87 | 91 |
88 friend bool | 92 friend bool |
89 operator == (const symbol_information& a, const symbol_information& b) | 93 operator == (const symbol_information& a, const symbol_information& b) |