src/format.h

changeset 733
cc39df788660
parent 655
b376645315ab
child 739
152b33a6d51b
equal deleted inserted replaced
732:220cda74d6b7 733:cc39df788660
36 StringFormatArg (const QChar& a) : m_text (a) {} 36 StringFormatArg (const QChar& a) : m_text (a) {}
37 StringFormatArg (int a) : m_text (QString::number (a)) {} 37 StringFormatArg (int a) : m_text (QString::number (a)) {}
38 StringFormatArg (long a) : m_text (QString::number (a)) {} 38 StringFormatArg (long a) : m_text (QString::number (a)) {}
39 StringFormatArg (const float& a) : m_text (QString::number (a)) {} 39 StringFormatArg (const float& a) : m_text (QString::number (a)) {}
40 StringFormatArg (const double& a) : m_text (QString::number (a)) {} 40 StringFormatArg (const double& a) : m_text (QString::number (a)) {}
41 StringFormatArg (const Vertex& a) : m_text (a.toString (false)) {} 41 StringFormatArg (const Vertex& a) : m_text (a.toString()) {}
42 StringFormatArg (const Matrix& a) : m_text (a.toString()) {} 42 StringFormatArg (const Matrix& a) : m_text (a.toString()) {}
43 StringFormatArg (const char* a) : m_text (a) {} 43 StringFormatArg (const char* a) : m_text (a) {}
44 44
45 StringFormatArg (const void* a) 45 StringFormatArg (const void* a)
46 { 46 {

mercurial