summaryrefslogtreecommitdiffstats
path: root/kmag
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-20 22:39:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-20 22:39:19 +0900
commite91a27dff0360a98759364751ac727a4741ed51b (patch)
tree1d73f4c6ee69454bf77425dad0d765e31075d19c /kmag
parent89e1a9e8915c65c5cbdc34497e6c3be75dcd1d23 (diff)
downloadtdeaccessibility-master.tar.gz
tdeaccessibility-master.zip
Remove use of TDE_VERSIONHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmag')
-rw-r--r--kmag/kmag.cpp14
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;