src/format.h

changeset 806
4240f47aa2d4
parent 795
195fa1fff9c3
child 844
11587d419d2f
equal deleted inserted replaced
805:d88c0354de97 806:4240f47aa2d4
36 StringFormatArg (const float& a) : m_text (QString::number (a)) {} 36 StringFormatArg (const float& a) : m_text (QString::number (a)) {}
37 StringFormatArg (const double& a) : m_text (QString::number (a)) {} 37 StringFormatArg (const double& a) : m_text (QString::number (a)) {}
38 StringFormatArg (const Vertex& a) : m_text (a.toString()) {} 38 StringFormatArg (const Vertex& a) : m_text (a.toString()) {}
39 StringFormatArg (const Matrix& a) : m_text (a.toString()) {} 39 StringFormatArg (const Matrix& a) : m_text (a.toString()) {}
40 StringFormatArg (const char* a) : m_text (a) {} 40 StringFormatArg (const char* a) : m_text (a) {}
41 StringFormatArg (LDColor a) : m_text (a->indexString()) {} 41 StringFormatArg (LDColor a) : m_text (a.indexString()) {}
42 42
43 StringFormatArg (const void* a) 43 StringFormatArg (const void* a)
44 { 44 {
45 m_text.sprintf ("%p", a); 45 m_text.sprintf ("%p", a);
46 } 46 }

mercurial