• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdeio
 

tdeio/tdeio

  • KFileMimeTypeInfo
  • GroupInfo
Public Member Functions | Friends | List of all members
KFileMimeTypeInfo::GroupInfo Class Reference

#include <tdefilemetainfo.h>

Public Member Functions

TQStringList supportedKeys () const
 
const TQString & name () const
 
const TQString & translatedName () const
 
const ItemInfo * itemInfo (const TQString &key) const
 
uint attributes () const
 
bool supportsVariableKeys () const
 
const ItemInfo * variableItemInfo () const
 

Friends

class KFilePlugin
 
class KFileMimeTypeInfo
 

Detailed Description

Information about a meta information group.

This is the class for one group of items of a KFileMimeTypeInfo. It contains, among other things, the information about the group's name and a list of supported items.

Definition at line 138 of file tdefilemetainfo.h.

Member Function Documentation

uint KFileMimeTypeInfo::GroupInfo::attributes ( ) const
inline

Get the attributes of this group (see Attributes)

Returns
the attributes

Definition at line 196 of file tdefilemetainfo.h.

const KFileMimeTypeInfo::ItemInfo * KFileMimeTypeInfo::GroupInfo::itemInfo ( const TQString &  key) const

A group object can contain several item objects (of which you can get the names with supportedKeys() .

With this method, you can get one of those item objects. See ItemInfo

Returns
a pointer to the item info. Don't delete this object!

Definition at line 1565 of file tdefilemetainfo.cpp.

const TQString& KFileMimeTypeInfo::GroupInfo::name ( ) const
inline

Use this method to get the name of the group.

This string doesn't depend on the user's locale settings

Returns
the group name

Definition at line 165 of file tdefilemetainfo.h.

TQStringList KFileMimeTypeInfo::GroupInfo::supportedKeys ( ) const
inline

Use this method to get a list of keys in the specified group that the plugin knows about.

No variable keys. For a group that doesn't support variable keys, all keys that this group may have are returned. For a group that does support them, the non-variable ones are returned. See KFileMetaInfo about variable keys

Returns
the list of keys supported for this mimetype

Definition at line 154 of file tdefilemetainfo.h.

bool KFileMimeTypeInfo::GroupInfo::supportsVariableKeys ( ) const
inline
Returns
true if this group supports adding or removing arbitrary keys, false if not.

Definition at line 205 of file tdefilemetainfo.h.

const TQString& KFileMimeTypeInfo::GroupInfo::translatedName ( ) const
inline

Use this method to get the string to display to the user as group name.

This may be different to name() and it returns the name in the user's language

Returns
the translated group name

Definition at line 177 of file tdefilemetainfo.h.

const ItemInfo* KFileMimeTypeInfo::GroupInfo::variableItemInfo ( ) const
inline

If the group supports variable keys, you can query their item info with this method.

The main reason for this is that you can get the type and attributes of variable keys.

Returns
a pointer to the item info. Don't delete this object!

Definition at line 217 of file tdefilemetainfo.h.


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

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.8.8
This website is maintained by Timothy Pearson.