#include <config.h>
#include "GuiMath.h"
-#include "support/debug.h"
+
#include "FuncRequest.h"
+#include "support/debug.h"
+
using namespace std;
namespace lyx {
namespace frontend {
-GuiMath::GuiMath(GuiView & lv, std::string const & name)
- : GuiDialog(lv, name)
+GuiMath::GuiMath(GuiView & lv, QString const & name, QString const & title)
+ : GuiDialog(lv, name, title)
{
// FIXME: Ideally, those unicode codepoints would be defined
// in "lib/symbols". Unfortunately, some of those are already
math_symbols_["vert"] = MathSymbol(0x007C, 106, CMSY_FAMILY);
math_symbols_["Vert"] = MathSymbol(0x2016, 107, CMSY_FAMILY);
- std::map<string, MathSymbol>::const_iterator it = math_symbols_.begin();
- std::map<string, MathSymbol>::const_iterator end = math_symbols_.end();
+ map<string, MathSymbol>::const_iterator it = math_symbols_.begin();
+ map<string, MathSymbol>::const_iterator end = math_symbols_.end();
for (; it != end; ++it)
tex_names_[it->second.unicode] = it->first;
}
}
-std::string const & GuiMath::texName(char_type math_symbol) const
+string const & GuiMath::texName(char_type math_symbol) const
{
map<char_type, string>::const_iterator it =
tex_names_.find(math_symbol);