summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-05 11:28:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-05 11:28:32 +0900
commitd69bc46b253b7e1c806fc0ed25480af7be6747b6 (patch)
treef35756f25b96bf63c234c2da2f7336119076275d /examples
parente7cdc1a7c4d7ed889625a1b7480447c57d0cdbcd (diff)
downloadpytde-d69bc46b253b7e1c806fc0ed25480af7be6747b6.tar.gz
pytde-d69bc46b253b7e1c806fc0ed25480af7be6747b6.zip
Rename KWinModule to TWinModule
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples')
-rw-r--r--examples/pytde-sampler/qt_widgets/CONTRIB2
-rwxr-xr-xexamples/pytde-sampler/sampler.py2
-rw-r--r--examples/uiqxembed.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/pytde-sampler/qt_widgets/CONTRIB b/examples/pytde-sampler/qt_widgets/CONTRIB
index 392a86c..ec7599b 100644
--- a/examples/pytde-sampler/qt_widgets/CONTRIB
+++ b/examples/pytde-sampler/qt_widgets/CONTRIB
@@ -109,7 +109,7 @@ tdecore,KURL,,,
tdecore,KURLDrag,,,
tdecore,TDEUniqueApplication,,,
tdecore,KWin,,,
-tdecore,KWinModule,,,
+tdecore,TWinModule,,,
tdecore,TDEZoneAllocator,,,
tdecore,MainBarIcon,,,
tdecore,MainBarIconSet,,,
diff --git a/examples/pytde-sampler/sampler.py b/examples/pytde-sampler/sampler.py
index 4567e04..67a24a0 100755
--- a/examples/pytde-sampler/sampler.py
+++ b/examples/pytde-sampler/sampler.py
@@ -15,7 +15,7 @@ from PyTQt.tqt import TQVBoxLayout, TQLabel, TQPixmap, TQSplitter, TQFrame, TQDi
from PyTQt.tqt import TQSizePolicy, TQHBoxLayout, TQSpacerItem, TQPushButton
from tdecore import i18n, TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal
-from tdecore import TDEGlobalSettings, KWin, KWinModule, KURL, TDEIcon
+from tdecore import TDEGlobalSettings, KWin, TWinModule, KURL, TDEIcon
from tdeui import KComboBox, TDEListView, TDEListViewItem, KTabWidget, KTextEdit
from tdeui import TDEMainWindow, KPushButton, KSplashScreen, KStdAction
diff --git a/examples/uiqxembed.py b/examples/uiqxembed.py
index c912ae1..7b1e4dd 100644
--- a/examples/uiqxembed.py
+++ b/examples/uiqxembed.py
@@ -7,7 +7,7 @@ import sys
from PyTQt.tqt import TQIconSet, TQProcess, TQTimer, TQ_SIGNAL, TQ_SLOT
from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal, TDEIcon
-from tdecore import KWin, KWinModule
+from tdecore import KWin, TWinModule
from tdeui import KComboBox, TDEMainWindow, KPushButton, QXEmbed
@@ -36,7 +36,7 @@ def getWindow(pid):
""" return a window info object for the process id (or None)
"""
- for winid in KWinModule().windows():
+ for winid in TWinModule().windows():
info = KWin.info(winid)
if pid == info.pid:
return info