Qtc.Core.QMimeDatabase

Documentation

qMimeDatabase :: () -> IO (QMimeDatabase ()) #

allMimeTypes :: QMimeDatabase a -> () -> IO [QMimeType ()] #

class QmimeTypeForData x1 where #

Methods

mimeTypeForData :: QMimeDatabase a -> x1 -> IO (QMimeType ()) #

Instances
QmimeTypeForData (QByteArray t1) # 
Instance details

Defined in Qtc.Core.QMimeDatabase

Methods

mimeTypeForData :: QMimeDatabase a -> QByteArray t1 -> IO (QMimeType ()) #

QmimeTypeForData (QIODevice t1) # 
Instance details

Defined in Qtc.Core.QMimeDatabase

Methods

mimeTypeForData :: QMimeDatabase a -> QIODevice t1 -> IO (QMimeType ()) #

class QmimeTypeForFile x1 where #

Methods

mimeTypeForFile :: QMimeDatabase a -> x1 -> IO (QMimeType ()) #

Instances
QmimeTypeForFile String # 
Instance details

Defined in Qtc.Core.QMimeDatabase

Methods

mimeTypeForFile :: QMimeDatabase a -> String -> IO (QMimeType ()) #

QmimeTypeForFile (QFileInfo t1) # 
Instance details

Defined in Qtc.Core.QMimeDatabase

Methods

mimeTypeForFile :: QMimeDatabase a -> QFileInfo t1 -> IO (QMimeType ()) #

QmimeTypeForFile (String, MatchMode) # 
Instance details

Defined in Qtc.Core.QMimeDatabase

Methods

mimeTypeForFile :: QMimeDatabase a -> (String, MatchMode) -> IO (QMimeType ()) #

QmimeTypeForFile (QFileInfo t1, MatchMode) # 
Instance details

Defined in Qtc.Core.QMimeDatabase

class QmimeTypeForFileNameAndData x1 where #

Instances
QmimeTypeForFileNameAndData (String, QByteArray t2) # 
Instance details

Defined in Qtc.Core.QMimeDatabase

Methods

mimeTypeForFileNameAndData :: QMimeDatabase a -> (String, QByteArray t2) -> IO (QMimeType ()) #

QmimeTypeForFileNameAndData (String, QIODevice t2) # 
Instance details

Defined in Qtc.Core.QMimeDatabase

Methods

mimeTypeForFileNameAndData :: QMimeDatabase a -> (String, QIODevice t2) -> IO (QMimeType ()) #

mimeTypeForName :: QMimeDatabase a -> String -> IO (QMimeType ()) #

mimeTypesForFileName :: QMimeDatabase a -> String -> IO [QMimeType ()] #

suffixForFileName :: QMimeDatabase a -> String -> IO String #