diff options
Diffstat (limited to 'examples/uiqxembed.py')
-rw-r--r-- | examples/uiqxembed.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/uiqxembed.py b/examples/uiqxembed.py index 487016b..981ceb4 100644 --- a/examples/uiqxembed.py +++ b/examples/uiqxembed.py @@ -6,7 +6,7 @@ import sys from qt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT -from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal, KIcon +from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal, TDEIcon from tdecore import KWin, KWinModule from tdeui import KComboBox, TDEMainWindow, KPushButton, QXEmbed @@ -19,13 +19,13 @@ qxembedexample.KPushButton = KPushButton from qxembedexample import QXEmbedExample -def getIcon(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): +def getIcon(name, group=TDEIcon.NoGroup, size=TDEIcon.SizeSmall): """ returns a kde icon by name """ return TDEGlobal.instance().iconLoader().loadIcon(name, group, size) -def getIconSet(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): +def getIconSet(name, group=TDEIcon.NoGroup, size=TDEIcon.SizeSmall): """ returns a kde icon set by name """ |