2012-02-20 21:47:14 +00:00
|
|
|
/* This file is (c) 2008-2012 Konstantin Isakov <ikm@goldendict.org>
|
2009-04-18 17:20:12 +00:00
|
|
|
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
|
|
|
|
|
|
|
|
#ifndef __WSTRING_QT_HH_INCLUDED__
|
|
|
|
#define __WSTRING_QT_HH_INCLUDED__
|
|
|
|
|
|
|
|
/// This file adds conversions between gd::wstring and QString. See wstring.hh
|
|
|
|
/// for more details on gd::wstring.
|
|
|
|
|
|
|
|
#include "wstring.hh"
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
namespace gd
|
|
|
|
{
|
|
|
|
QString toQString( wstring const & );
|
|
|
|
wstring toWString( QString const & );
|
2013-07-06 18:18:43 +00:00
|
|
|
wstring normalize( wstring const & );
|
2022-02-26 00:56:46 +00:00
|
|
|
std::string toStdString(const QString& );
|
2009-04-18 17:20:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|