summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler/misc/passivepop.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pytde-sampler/misc/passivepop.py')
-rw-r--r--examples/pytde-sampler/misc/passivepop.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pytde-sampler/misc/passivepop.py b/examples/pytde-sampler/misc/passivepop.py
index 8a2b2e8..fc37573 100644
--- a/examples/pytde-sampler/misc/passivepop.py
+++ b/examples/pytde-sampler/misc/passivepop.py
@@ -1,6 +1,6 @@
from qt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQLabel, SIGNAL
from tdeui import KPassivePopup, KTextEdit, KPushButton
-from tdecore import KGlobal, KIcon
+from tdecore import TDEGlobal, KIcon
iconName = 'popup'
labelText = 'KPassivePopup'
@@ -35,7 +35,7 @@ class MainFrame(TQFrame):
pos = pop.pos()
pos.setY(pos.y() + pop.height() + 10)
- ico = KGlobal.instance().iconLoader().loadIcon('help', KIcon.NoGroup,
+ ico = TDEGlobal.instance().iconLoader().loadIcon('help', KIcon.NoGroup,
KIcon.SizeSmall)
pop = KPassivePopup.message('<b>Hello</b>', 'With Icons', ico, self)
pop.setTimeout(3000)