summaryrefslogtreecommitdiffstats
path: root/konqueror/sidebar
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-08 12:20:43 +0900
committerMichele Calgaro <[email protected]>2023-08-08 20:10:54 +0900
commit196b1629b9f5de20f3769eb5ec755a635df3c3e7 (patch)
tree0f9de901a6b71ee79c80a8186ac3b985998e55b0 /konqueror/sidebar
parent311da82aeb967658bb6bd69d9b17ceabf0fc9a0f (diff)
downloadtdebase-196b1629b9f5de20f3769eb5ec755a635df3c3e7.tar.gz
tdebase-196b1629b9f5de20f3769eb5ec755a635df3c3e7.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 7bc43c68b3c095631628e1fb691242315687d15b)
Diffstat (limited to 'konqueror/sidebar')
-rw-r--r--konqueror/sidebar/trees/history_module/history_item.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/konqueror/sidebar/trees/history_module/history_item.cpp b/konqueror/sidebar/trees/history_module/history_item.cpp
index 44389702e..4825cfeda 100644
--- a/konqueror/sidebar/trees/history_module/history_item.cpp
+++ b/konqueror/sidebar/trees/history_module/history_item.cpp
@@ -132,18 +132,18 @@ void KonqSidebarHistoryItem::paintCell( TQPainter *p, const TQColorGroup & cg,
TQDateTime current = TQDateTime::currentDateTime();
if ( s_settings->m_metricYoungerThan == KonqSidebarHistorySettings::DAYS )
- dt = TQT_TQDATETIME_OBJECT(current.addDays( - s_settings->m_valueYoungerThan ));
+ dt = current.addDays( - s_settings->m_valueYoungerThan );
else
- dt = TQT_TQDATETIME_OBJECT(current.addSecs( - (s_settings->m_valueYoungerThan * 60) ));
+ dt = current.addSecs( - (s_settings->m_valueYoungerThan * 60) );
if ( m_entry->lastVisited > dt )
p->setFont( s_settings->m_fontYoungerThan );
else {
if ( s_settings->m_metricOlderThan == KonqSidebarHistorySettings::DAYS )
- dt = TQT_TQDATETIME_OBJECT(current.addDays( - s_settings->m_valueOlderThan ));
+ dt = current.addDays( - s_settings->m_valueOlderThan );
else
- dt = TQT_TQDATETIME_OBJECT(current.addSecs( - (s_settings->m_valueOlderThan * 60) ));
+ dt = current.addSecs( - (s_settings->m_valueOlderThan * 60) );
if ( m_entry->lastVisited < dt )
p->setFont( s_settings->m_fontOlderThan );