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

KIO

Public Member Functions | List of all members
KFileMetaInfoItem Class Reference

#include <kfilemetainfoitem.h>

Public Member Functions

 KFileMetaInfoItem ()
 
 KFileMetaInfoItem (const KFileMetaInfoItem &item)
 
 ~KFileMetaInfoItem ()
 
bool addValue (const QVariant &)
 
bool isEditable () const
 
bool isModified () const
 
bool isRemoved () const
 
bool isSkipped () const
 
bool isValid () const
 
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
 

Detailed Description

Definition at line 34 of file kfilemetainfoitem.h.

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 46 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 77 of file kfilemetainfoitem.cpp.

bool KFileMetaInfoItem::isEditable ( ) const

Can this item be edited.

Definition at line 110 of file kfilemetainfoitem.cpp.

bool KFileMetaInfoItem::isModified ( ) const

Can this item be removed.

Definition at line 87 of file kfilemetainfoitem.cpp.

bool KFileMetaInfoItem::isRemoved ( ) const

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

Definition at line 91 of file kfilemetainfoitem.cpp.

bool KFileMetaInfoItem::isSkipped ( ) const

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

Definition at line 99 of file kfilemetainfoitem.cpp.

bool KFileMetaInfoItem::isValid ( ) const

Is this a valid item.

Definition at line 95 of file kfilemetainfoitem.cpp.

const QString & KFileMetaInfoItem::name ( ) const

Localized name of the predicate.

Definition at line 54 of file kfilemetainfoitem.cpp.

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

Copy operator.

Definition at line 49 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 120 of file kfilemetainfoitem.cpp.

const PredicateProperties & KFileMetaInfoItem::properties ( ) const

Retrieve the properties of this field type.

Deprecated:

Definition at line 105 of file kfilemetainfoitem.cpp.

bool KFileMetaInfoItem::setValue ( const QVariant &  value)

Set the value of this field.

Definition at line 70 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 114 of file kfilemetainfoitem.cpp.

const QVariant & KFileMetaInfoItem::value ( ) const

Retrieve the current value of this item.

Definition at line 66 of file kfilemetainfoitem.cpp.


The documentation for this class was generated from the following files:
  • kfilemetainfoitem.h
  • kfilemetainfoitem.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal