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;
378 bool isMimeTypeKnown()
const;
402 QPixmap pixmap(
int _size,
int _state=0 )
const;
425 QString getStatusBarInfo()
const;
437 #ifndef KDE_NO_DEPRECATED
438 KDE_DEPRECATED
QString getToolTipText(
int maxcount = 6)
const;
451 #ifndef KDE_NO_DEPRECATED
452 KDE_DEPRECATED
bool acceptsDrops()
const;
472 bool isMarked()
const;
489 bool isRegularFile()
const;
499 bool cmp(
const KFileItem & item )
const;
553 #ifndef KDE_NO_DEPRECATED
554 KDE_DEPRECATED
void setExtraData(
const void *key,
void *value );
566 #ifndef KDE_NO_DEPRECATED
567 KDE_DEPRECATED
const void * extraData(
const void *key )
const;
576 #ifndef KDE_NO_DEPRECATED
577 KDE_DEPRECATED
void removeExtraData(
const void *key );
602 #ifndef KDE_NO_DEPRECATED
603 KDE_DEPRECATED
void assign(
const KFileItem & item );
625 #ifndef KDE_NO_DEPRECATED
627 bool delayedMimeTypes =
false,
628 bool urlIsDirectory =
false );
650 QSharedDataPointer<KFileItemPrivate> d;
656 friend class KFileItemTest;
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Wed Mar 20 2013 07:19:33 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.