11 #include <SFML/System/String.hpp> 55 return String(QString::number(num));
65 return String(static_cast<const QString*>(
this)->
arg(var));
88 operator sf::String
const();
98 return out <<
string.toStdString();
(almost) QString castable to sf::String
Definition: string.hpp:20
String(T obj)
Quite universal constructor.
Definition: string.hpp:30
Namespace containing all qsf classes and methods.
Definition: Image.cpp:3
static String number(T num)
QString::number() method overload.
Definition: string.hpp:54
friend std::ostream & operator<<(std::ostream &out, const String &string)
std::ostream << operator support
Definition: string.hpp:97
String arg(T var) const
QString::arg() method overload, takes any supported type.
Definition: string.hpp:64