• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIO

KFileMetaInfoItem Class Reference

#include <kfilemetainfoitem.h>

List of all members.


Detailed Description

Definition at line 32 of file kfilemetainfoitem.h.


Public Member Functions

bool addValue (const QVariant &)
bool isEditable () const
bool isModified () const
bool isRemoved () const
bool isSkipped () const
bool isValid () const
 KFileMetaInfoItem (const KFileMetaInfoItem &item)
 KFileMetaInfoItem ()
const QString & name () const
const KFileMetaInfoItem & operator= (const KFileMetaInfoItem &item)
QString prefix () const
const PredicateProperties & properties () const
bool setValue (const QVariant &value)
QString suffix () const
const QVariant & value () const
 ~KFileMetaInfoItem ()

Constructor & Destructor Documentation

KFileMetaInfoItem::KFileMetaInfoItem (  ) 

Default constructor.

Definition at line 26 of file kfilemetainfoitem.cpp.

KFileMetaInfoItem::KFileMetaInfoItem ( const KFileMetaInfoItem &  item  ) 

Copy constructor.

Definition at line 29 of file kfilemetainfoitem.cpp.

KFileMetaInfoItem::~KFileMetaInfoItem (  ) 

Destructor.

Definition at line 40 of file kfilemetainfoitem.cpp.


Member Function Documentation

bool KFileMetaInfoItem::addValue ( const QVariant &  value  ) 

Append a value to the properties in this file.

Definition at line 63 of file kfilemetainfoitem.cpp.

bool KFileMetaInfoItem::isEditable (  )  const

Can this item be edited.

Definition at line 94 of file kfilemetainfoitem.cpp.

bool KFileMetaInfoItem::isModified (  )  const

Can this item be removed.

Definition at line 73 of file kfilemetainfoitem.cpp.

bool KFileMetaInfoItem::isRemoved (  )  const

Has this value been removed, e.g with setValue(QVarian()).

Definition at line 77 of file kfilemetainfoitem.cpp.

bool KFileMetaInfoItem::isSkipped (  )  const

Has this value been skipped by analyzer due to performance or other considerations.

Definition at line 85 of file kfilemetainfoitem.cpp.

bool KFileMetaInfoItem::isValid (  )  const

Is this a valid item.

Definition at line 81 of file kfilemetainfoitem.cpp.

const QString & KFileMetaInfoItem::name (  )  const

Localized name of the predicate.

Convenience function for properties().name();

Definition at line 48 of file kfilemetainfoitem.cpp.

const KFileMetaInfoItem & KFileMetaInfoItem::operator= ( const KFileMetaInfoItem &  item  ) 

Copy operator.

Definition at line 43 of file kfilemetainfoitem.cpp.

QString KFileMetaInfoItem::prefix (  )  const

This method returns a translated prefix to be displayed before the value.

Returns:
the prefix

Definition at line 104 of file kfilemetainfoitem.cpp.

const PredicateProperties & KFileMetaInfoItem::properties (  )  const

Retrieve the properties of this field type.

Definition at line 90 of file kfilemetainfoitem.cpp.

bool KFileMetaInfoItem::setValue ( const QVariant &  value  ) 

Set the value of this field.

Definition at line 56 of file kfilemetainfoitem.cpp.

QString KFileMetaInfoItem::suffix (  )  const

This method returns a translated suffix to be displayed after the value.

Think of the kbps in 128kbps

Returns:
the suffix

Definition at line 98 of file kfilemetainfoitem.cpp.

const QVariant & KFileMetaInfoItem::value (  )  const

Retrieve the current value of this item.

Definition at line 52 of file kfilemetainfoitem.cpp.


The documentation for this class was generated from the following files:
  • kfilemetainfoitem.h
  • kfilemetainfoitem.cpp

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal