diff options
Diffstat (limited to 'examples/pytde-sampler/misc/passivepop.py')
-rw-r--r-- | examples/pytde-sampler/misc/passivepop.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/pytde-sampler/misc/passivepop.py b/examples/pytde-sampler/misc/passivepop.py index fc37573..3619fc4 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 TDEGlobal, KIcon +from tdecore import TDEGlobal, TDEIcon iconName = 'popup' labelText = 'KPassivePopup' @@ -35,8 +35,8 @@ class MainFrame(TQFrame): pos = pop.pos() pos.setY(pos.y() + pop.height() + 10) - ico = TDEGlobal.instance().iconLoader().loadIcon('help', KIcon.NoGroup, - KIcon.SizeSmall) + ico = TDEGlobal.instance().iconLoader().loadIcon('help', TDEIcon.NoGroup, + TDEIcon.SizeSmall) pop = KPassivePopup.message('<b>Hello</b>', 'With Icons', ico, self) pop.setTimeout(3000) pop.show() |