diff options
Diffstat (limited to 'kmag/kmag.cpp')
| -rw-r--r-- | kmag/kmag.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/kmag/kmag.cpp b/kmag/kmag.cpp index 20eca71..a24a4ea 100644 --- a/kmag/kmag.cpp +++ b/kmag/kmag.cpp @@ -28,8 +28,6 @@ #include <tqtooltip.h> #include <tqpopupmenu.h> -#include <tdeversion.h> - // include files for KDE #include <tdeapplication.h> #include <kkeydialog.h> @@ -50,12 +48,7 @@ #include <tdepopupmenu.h> #include <kedittoolbar.h> #include <twin.h> - -#if TDE_VERSION < 220 -#include <tqprinter.h> -#else #include <kprinter.h> -#endif // application specific includes #include "kmag.moc" @@ -781,12 +774,7 @@ void KmagApp::slotFilePrint() #ifndef TQT_NO_PRINTER bool toggled(false); - -#if TDE_VERSION < 220 - TQPrinter printer; -#else KPrinter printer; -#endif // stop refresh temporarily if (m_zoomView->getRefreshStatus()) { @@ -796,14 +784,12 @@ void KmagApp::slotFilePrint() const TQPixmap pixmap(m_zoomView->getPixmap()); -#if TDE_VERSION >= 220 // use some AI to get the best orientation if(pixmap.width() > pixmap.height()) { printer.setOrientation(KPrinter::Landscape); } else { printer.setOrientation(KPrinter::Portrait); } -#endif if (printer.setup(this)) { TQPainter paint; |
