diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-20 22:39:19 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-20 22:39:19 +0900 |
| commit | e91a27dff0360a98759364751ac727a4741ed51b (patch) | |
| tree | 1d73f4c6ee69454bf77425dad0d765e31075d19c /kmag/kmag.cpp | |
| parent | 89e1a9e8915c65c5cbdc34497e6c3be75dcd1d23 (diff) | |
| download | tdeaccessibility-master.tar.gz tdeaccessibility-master.zip | |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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; |
