summaryrefslogtreecommitdiffstats
path: root/examples/uiqxembed.py
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-24 13:31:20 -0600
committerTimothy Pearson <[email protected]>2013-01-24 13:31:20 -0600
commit1244eb7c0136985569a71f525ef5bcee08a431c4 (patch)
treeb611e304794fa1b9ec4cce9dd762e572d301aa4e /examples/uiqxembed.py
parent44249e7b6a1264a1d56b6ac085fa797d831d9bb2 (diff)
downloadpytde-1244eb7c0136985569a71f525ef5bcee08a431c4.tar.gz
pytde-1244eb7c0136985569a71f525ef5bcee08a431c4.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
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):