diff options
Diffstat (limited to 'examples/uikmdi.py')
-rw-r--r-- | examples/uikmdi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/uikmdi.py b/examples/uikmdi.py index 2b26dde..6c9cc21 100644 --- a/examples/uikmdi.py +++ b/examples/uikmdi.py @@ -29,7 +29,7 @@ import os import sys from qt import SIGNAL, TQVBoxLayout, TQLabel -from tdecore import i18n, TDEAboutData, TDEApplication, KGlobal, KIcon, TDECmdLineArgs +from tdecore import i18n, TDEAboutData, TDEApplication, TDEGlobal, KIcon, TDECmdLineArgs from tdeui import KDockWidget, KListBox, KStdAction try: @@ -48,7 +48,7 @@ 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) class KmdiExample(KMdiMainFrm): |