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

tdeio/tdeio

Public Member Functions | Protected Member Functions | List of all members
KFolderType Class Reference

#include <kmimetype.h>

Inheritance diagram for KFolderType:
KMimeType KServiceType

Public Member Functions

 KFolderType (KDesktopFile *config)
 KFolderType (TQDataStream &_str, int offset)
virtual TQString icon (const TQString &_url, bool _is_local) const
virtual TQString icon (const KURL &_url, bool _is_local) const
virtual TQString comment (const TQString &_url, bool _is_local) const
virtual TQString comment (const KURL &_url, bool _is_local) const
- Public Member Functions inherited from KMimeType
 KMimeType (const TQString &_fullpath, const TQString &_type, const TQString &_icon, const TQString &_comment, const TQStringList &_patterns)
 KMimeType (const TQString &_fullpath)
 KMimeType (KDesktopFile *config)
 KMimeType (TQDataStream &_str, int offset)
virtual TQPixmap pixmap (TDEIcon::Group group, int force_size=0, int state=0, TQString *path=0L) const
virtual TQPixmap pixmap (const KURL &_url, TDEIcon::Group _group, int _force_size=0, int _state=0, TQString *_path=0L) const
TQString comment () const
const TQStringList & patterns () const
virtual void load (TQDataStream &qs)
virtual void save (TQDataStream &qs)
virtual TQVariant property (const TQString &_name) const
virtual TQStringList propertyNames () const
TQString parentMimeType () const
bool is (const TQString &mimeTypeName) const
- Public Member Functions inherited from KServiceType
 KServiceType (const TQString &_fullpath, const TQString &_name, const TQString &_icon, const TQString &_comment)
 KServiceType (const TQString &_fullpath)
 KServiceType (KDesktopFile *config)
 KServiceType (TQDataStream &_str, int offset)
TQString icon () const
TQString name () const
TQString desktopEntryPath () const
bool isDerived () const
TQString parentServiceType () const
bool inherits (const TQString &servTypeName) const
bool isValid () const
virtual TQVariant::Type propertyDef (const TQString &_name) const
virtual TQStringList propertyDefNames () const
virtual const TQMap< TQString,
TQVariant::Type > & 
propertyDefs () const
Ptr parentType ()
void addService (KService::Ptr service)
KService::List services ()

Protected Member Functions

virtual void virtual_hook (int id, void *data)
- Protected Member Functions inherited from KMimeType
void loadInternal (TQDataStream &)
void init (KDesktopFile *)
int patternsAccuracy () const

Additional Inherited Members

- Public Types inherited from KMimeType
typedef TDESharedPtr< KMimeType > Ptr
typedef TQValueList< Ptr > List
- Static Public Member Functions inherited from KMimeType
static TQPixmap pixmapForURL (const KURL &_url, mode_t _mode=0, TDEIcon::Group _group=TDEIcon::Desktop, int _force_size=0, int _state=0, TQString *_path=0L)
static TQString iconForURL (const KURL &_url, mode_t _mode=0)
static TQString favIconForURL (const KURL &url)
static Ptr mimeType (const TQString &_name)
static Ptr findByURL (const KURL &_url, mode_t _mode=0, bool _is_local_file=false, bool _fast_mode=false)
static Ptr findByURL (const KURL &_url, mode_t _mode, bool _is_local_file, bool _fast_mode, bool *accurate)
static Ptr findByPath (const TQString &path, mode_t mode=0, bool fast_mode=false)
static Ptr findByContent (const TQByteArray &data, int *accuracy=0)
static Ptr findByFileContent (const TQString &fileName, int *accuracy=0)
static Format findFormatByFileContent (const TQString &fileName)
static List allMimeTypes ()
static const TQString & defaultMimeType ()
static KMimeType::Ptr defaultMimeTypePtr ()
static KMimeType::Ptr diagnoseFileName (const TQString &file, TQString &pattern)
- Static Protected Member Functions inherited from KMimeType
static void errorMissingMimeType (const TQString &_type)
static void buildDefaultType ()
static void checkEssentialMimeTypes ()
- Protected Attributes inherited from KMimeType
TQStringList m_lstPatterns
- Static Protected Attributes inherited from KMimeType
static bool s_bChecked = false
static Ptr s_pDefaultType = 0L

Detailed Description

Folder mime type.

Handles locked folders, for instance. Mimetype for a folder (inode/directory)

Definition at line 477 of file kmimetype.h.

Constructor & Destructor Documentation

KFolderType::KFolderType ( KDesktopFile *  config)
inline

Construct a folder mimetype and take all information from a desktop file.

Parameters
configthe desktop configuration file that describes the mime type

Definition at line 489 of file kmimetype.h.

Member Function Documentation

TQString KFolderType::comment ( const TQString &  ,
bool   
) const
virtual

Returns the descriptive comment associated with the MIME type.

The arguments are unused, but provided so that KMimeType derived classes can use them.

Returns
The descriptive comment associated with the MIME type, if any.

Reimplemented from KMimeType.

Definition at line 672 of file kmimetype.cpp.

TQString KFolderType::comment ( const KURL &  ,
bool   
) const
virtual

Returns the descriptive comment associated with the MIME type.

The arguments are unused, but provided so that KMimeType derived classes can use them.

Returns
The descriptive comment associated with the MIME type, if any.

Reimplemented from KMimeType.

Definition at line 680 of file kmimetype.cpp.

TQString KFolderType::icon ( const TQString &  ,
bool   
) const
virtual

Return the filename of the icon associated with the mimetype.

The arguments are unused, but provided so that KMimeType-derived classes can use them (e.g. KFolderType uses the URL to return one out of 2 icons)

Returns
The path to the icon associated with this MIME type.

Reimplemented from KMimeType.

Definition at line 599 of file kmimetype.cpp.

TQString KFolderType::icon ( const KURL &  ,
bool   
) const
virtual

Return the filename of the icon associated with the mimetype.

The arguments are unused, but provided so that KMimeType-derived classes can use them (e.g. KFolderType uses the URL to return one out of 2 icons)

Returns
The path to the icon associated with this MIME type.

Reimplemented from KMimeType.

Definition at line 607 of file kmimetype.cpp.


The documentation for this class was generated from the following files:
  • kmimetype.h
  • kmimetype.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
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.