[Kst] extragear/graphics/kst/kst
George Staikos
staikos at kde.org
Wed Oct 5 17:44:05 CEST 2005
SVN commit 467554 by staikos:
Don't go through the KDE printing subsystem for this
M +3 -3 kstviewwindow.cpp
--- trunk/extragear/graphics/kst/kst/kstviewwindow.cpp #467553:467554
@@ -221,7 +221,7 @@
QString filenameNewEps;
{
- KPrinter printer;
+ QPrinter printer;
QString dotFormat = QString(".eps");
int iPos = filename.findRev(dotFormat, -1, false);
@@ -232,8 +232,8 @@
}
filenameNew = filenameNewEps + ".ps";
- printer.setPageSize(KPrinter::Letter);
- printer.setOrientation(KPrinter::Landscape);
+ printer.setPageSize(QPrinter::Letter);
+ printer.setOrientation(QPrinter::Landscape);
printer.setOutputToFile(true);
printer.setOutputFileName(filenameNew);
More information about the Kst
mailing list