summaryrefslogtreecommitdiffstats
path: root/src/modules/file/libkvifile.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-24 21:28:39 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-31 16:31:47 +0900
commit7c3b44b81086c6b99f91e294c3b438dc808b47e2 (patch)
treed92d61649487df1a2fbd200d4ead11a7f16ba63f /src/modules/file/libkvifile.cpp
parentcafbffba66b6ce809783ed1eb4d24aac6fe9701f (diff)
downloadkvirc-7c3b44b81086c6b99f91e294c3b438dc808b47e2.tar.gz
kvirc-7c3b44b81086c6b99f91e294c3b438dc808b47e2.zip
Drop USE_QT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 030a2248f3630fd0404df98beffc78b5b5ca4c31)
Diffstat (limited to 'src/modules/file/libkvifile.cpp')
-rw-r--r--src/modules/file/libkvifile.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/modules/file/libkvifile.cpp b/src/modules/file/libkvifile.cpp
index 009340f9..a032dc6a 100644
--- a/src/modules/file/libkvifile.cpp
+++ b/src/modules/file/libkvifile.cpp
@@ -629,11 +629,7 @@ static bool file_kvs_fnc_ls(KviKvsModuleFunctionCall * c)
return true;
}
-#ifdef COMPILE_USE_QT4
- TQFlags<TQDir::Filter> iFlags = 0;
-#else
int iFlags = 0;
-#endif
if(szFlags.isEmpty())iFlags = TQDir::Dirs | TQDir::Files | TQDir::NoSymLinks | TQDir::Readable | TQDir::Writable | TQDir::Executable | TQDir::Hidden | TQDir::System;
else {
if(szFlags.find('d',false) != -1)iFlags |= TQDir::Dirs;
@@ -645,11 +641,7 @@ static bool file_kvs_fnc_ls(KviKvsModuleFunctionCall * c)
if(szFlags.find('h',false) != -1)iFlags |= TQDir::Hidden;
if(szFlags.find('s',false) != -1)iFlags |= TQDir::System;
}
-#ifdef COMPILE_USE_QT4
- TQFlags<TQDir::SortFlag> iSort = 0;
-#else
int iSort = 0;
-#endif
if(szFlags.isEmpty())iSort = TQDir::Unsorted;
else {
if(szFlags.find('n',false) != -1)iSort |= TQDir::Name;