mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 14:46:12 -04:00
18 lines
431 B
C++
18 lines
431 B
C++
#ifndef SHARING_LINUX_QML_TRAY_APP_STRING_UTILS_H_
|
|
#define SHARING_LINUX_QML_TRAY_APP_STRING_UTILS_H_
|
|
|
|
#include <QString>
|
|
#include <string>
|
|
|
|
namespace StringUtils {
|
|
|
|
QString TrimmedOrFallback(const QString& value, const QString& fallback);
|
|
|
|
QString FromStdString(const std::string& value);
|
|
|
|
QString TrimmedFromStdString(const std::string& value);
|
|
|
|
} // namespace StringUtils
|
|
|
|
#endif // SHARING_LINUX_QML_TRAY_APP_STRING_UTILS_H_
|