diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:12:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:12:48 -0600 |
commit | f49521ca3d0cbf2197b353a7c35f924e7b5b89ff (patch) | |
tree | 58fdba2caa721a57abc5ad2a293c978f57629778 /examples/pytde-sampler/misc/passivepop.py | |
parent | 77ad361b74e6bda59916cc01c13c0b44306d730e (diff) | |
download | pytde-f49521ca3d0cbf2197b353a7c35f924e7b5b89ff.tar.gz pytde-f49521ca3d0cbf2197b353a7c35f924e7b5b89ff.zip |
Rename KIcon to enhance compatibility with KDE4
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() |