|
|
|
@ -32,6 +32,7 @@
|
|
|
|
|
#include <kapplication.h>
|
|
|
|
|
#include <kconfigdialog.h>
|
|
|
|
|
#include <kdebug.h>
|
|
|
|
|
#include <kde_file.h>
|
|
|
|
|
#include <kiconloader.h>
|
|
|
|
|
#include <klocale.h>
|
|
|
|
|
#include <kurl.h>
|
|
|
|
@ -188,7 +189,7 @@ static void addAtom(UDSEntry& entry, unsigned int uds, const TQString& s)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static void addAtom(UDSEntry& entry, unsigned int uds, long l)
|
|
|
|
|
static void addAtom(UDSEntry& entry, unsigned int uds, long long l)
|
|
|
|
|
{
|
|
|
|
|
UDSAtom a;
|
|
|
|
|
a.m_uds = uds;
|
|
|
|
@ -204,8 +205,8 @@ static const UDSEntry pathToUDSEntry(const TQString& path, const TQString& displ
|
|
|
|
|
addAtom(entry, KIO::UDS_NAME, display);
|
|
|
|
|
|
|
|
|
|
if (!path.isEmpty()) {
|
|
|
|
|
struct stat info;
|
|
|
|
|
lstat(path.local8Bit(), &info);
|
|
|
|
|
KDE_struct_stat info;
|
|
|
|
|
KDE_lstat(path.local8Bit(), &info);
|
|
|
|
|
|
|
|
|
|
addAtom(entry, KIO::UDS_SIZE, info.st_size);
|
|
|
|
|
addAtom(entry, KIO::UDS_ACCESS, info.st_mode);
|
|
|
|
|