summaryrefslogtreecommitdiffstats
path: root/examples/uiqxembed.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/uiqxembed.py')
-rw-r--r--examples/uiqxembed.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/uiqxembed.py b/examples/uiqxembed.py
index 969f23a..0ed9258 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, KGlobal, KIcon
+from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal, KIcon
from tdecore import KWin, KWinModule
from tdeui import KComboBox, KMainWindow, KPushButton, QXEmbed
@@ -23,13 +23,13 @@ def getIcon(name, group=KIcon.NoGroup, size=KIcon.SizeSmall):
""" returns a kde icon by name
"""
- return KGlobal.instance().iconLoader().loadIcon(name, group, size)
+ return TDEGlobal.instance().iconLoader().loadIcon(name, group, size)
def getIconSet(name, group=KIcon.NoGroup, size=KIcon.SizeSmall):
""" returns a kde icon set by name
"""
- return KGlobal.instance().iconLoader().loadIconSet(name, group, size)
+ return TDEGlobal.instance().iconLoader().loadIconSet(name, group, size)
def getWindow(pid):