diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-27 18:45:46 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-27 18:45:46 -0500 |
commit | a21cb20628b557c569f3066aa4d4ad4bedc9959c (patch) | |
tree | ab153907c6301584b3f2288e083bd2441bf95d09 /tdeio/tdeio/tdefileitem.h | |
parent | 4ffab32f5ff5480f82301d2cde67961a2010fd3c (diff) | |
download | tdelibs-a21cb20628b557c569f3066aa4d4ad4bedc9959c.tar.gz tdelibs-a21cb20628b557c569f3066aa4d4ad4bedc9959c.zip |
Add fast mimetype accessor for use by Konqueror when checking for media device icons
This relates to Bug 699
Diffstat (limited to 'tdeio/tdeio/tdefileitem.h')
-rw-r--r-- | tdeio/tdeio/tdefileitem.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tdeio/tdeio/tdefileitem.h b/tdeio/tdeio/tdefileitem.h index eace44d94..b6c1b0bb8 100644 --- a/tdeio/tdeio/tdefileitem.h +++ b/tdeio/tdeio/tdefileitem.h @@ -328,6 +328,14 @@ public: /** * Returns the mimetype of the file item. + * If @p _determineMimeTypeOnDemand was used in the constructor, this will return + * the mimetype as fast as possible at the expense of accuracy. + * @return the fast mime type of the file + */ + TQString mimetypeFast() const; + + /** + * Returns the mimetype of the file item. * If _determineMimeTypeOnDemand was used in the constructor, this will determine * the mimetype first. * @return the mime type |