PyKDE - Python Bindings for KDE
class KIconLoader
Table of contents
Modules
tdecore Classes
All Classes
Module
tdecore
Class
KIconLoader
Inherits
methods
KIconLoader
(appname = QString .null, dirs = 0)
returns
a KIconLoader instance
Argument
Type
Default
appname
QString
QString .null
dirs
KStandardDirs
0
addAppDir
(appname)
returns
nothing
Argument
Type
Default
appname
QString
addExtraDesktopThemes
()
returns
nothing
In versions KDE 3.1.0 and above only
alphaBlending
(group)
returns
(bool)
Argument
Type
Default
group
KIcon.Group
currentSize
(group)
returns
(int)
Argument
Type
Default
group
KIcon.Group
enableDelayedIconSetLoading
(enable)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
enable
bool
extraDesktopThemesAdded
()
returns
(bool)
In versions KDE 3.1.0 and above only
iconEffect
()
returns
(KIconEffect)
iconPath
(name, group_or_size, canReturnNull = 0)
returns
(QString)
Argument
Type
Default
name
QString
group_or_size
int
canReturnNull
bool
0
isDelayedIconSetLoadingEnabled
()
returns
(bool)
In versions KDE 3.1.0 and above only
loadAnimated
(name, group, size = 0)
returns
(QStringList)
Argument
Type
Default
name
QString
group
KIcon.Group
size
int
0
loadIcon
(name, group, size = 0, state = KIcon .DefaultState, path_store = 0, canReturnNull = 0)
returns
(QPixmap)
Argument
Type
Default
name
QString
group
KIcon.Group
size
int
0
state
int
KIcon .DefaultState
path_store
QString
0
canReturnNull
bool
0
loadIconSet
(name, group, size, canReturnNull, immediateExistenceCheck)
returns
(QIconSet)
In versions KDE 3.5.0 and above only
Argument
Type
Default
name
QString
group
KIcon.Group
size
int
canReturnNull
bool
immediateExistenceCheck
bool
loadIconSet
(name, group, size, canReturnNull)
returns
(QIconSet)
In versions KDE 3.1.0 and above only
Argument
Type
Default
name
QString
group
KIcon.Group
size
int
canReturnNull
bool
loadIconSet
(name, group, size = 0)
returns
(QIconSet)
Argument
Type
Default
name
QString
group
KIcon.Group
size
int
0
loadMovie
(name, group, size = 0)
returns
(QMovie)
Argument
Type
Default
name
QString
group
KIcon.Group
size
int
0
moviePath
(name, group, size = 0)
returns
(QString)
Argument
Type
Default
name
QString
group
KIcon.Group
size
int
0
queryIcons
(group_or_size, context = KIcon .Any)
returns
(QStringList)
Argument
Type
Default
group_or_size
int
context
KIcon.Context
KIcon .Any
queryIconsByContext
(group_or_size, context = KIcon .Any)
returns
(QStringList)
Argument
Type
Default
group_or_size
int
context
KIcon.Context
KIcon .Any
queryIconsByDir
(iconsDir)
returns
(QStringList)
In versions KDE 3.1.0 and above only
Argument
Type
Default
iconsDir
QString
reconfigure
(_appname, _dirs)
returns
nothing
Argument
Type
Default
_appname
QString
_dirs
KStandardDirs
theme
()
returns
(KIconTheme)
unknown
()
returns
(QPixmap)
static