Originally Posted by jjbabu Qt Code: Switch view DataBitsType dbs=(DataBitsType)Enum.Parse(typeof(DataBitsType), portdbs,true); DataBitsType dbs=(DataBitsType)Enum.Parse(typeof(DataBitsType), portdbs,true); To copy to clipboard, switch view to plain text mode What? Are you trying to mix C# and C++? See Q_ENUMS() and QMetaEnum.
DataBitsType dbs=(DataBitsType)Enum.Parse(typeof(DataBitsType), portdbs,true);
J-P Nurmi
Forum Rules
Bookmarks