goldendict-ng/wstring_qt.hh

22 lines
567 B
C++
Raw Normal View History

2012-02-20 21:47:14 +00:00
/* This file is (c) 2008-2012 Konstantin Isakov <ikm@goldendict.org>
* 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 & );
wstring normalize( wstring const & );
2022-02-26 00:56:46 +00:00
std::string toStdString(const QString& );
}
#endif