summaryrefslogtreecommitdiffstats
path: root/ksystemlog/src/ksystemlog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:45:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-15 20:20:26 +0900
commit06e303d75a7afefd8420abbd71c28de443c96807 (patch)
tree2396efab17705aeaee28d0317c5c5c411ef3dd54 /ksystemlog/src/ksystemlog.cpp
parent6ce4e6234982eb7c2f4303b855642264beadb84a (diff)
downloadksystemlog-06e303d75a7afefd8420abbd71c28de443c96807.tar.gz
ksystemlog-06e303d75a7afefd8420abbd71c28de443c96807.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksystemlog/src/ksystemlog.cpp')
-rw-r--r--ksystemlog/src/ksystemlog.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/ksystemlog/src/ksystemlog.cpp b/ksystemlog/src/ksystemlog.cpp
index 66231bc..d0f2b47 100644
--- a/ksystemlog/src/ksystemlog.cpp
+++ b/ksystemlog/src/ksystemlog.cpp
@@ -937,12 +937,7 @@ TDEToggleAction* KSystemLog::getLogAction(const char* name) {
return( static_cast<TDEToggleAction*> (actionCollection()->action(name)) );
}
-#if defined(TDE_MAKE_VERSION) && TDE_VERSION >= TDE_MAKE_VERSION(3,4,0)
void KSystemLog::logActionClicked(const TQObject* sender, TDEAction::ActivationReason reason, TQt::ButtonState state) {
-#else
-void KSystemLog::logActionClicked(const TQObject* sender) {
-#endif
-
TDEToggleAction* action=getLogAction(sender->name());
LogMode* mode=mapActionLogModes[action];
@@ -954,10 +949,8 @@ void KSystemLog::logActionClicked(const TQObject* sender) {
//TODO Be sure that the + is the right symbol to combine TQt Constants
//If the user uses the middle button OR left button + shift OR left button + control : = it opens the log in a new tab
-#if defined(TDE_MAKE_VERSION) && TDE_VERSION >= TDE_MAKE_VERSION(3,4,0)
if (state==Qt::MidButton || (state==TQt::ControlButton+Qt::LeftButton) || (state==TQt::ShiftButton+Qt::LeftButton))
newTab();
-#endif
this->load(mode, activeLogManager());