diff options
author | Michele Calgaro <[email protected]> | 2023-08-08 12:20:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-08 20:10:54 +0900 |
commit | 196b1629b9f5de20f3769eb5ec755a635df3c3e7 (patch) | |
tree | 0f9de901a6b71ee79c80a8186ac3b985998e55b0 /konqueror/listview/konq_listviewitems.cpp | |
parent | 311da82aeb967658bb6bd69d9b17ceabf0fc9a0f (diff) | |
download | tdebase-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/listview/konq_listviewitems.cpp')
-rw-r--r-- | konqueror/listview/konq_listviewitems.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/konqueror/listview/konq_listviewitems.cpp b/konqueror/listview/konq_listviewitems.cpp index 1766a0b0b..493e157b4 100644 --- a/konqueror/listview/konq_listviewitems.cpp +++ b/konqueror/listview/konq_listviewitems.cpp @@ -161,7 +161,7 @@ void KonqListViewItem::updateContents() const TQString entryStr = retrieveExtraEntry( m_fileitem, numExtra ); if ( tmpColumn->type == TQVariant::DateTime ) { - TQDateTime dt = TQT_TQDATETIME_OBJECT(TQDateTime::fromString( entryStr, Qt::ISODate )); + TQDateTime dt = TQDateTime::fromString( entryStr, Qt::ISODate ); setText(tmpColumn->displayInColumn, TDEGlobal::locale()->formatDateTime(dt)); } @@ -292,9 +292,9 @@ int KonqBaseListViewItem::compare( TQListViewItem* item, int col, bool ascending { if ( cInfo->type & TQVariant::DateTime ) { const TQString entryStr1 = retrieveExtraEntry( m_fileitem, numExtra ); - TQDateTime dt1 = TQT_TQDATETIME_OBJECT(TQDateTime::fromString( entryStr1, Qt::ISODate )); + TQDateTime dt1 = TQDateTime::fromString( entryStr1, Qt::ISODate ); const TQString entryStr2 = retrieveExtraEntry( k->m_fileitem, numExtra ); - TQDateTime dt2 = TQT_TQDATETIME_OBJECT(TQDateTime::fromString( entryStr2, Qt::ISODate )); + TQDateTime dt2 = TQDateTime::fromString( entryStr2, Qt::ISODate ); return ( dt1 > dt2 ) ? 1 : ( dt1 < dt2 ) ? -1 : 0; } } |