diff options
author | Michele Calgaro <[email protected]> | 2025-01-15 17:06:16 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-01-15 17:06:16 +0900 |
commit | 006d5bed62999d394fab3c0a95424024d8f41516 (patch) | |
tree | 2918b08649d7333ef4c1b3e3556deb3f4ce7cc93 /examples/uimodules | |
parent | 7c91bff18e7e0fa858c085b18a6816218a465efa (diff) | |
download | pytde-006d5bed62999d394fab3c0a95424024d8f41516.tar.gz pytde-006d5bed62999d394fab3c0a95424024d8f41516.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/uimodules')
-rw-r--r-- | examples/uimodules/uimenus.py | 2 | ||||
-rw-r--r-- | examples/uimodules/uiwidgets.py | 4 | ||||
-rw-r--r-- | examples/uimodules/uixml.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/uimodules/uimenus.py b/examples/uimodules/uimenus.py index e44dc58..1fdaf03 100644 --- a/examples/uimodules/uimenus.py +++ b/examples/uimodules/uimenus.py @@ -17,7 +17,7 @@ class PageLaunch: self.page.show () - TDEApplication.kApplication ().processEvents () + TDEApplication.tdeApplication ().processEvents () class PageNotImpl: diff --git a/examples/uimodules/uiwidgets.py b/examples/uimodules/uiwidgets.py index 69bd002..aea7383 100644 --- a/examples/uimodules/uiwidgets.py +++ b/examples/uimodules/uiwidgets.py @@ -114,8 +114,8 @@ class Page1: grp.show () self.page.show () - kapp = TDEApplication.kApplication () - kapp.processEvents () + tdeApp = TDEApplication.tdeApplication () + tdeApp.processEvents () y = y + 195 sqzLbl = TQLabel ("This text is too long to fit in the label below", self.page) diff --git a/examples/uimodules/uixml.py b/examples/uimodules/uixml.py index 0c7578e..f7842e2 100644 --- a/examples/uimodules/uixml.py +++ b/examples/uimodules/uixml.py @@ -17,7 +17,7 @@ class PageLaunch: self.page.show () - TDEApplication.kApplication ().processEvents () + TDEApplication.tdeApplication ().processEvents () def xmlTDEActionCollection (parent): parent.currentPageObj = PageLaunch (parent) |