summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/karamba.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-23 11:58:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-23 11:58:42 +0900
commit50855e76de13f2ca1361130493cc026b1ea50bba (patch)
tree650edd43485d425f107326eb581771768d1c6d47 /superkaramba/src/karamba.cpp
parentc6bdfd549484abe62ddaa3fb6dbf952354c4886b (diff)
downloadtdeutils-50855e76de13f2ca1361130493cc026b1ea50bba.tar.gz
tdeutils-50855e76de13f2ca1361130493cc026b1ea50bba.zip
Remove use of TDE_VERSIONHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'superkaramba/src/karamba.cpp')
-rw-r--r--superkaramba/src/karamba.cpp23
1 files changed, 3 insertions, 20 deletions
diff --git a/superkaramba/src/karamba.cpp b/superkaramba/src/karamba.cpp
index f4e3767..effafda 100644
--- a/superkaramba/src/karamba.cpp
+++ b/superkaramba/src/karamba.cpp
@@ -36,7 +36,6 @@
#include <krun.h>
#include <tdelocale.h>
#include <twin.h>
-#include <tdeversion.h>
#include <kdirwatch.h>
#include <tdeparts/componentfactory.h>
@@ -762,12 +761,7 @@ bool karamba::parseConfig()
// Matthew Kay: set window type to "dock"
// (plays better with taskbar themes this way)
KWin::setType(winId(), NET::Dock);
- #if defined(TDE_MAKE_VERSION)
- #if TDE_VERSION >= TDE_MAKE_VERSION(3,1,9)
- //KDE 3.2 addition for the always on top issues
- KWin::setState(winId(), NET::KeepBelow);
- #endif
- #endif
+ KWin::setState(winId(), NET::KeepBelow);
}
m_theme.close();
@@ -804,13 +798,7 @@ void karamba::start()
void karamba::makeActive()
{
KWin::setType(winId(), NET::Normal);
-
- #if defined(TDE_MAKE_VERSION)
- #if TDE_VERSION >= TDE_MAKE_VERSION(3,1,9)
- //KDE 3.2 addition for the always on top issues
- KWin::setState(winId(), NET::Modal);
- #endif
- #endif
+ KWin::setState(winId(), NET::Modal);
}
void karamba::makePassive()
@@ -828,12 +816,7 @@ void karamba::makePassive()
// Matthew Kay: set window type to "dock" (plays better with taskbar themes
// this way)
KWin::setType(winId(), NET::Dock);
- #if defined(TDE_MAKE_VERSION)
- #if TDE_VERSION >= TDE_MAKE_VERSION(3,1,9)
- //KDE 3.2 addition for the always on top issues
- KWin::setState(winId(), NET::KeepBelow);
- #endif
- #endif
+ KWin::setState(winId(), NET::KeepBelow);
}
void karamba::popupNotify(int)