新网创想网站建设,新征程启航

为企业提供网站建设、域名注册、服务器等服务

QT字符处理-创新互联

#ifndef HGL_QT_STRING_INCLUDE#define HGL_QT_STRING_INCLUDE#if HGL_OS == HGL_OS_Windows	inline QString toQString(const hgl::UTF16String &ws)	{		return QString::fromWCharArray(ws.c_str(),ws.Length());	}	inline QString ToQString(const wchar_t *str,int size){return QString::fromUtf16((ushort *)str,size);}#else	template QString WCharToQString(const wchar_t *,int);	template<> inline QString WCharToQString<2>(const wchar_t *str,int size){return QString::fromUtf16((ushort *)str,size);}	template<> inline QString WCharToQString<4>(const wchar_t *str,int size){return QString::fromUcs4((uint *)str,size);}	inline QString toQString(const wchar_t *str,int size)	{		return WCharToQString(str,size);	}	inline QString toQString(const u16char *str,int size){return QString::fromUtf16((ushort *)str,size);}	inline QString toQString(const char32_t *str,int size){return QString::fromUcs4((uint *)str,size);}	inline QString toQString(const hgl::UTF16String &str)	{		return QString::fromUtf16((ushort *)str.c_str(), str.Length());	}#endif//HGL_OS == HGL_OS_Windowsinline QString toQString(const hgl::UTF8String &str){	return QString::fromUtf8(str.c_str(),str.Length());}// inline QString toQString(const hgl::UTF32String &str)// {// 	return QString::fromUcs4((uint *)str.c_str(),str.Length());// }#endif//HGL_QT_STRING_INCLUDE

十载的中站网站建设经验,针对设计、前端、开发、售后、文案、推广等六对一服务,响应快,48小时及时工作处理。营销型网站建设的优势是能够根据用户设备显示端的尺寸不同,自动调整中站建站的显示方式,使网站能够适用不同显示终端,在浏览器中调整网站的宽度,无论在任何一种浏览器上浏览网站,都能展现优雅布局与设计,从而大程度地提升浏览体验。创新互联公司从事“中站网站设计”,“中站网站推广”以来,每个客户项目都认真落实执行。

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


分享文章:QT字符处理-创新互联
新闻来源:http://www.wjwzjz.com/article/dsgppj.html
在线咨询
服务热线
服务热线:028-86922220
TOP