summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/pytde-sampler/misc/window_info.py2
-rw-r--r--examples/pytde-sampler/qt_widgets/CONTRIB2
-rw-r--r--examples/uimodules/uimenus.py2
-rw-r--r--examples/uimodules/uiwidgets.py4
-rw-r--r--examples/uimodules/uixml.py2
5 files changed, 6 insertions, 6 deletions
diff --git a/examples/pytde-sampler/misc/window_info.py b/examples/pytde-sampler/misc/window_info.py
index c222413..c760dbc 100644
--- a/examples/pytde-sampler/misc/window_info.py
+++ b/examples/pytde-sampler/misc/window_info.py
@@ -25,7 +25,7 @@ class MainFrame(TQFrame):
def showWindowInfo(self):
- app = TDEApplication.kApplication()
+ app = TDEApplication.tdeApplication()
info = KWindowInfo(app.activeWindow())
info.message('Updated Window Info', 3000)
diff --git a/examples/pytde-sampler/qt_widgets/CONTRIB b/examples/pytde-sampler/qt_widgets/CONTRIB
index ffcab84..5949851 100644
--- a/examples/pytde-sampler/qt_widgets/CONTRIB
+++ b/examples/pytde-sampler/qt_widgets/CONTRIB
@@ -75,7 +75,7 @@ tdecore,KMultipleDrag,,,
tdecore,KNotifyClient,,,
tdecore,KPalette,,,
tdecore,KPixmapProvider,,,
-tdecore,KProcIO,,,
+tdecore,TDEProcIO,,,
tdecore,TDEProcess,,,
tdecore,TDEProcessController,,,
tdecore,KPty,,,
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)