KIO
Go to the documentation of this file.
33 #include <QtCore/QList>
35 class KFileItemPrivate;
48 enum {
Unknown =
static_cast<mode_t
>(-1) };
88 bool delayedMimeTypes =
false,
89 bool urlIsDirectory =
false );
105 bool delayedMimeTypes =
false );
140 void refreshMimeType();
153 void setUrl(
const KUrl &url );
161 void setName(
const QString &name );
167 mode_t permissions()
const;
173 QString permissionsString()
const;
179 bool hasExtendedACL()
const;
191 KACL defaultACL()
const;
236 bool isReadable()
const;
244 bool isWritable()
const;
250 bool isHidden()
const;
265 bool isDesktopFile()
const;
279 KUrl targetUrl()
const;
289 KUrl nepomukUri()
const;
311 #ifndef KDE_NO_DEPRECATED
312 KDE_DEPRECATED time_t time(
unsigned int which )
const;
322 QString timeString( FileTimes which = ModificationTime )
const;
323 #ifndef KDE_NO_DEPRECATED
324 KDE_DEPRECATED
QString timeString(
unsigned int which)
const;
331 bool isLocalFile()
const;
376 bool isFinalIconKnown()
const;
384 bool isMimeTypeKnown()
const;
408 QPixmap pixmap(
int _size,
int _state=0 )
const;
431 QString getStatusBarInfo()
const;
443 #ifndef KDE_NO_DEPRECATED
444 KDE_DEPRECATED
QString getToolTipText(
int maxcount = 6)
const;
457 #ifndef KDE_NO_DEPRECATED
458 KDE_DEPRECATED
bool acceptsDrops()
const;
478 bool isMarked()
const;
495 bool isRegularFile()
const;
505 bool cmp(
const KFileItem & item )
const;
559 #ifndef KDE_NO_DEPRECATED
560 KDE_DEPRECATED
void setExtraData(
const void *key,
void *value );
572 #ifndef KDE_NO_DEPRECATED
573 KDE_DEPRECATED
const void * extraData(
const void *key )
const;
582 #ifndef KDE_NO_DEPRECATED
583 KDE_DEPRECATED
void removeExtraData(
const void *key );
608 #ifndef KDE_NO_DEPRECATED
609 KDE_DEPRECATED
void assign(
const KFileItem & item );
631 #ifndef KDE_NO_DEPRECATED
633 bool delayedMimeTypes =
false,
634 bool urlIsDirectory =
false );
656 QSharedDataPointer<KFileItemPrivate> d;
662 friend class KFileItemTest;
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Sep 23 2014 09:58:51 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.