diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-07 11:07:29 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-07 11:07:29 +0900 |
| commit | d18aa53b8b39aadd840968caa6fd9ab6f462175e (patch) | |
| tree | de56a7f23c2ed092411db697f07efa83f8f52530 /src/app/VFS/normal_vfs.cpp | |
| parent | 93cd4949e72fe0a36b0118cd34a3ade29b1fe551 (diff) | |
| download | krusader-remove/kde-is-version.tar.gz krusader-remove/kde-is-version.zip | |
Remove use of KDE_IS_VERSIONremove/kde-is-version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/app/VFS/normal_vfs.cpp')
| -rw-r--r-- | src/app/VFS/normal_vfs.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/app/VFS/normal_vfs.cpp b/src/app/VFS/normal_vfs.cpp index f81ab9a..bc9c930 100644 --- a/src/app/VFS/normal_vfs.cpp +++ b/src/app/VFS/normal_vfs.cpp @@ -55,14 +55,12 @@ #include "../krslots.h" // header files for ACL -#if KDE_IS_VERSION(3,5,0) #ifdef HAVE_POSIX_ACL #include <sys/acl.h> #ifdef HAVE_NON_POSIX_ACL_EXTENSIONS #include <acl/libacl.h> #endif #endif -#endif normal_vfs::normal_vfs(TQObject* panel):vfs(panel), watcher(0) { vfs_type=NORMAL; @@ -185,11 +183,7 @@ void normal_vfs::vfs_delFiles(TQStringList *fileNames){ // delete of move to trash ? krConfig->setGroup("General"); if( krConfig->readBoolEntry("Move To Trash",_MoveToTrash) ){ -#if KDE_IS_VERSION(3,4,0) job = TDEIO::trash(filesUrls, true ); -#else - job = new TDEIO::CopyJob(filesUrls,TDEGlobalSettings::trashPath(),TDEIO::CopyJob::Move,false,true ); -#endif connect(job,TQ_SIGNAL(result(TDEIO::Job*)),SLOTS,TQ_SLOT(changeTrashIcon())); } else @@ -283,7 +277,7 @@ vfile* normal_vfs::vfileFromName(const TQString& name){ void normal_vfs::getACL( vfile *file, TQString &acl, TQString &defAcl ) { acl = defAcl = TQString(); -#if KDE_IS_VERSION(3,5,0) && defined( HAVE_POSIX_ACL ) +#if defined( HAVE_POSIX_ACL ) TQCString fileName = file->vfile_getUrl().path( -1 ).local8Bit(); #if HAVE_NON_POSIX_ACL_EXTENSIONS if ( acl_extended_file( fileName.data() ) ) @@ -300,7 +294,7 @@ void normal_vfs::getACL( vfile *file, TQString &acl, TQString &defAcl ) TQString normal_vfs::getACL( const TQString & path, int type ) { -#if KDE_IS_VERSION(3,5,0) && defined( HAVE_POSIX_ACL ) +#if defined( HAVE_POSIX_ACL ) acl_t acl = 0; // do we have an acl for the file, and/or a default acl for the dir, if it is one? if ( ( acl = acl_get_file( path.ascii(), type ) ) != 0 ) |
