You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, February 7th 2005, 1:02am

KIO::UDSEntryList

I'm using the signal 'entries' from a ListJob to get a KIO::UDSEntryList. However, I can't really find it documented anywhere what the contents of UDSEntryList are. I was able to get the information I wanted (the names of some files) but I'm using the literal '65' and wouldn't mind knowing what I was doing anyways.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Monday, February 7th 2005, 5:09pm

Ah, yes, seems UDSAtom's docs are not generated.

As the KIO docs say a UDSEntryList is a QValueList of UDSEntry
An UDSEntry [1] is a QValueList of UDSAtom which is defines as

Source code

1
2
3
4
5
6
7
8
class UDSAtom
{
public:
   QString m_str;
   long long m_long;
 
   unsigned int m_uds;
 };

where m_uds describe the type which then says if m_str or m_long contains the data.
The types are listed in the docs [2]

[1] http://developer.kde.org/documentation/l…paceKIO.html#a2

[2] http://developer.kde.org/documentation/l…ceKIO.html#a255
Qt/KDE Developer
Debian User