|
a/src/qtgui/recoll.h |
|
b/src/qtgui/recoll.h |
|
... |
|
... |
48 |
|
48 |
|
49 |
inline std::string qs2utf8s(const QString& qs)
|
49 |
inline std::string qs2utf8s(const QString& qs)
|
50 |
{
|
50 |
{
|
51 |
return std::string((const char *)qs.toUtf8());
|
51 |
return std::string((const char *)qs.toUtf8());
|
52 |
}
|
52 |
}
|
|
|
53 |
inline std::string qs2u8s(const QString& qs)
|
|
|
54 |
{
|
|
|
55 |
return std::string((const char *)qs.toUtf8());
|
|
|
56 |
}
|
53 |
inline QString u8s2qs(const std::string us)
|
57 |
inline QString u8s2qs(const std::string us)
|
54 |
{
|
58 |
{
|
55 |
return QString::fromUtf8(us.c_str());
|
59 |
return QString::fromUtf8(us.c_str());
|
56 |
}
|
60 |
}
|
57 |
|
61 |
|