diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-11-04 12:37:46 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-11-04 12:50:28 +0100 |
commit | f26c3dbf1041ff04c5cfc8b0d683dae1f4464e3f (patch) | |
tree | 890a8b33f6dfe45de15c1bb5d3771416ba4ce444 | |
parent | d12e7a50fb7494419acd8a500cbc53db522a4529 (diff) | |
download | kdirstat-f26c3dbf1041ff04c5cfc8b0d683dae1f4464e3f.tar.gz kdirstat-f26c3dbf1041ff04c5cfc8b0d683dae1f4464e3f.zip |
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 76fb9f08873a6808bd4d07d327549b7441b7758d)
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | kdirstat/kdirtreeiterators.cpp | 2 | ||||
-rw-r--r-- | kdirstat/kdirtreeiterators.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 58a2236..e1a9e36 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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" ) diff --git a/kdirstat/kdirtreeiterators.cpp b/kdirstat/kdirtreeiterators.cpp index aac4a90..7c55c2a 100644 --- a/kdirstat/kdirtreeiterators.cpp +++ b/kdirstat/kdirtreeiterators.cpp @@ -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; diff --git a/kdirstat/kdirtreeiterators.h b/kdirstat/kdirtreeiterators.h index f7a3ae8..f211e2f 100644 --- a/kdirstat/kdirtreeiterators.h +++ b/kdirstat/kdirtreeiterators.h @@ -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; |