Artifact 7d6cebc297ab660132589aab8b26375516c05a568565662e1e46036416d46fd8:
- File common/helpers.h — part of check-in [9463212568] at 2017-04-02 20:51:55 on branch trunk — Initial commit (user: js, size: 259) [annotate] [blame] [check-ins using]
#import <ObjFW/ObjFW.h> #include <QString> inline OFString* QToOFString(const QString &qString) { return [OFString stringWithUTF8String: qString.toUtf8()]; } inline QString OFToQString(OFString *string) { return QString::fromUtf8([string UTF8String]); }