27 #if defined QDS_EXPORTS
28 #define QDS_EXPORT __declspec(dllexport)
30 #define QDS_EXPORT __declspec(dllimport)
37 #pragma warning ( disable:4251 )
38 #pragma warning ( disable:4786 )
44 #include <TCollection_HExtendedString.hxx>
45 #include <TCollection_HAsciiString.hxx>
63 UnitsWithLabel = 0x40,
64 All = Label | Control | Units
68 static bool load(
const QString& );
70 static QString unitSystemLabel(
const QString&,
71 const QString& = QString() );
72 static QString activeUnitSystem(
const QString& = QString() );
73 static void setActiveUnitSystem(
const QString&,
74 const QString& = QString() );
76 static QString toQString(
const TCollection_AsciiString& );
77 static QString toQString(
const TCollection_ExtendedString& );
78 static QString toQString(
const Handle(TCollection_HAsciiString)& );
79 static QString toQString(
const Handle(TCollection_HExtendedString)& );
81 static TCollection_AsciiString toAsciiString(
const QString& );
82 static TCollection_AsciiString toAsciiString(
const TCollection_ExtendedString& );
83 static TCollection_AsciiString toAsciiString(
const Handle(TCollection_HExtendedString)& );
85 static TCollection_ExtendedString toExtString(
const QString& );
86 static TCollection_ExtendedString toExtString(
const TCollection_AsciiString& );