Differences From Artifact [8f5d08de4a]:
- File common/OFString+QString.h — part of check-in [01e4161d3e] at 2017-04-12 09:17:10 on branch trunk — Add a license (user: js, size: 1324) [annotate] [blame] [check-ins using]
To Artifact [dd6dc45afe]:
- File common/OFString+QString.h — part of check-in [3ece549448] at 2017-04-15 17:18:52 on branch trunk — Make toOF/toQt more powerful and complete QtWidget (user: js, size: 1533) [annotate] [blame] [check-ins using]
- File
src/common/OFString+QString.h
— part of check-in
[baf52ea3b1]
at
2017-04-17 23:25:45
on branch trunk
— Add a proper build system
Also lowers the minimum required Qt version to 5.5. (user: js, size: 1533) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
25 26 27 28 29 30 31 | #include <QString> @interface OFString (QString) + (instancetype)stringWithQString: (const QString&)qString; - initWithQString: (const QString&)qString; - (QString)qString; @end | > > > > > > > > > > > > > > > > | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | #include <QString> @interface OFString (QString) + (instancetype)stringWithQString: (const QString&)qString; - initWithQString: (const QString&)qString; - (QString)qString; @end namespace ObjQt { static OF_INLINE OFString* toOF(const QString &qString) { return [OFString stringWithQString: qString]; } static OF_INLINE QString toQt(OFString *string) { return [string qString]; } } |