src/types.cpp

changeset 21
99225eac33ba
parent 13
9bdddd2ccde6
child 30
6b82f6a3ad53
equal deleted inserted replaced
20:a5457405cc9b 21:99225eac33ba
38 38
39 // ============================================================================= 39 // =============================================================================
40 StringFormatArg::StringFormatArg (const str& v) { m_val = v; } 40 StringFormatArg::StringFormatArg (const str& v) { m_val = v; }
41 StringFormatArg::StringFormatArg (const char& v) { m_val = v; } 41 StringFormatArg::StringFormatArg (const char& v) { m_val = v; }
42 StringFormatArg::StringFormatArg (const uchar& v) { m_val = v; } 42 StringFormatArg::StringFormatArg (const uchar& v) { m_val = v; }
43 StringFormatArg::StringFormatArg (const qchar& v) { m_val = v; } 43 StringFormatArg::StringFormatArg (const QChar& v) { m_val = v; }
44 StringFormatArg::StringFormatArg (const float& v) { m_val = str::number (v); } 44 StringFormatArg::StringFormatArg (const float& v) { m_val = str::number (v); }
45 StringFormatArg::StringFormatArg (const double& v) { m_val = str::number (v); } 45 StringFormatArg::StringFormatArg (const double& v) { m_val = str::number (v); }
46 StringFormatArg::StringFormatArg (const char* v) { m_val = v; } 46 StringFormatArg::StringFormatArg (const char* v) { m_val = v; }
47 StringFormatArg::StringFormatArg (const void* v) { m_val.sprintf ("%p", v); } 47 StringFormatArg::StringFormatArg (const void* v) { m_val.sprintf ("%p", v); }

mercurial