PyKDE - Python Bindings for KDE
class KMimeMagic
Table of contents
Modules
kio Classes
All Classes
Module
kio
Class
KMimeMagic
Inherits
methods
KMimeMagic
()
returns
a KMimeMagic instance
In versions KDE 3.1.0 and above only
KMimeMagic
(configFile)
returns
a KMimeMagic instance
Argument
Type
Default
configFile
QString
findBufferFileType
(a0, filename)
returns
(KMimeMagicResult)
Argument
Type
Default
a0
QByteArray
filename
QString
findBufferType
(p)
returns
(KMimeMagicResult)
Argument
Type
Default
p
QByteArray
findFileType
(_filename)
returns
(KMimeMagicResult)
Argument
Type
Default
_filename
QString
initStatic
()
returns
nothing
static
mergeBufConfig
(a0)
returns
(bool)
Argument
Type
Default
a0
char
mergeConfig
(configFile)
returns
(bool)
Argument
Type
Default
configFile
QString
self
()
returns
(KMimeMagic)
static
setFollowLinks
(_enable)
returns
nothing
Argument
Type
Default
_enable
bool