"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Plugins/Qt/WINPrint.cpp" between
TeXmacs-1.99.4-src.tar.gz and TeXmacs-1.99.5-src.tar.gz

About: GNU TeXmacs is a what-you-see-is-what-you-get scientific text editor, which was both inspired by TeX and GNU Emacs.

WINPrint.cpp  (TeXmacs-1.99.4-src):WINPrint.cpp  (TeXmacs-1.99.5-src)
skipping to change at line 13 skipping to change at line 13
* MODULE : WINPrint.cpp * MODULE : WINPrint.cpp
* DESCRIPTION: printing for windows using poppler and Qt * DESCRIPTION: printing for windows using poppler and Qt
* COPYRIGHT : (C) 2013 Denis Raux * COPYRIGHT : (C) 2013 Denis Raux
******************************************************************************* *******************************************************************************
* This software falls under the GNU general public license version 3 or later. * This software falls under the GNU general public license version 3 or later.
* It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
* in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>. * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
******************************************************************************/ ******************************************************************************/
#if defined (QTTEXMACS) && (defined (__MINGW__) || defined (__MINGW32__)) #if defined (QTTEXMACS) && (defined (__MINGW__) || defined (__MINGW32__))
#include <QtGlobal>
#include <QtCore/Qstring> #include <QtCore/Qstring>
#if (QT_VERSION >= 0x050000)
#include <QtWidgets>
#else
#include <QtGui> #include <QtGui>
#endif
#include "poppler/qt4/poppler-qt4.h" #include "poppler/qt4/poppler-qt4.h"
#include "WINPrint.hpp" #include "WINPrint.hpp"
#include "tm_ostream.hpp" #include "tm_ostream.hpp"
QPrinter* WINPrint::Prt=NULL; QPrinter* WINPrint::Prt=NULL;
WINPrint::WINPrint (QString url, bool &IsLandscape) { WINPrint::WINPrint (QString url, bool &IsLandscape) {
if (Prt == NULL) Prt= new QPrinter(QPrinter::HighResolution); if (Prt == NULL) Prt= new QPrinter(QPrinter::HighResolution);
if (IsLandscape == true) Prt->setOrientation (QPrinter::Landscape); if (IsLandscape == true) Prt->setOrientation (QPrinter::Landscape);
else Prt->setOrientation (QPrinter::Portrait); else Prt->setOrientation (QPrinter::Portrait);
 End of changes. 3 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS