GuiPrint::GuiPrint(GuiView & lv)
- : GuiDialog(lv, "print")
+ : GuiDialog(lv, "print", qt_("Print Document"))
{
setupUi(this);
- setViewTitle(_("Print Document"));
connect(printPB, SIGNAL(clicked()), this, SLOT(slotOK()));
connect(closePB, SIGNAL(clicked()), this, SLOT(slotClose()));
params_ = PrinterParams(t,
fromqstr(printerED->text()),
- support::os::internal_path(fromqstr(fileED->text())),
+ os::internal_path(fromqstr(fileED->text())),
allRB->isChecked(),
fromED->text().toUInt(),
toED->text().toUInt(),
bool GuiPrint::initialiseParams(string const &)
{
/// get global printer parameters
- string const name = support::changeExtension(buffer().absFileName(),
+ string const name = changeExtension(buffer().absFileName(),
lyxrc.print_file_extension);
params_ = PrinterParams(PrinterParams::PRINTER, lyxrc.printer, name);