mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
Add a function to translate QStrings
This commit is contained in:
parent
03f98402f4
commit
3e65edd729
@ -227,6 +227,12 @@ QString const qt_(string const & str)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QString const qt_(QString const & qstr)
|
||||||
|
{
|
||||||
|
return toqstr(_(fromqstr(qstr)));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void rescanTexStyles(string const & arg)
|
void rescanTexStyles(string const & arg)
|
||||||
{
|
{
|
||||||
// Run rescan in user lyx directory
|
// Run rescan in user lyx directory
|
||||||
|
@ -83,6 +83,8 @@ void setSectionResizeMode(QHeaderView * view,
|
|||||||
* Use this in qt4/ instead of _()
|
* Use this in qt4/ instead of _()
|
||||||
*/
|
*/
|
||||||
QString const qt_(std::string const & str);
|
QString const qt_(std::string const & str);
|
||||||
|
QString const qt_(QString const & qstr);
|
||||||
|
|
||||||
|
|
||||||
///
|
///
|
||||||
support::FileName libFileSearch(QString const & dir, QString const & name,
|
support::FileName libFileSearch(QString const & dir, QString const & name,
|
||||||
|
Loading…
Reference in New Issue
Block a user