Removed obsolete TQCollection and replaced with TQPtrCollection.

The definition of -UTQT_NO_COMPAT is no longer needed.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 76fb9f0887)
r14.0.x
Slávek Banko 6 years ago
parent d12e7a50fb
commit f26c3dbf10
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -58,7 +58,7 @@ include( ConfigureChecks.cmake )
###### global compiler settings
add_definitions( -DHAVE_CONFIG_H -UQT_NO_COMPAT -UQT_NO_ASCII_CAST )
add_definitions( -DHAVE_CONFIG_H -UQT_NO_ASCII_CAST )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )

@ -380,7 +380,7 @@ KFileInfoList::sumTotalSizes()
int
KFileInfoList::compareItems( TQCollection::Item it1, TQCollection::Item it2 )
KFileInfoList::compareItems( TQPtrCollection::Item it1, TQPtrCollection::Item it2 )
{
if ( it1 == it2 )
return 0;

@ -349,7 +349,7 @@ namespace KDirStat
/**
* Comparison function. This is why this class is needed at all.
**/
virtual int compareItems( TQCollection::Item it1, TQCollection::Item it2 );
virtual int compareItems( TQPtrCollection::Item it1, TQPtrCollection::Item it2 );
KFileInfoSortOrder _sortOrder;
bool _ascending;

Loading…
Cancel
Save