// lyx::to_utf8(_() is correct here (this is stupid though !))
if (labelwidth != _("Senseless with this layout!")) {
dialog_->labelwidthGB->setEnabled(true);
- dialog_->labelWidth->setText(ucs4_to_qstring(labelwidth));
+ dialog_->labelWidth->setText(toqstr(labelwidth));
} else {
dialog_->labelwidthGB->setEnabled(false);
dialog_->labelWidth->setText("");
}
-QString ucs4_to_qstring(lyx::docstring const & str)
-{
- QString tmp;
- ucs4_to_qstring(str, tmp);
- return tmp;
-}
-
-
QString const toqstr(docstring const & ucs4)
{
QString s;
}
-QString ucs4_to_qstring(docstring const & str);
-
docstring const qstring_to_ucs4(QString const & qstr);
void qstring_to_ucs4(QString const & qstr, std::vector<char_type> & ucs4);