|
|
Provides information about a file that has been examined with KDir.
|
Construct a KFileViewItem object from a KDirEntry.
|
Copy a KFileViewItem.
|
Constructs a "little" KFileViewItem (just for local files)
~ |
Destroy the KFileViewItem object.
KFileViewItem & |
Copy a KFileViewItem.
bool |
[const]
Returns true if this file is a directory.
QString |
[const]
Returns the name of the file
Note: If this object does not refer to a real file
(broken symlink), it will return QString::null
If you set @param lowerCase
to true, you will get the name in
lower case (doh). Useful to speed up sorting case insensitively.
QPixmap |
[const]
Returns an icon for this file. It will return the icon according to the mimetype of this file, when you have called @see mimeType() once. Otherwise, it will return a default icon.
Parameters:
size | specifies the size of the icon. The default icon is only available in small size, so far. |
QPixmap |
[const]
Returns a pixmap for this file. The only semantic difference to the other pixmap() method is that the last used Pixmap-size will be used. E.g. if you call pixmap( KIcon::SizeSmall ) once, you can refer to this pixmap thru this method without specifying the size. The default size is KIcon::SizeSmall. Use 0 for the default size.
QString |
[const]
Returns a string of the date of the file.
time_t |
[const]
Returns the modification time of the file.
QString |
[const]
Returns the access permissions for the file as a string.
QString |
[const]
Returns the owner of the file.
QString |
[const]
Returns the group of the file.
uint |
[const]
Returns the size of the file.
bool |
Returns true if the specified permission flag is set.
bool |
[const]
Return true if the file is readable
QString |
Returns the mimetype, e.g. "image/png" When this method is called the first time, it will also search for the correct icon according to this mimetype. The next call to
See also: pixmap(), will, return, this, correct, pixmap.
void |
[static]
frees the static allocated ressources (user information from /etc/passwd and /etc/group)