From d69bc46b253b7e1c806fc0ed25480af7be6747b6 Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Thu, 5 Mar 2026 11:28:32 +0900
Subject: Rename KWinModule to TWinModule

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 ChangeLog.2001-4                          |  2 +-
 doc/classref/tdecore/KWinModule.html      | 14 +++++++-------
 doc/classref/tdecore/TDEStartupInfo.html  |  2 +-
 examples/pytde-sampler/qt_widgets/CONTRIB |  2 +-
 examples/pytde-sampler/sampler.py         |  2 +-
 examples/uiqxembed.py                     |  4 ++--
 sip/tdecore/tdeaccel.sip                  |  2 +-
 sip/tdecore/tdestartupinfo.sip            |  4 ++--
 sip/tdecore/twinmodule.sip                |  8 ++++----
 9 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/ChangeLog.2001-4 b/ChangeLog.2001-4
index 289b0d7..915be5b 100644
--- a/ChangeLog.2001-4
+++ b/ChangeLog.2001-4
@@ -1,6 +1,6 @@
 2004/08/25 16:44:00 jim
 Released 3.11.3; added post-processing for WId args
-in KWinModule signals; fixed enum in tdehtml_part (for
+in TWinModule signals; fixed enum in tdehtml_part (for
 KDE >= 3.3); updated version numbers
 
 2004/08/16 17:57:00 jim
diff --git a/doc/classref/tdecore/KWinModule.html b/doc/classref/tdecore/KWinModule.html
index e6b0c9b..768a225 100644
--- a/doc/classref/tdecore/KWinModule.html
+++ b/doc/classref/tdecore/KWinModule.html
@@ -3,7 +3,7 @@
         "http://www.w3.org/TR/html4/loose.dtd"">
 <html>
 <head>
-  <title>class KWinModule</title>
+  <title>class TWinModule</title>
   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
   <meta name="GENERATOR" content="wabbit dumphtml">
 </head>
@@ -12,7 +12,7 @@
 <hr>
 <table width="100%"><tr>
             <td width ="70%">
-                <h1>class KWinModule</h1><hr>
+                <h1>class TWinModule</h1><hr>
             </td>
             <td  width="30%" valign="top" align="right">
                 <table>
@@ -28,7 +28,7 @@
             <td width="30%" align=left>tdecore</td>
         </tr>
         <tr><td>Class</td>
-            <td>KWinModule</td>
+            <td>TWinModule</td>
         </tr>
         <tr><td>Inherits</td>
             <td>TQObject </td>
@@ -38,16 +38,16 @@
 <li><b>(anonymous)</b> = {INFO_DESKTOP = 1, INFO_WINDOWS = 2, INFO_ALL = 32767
 }</ul>
 <h3>methods</h3><ul>
-<li><b>KWinModule</b> (parent, what)
-<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KWinModule instance</i></td></tr>
+<li><b>TWinModule</b> (parent, what)
+<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TWinModule instance</i></td></tr>
 <tr><td>In versions KDE 3.2.0 and above only</td></tr>
 </table><table><tr  bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
 <tr><td>parent</td><td>TQObject</td><td></td></tr>
 <tr><td>what</td><td>int</td><td></td></tr>
 </table>
 </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
-<li><b>KWinModule</b> (parent = 0)
-<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KWinModule instance</i></td></tr>
+<li><b>TWinModule</b> (parent = 0)
+<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TWinModule instance</i></td></tr>
 </table><table><tr  bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
 <tr><td>parent</td><td>TQObject</td><td>0</td></tr>
 </table>
diff --git a/doc/classref/tdecore/TDEStartupInfo.html b/doc/classref/tdecore/TDEStartupInfo.html
index 2a48d70..3bf5cef 100644
--- a/doc/classref/tdecore/TDEStartupInfo.html
+++ b/doc/classref/tdecore/TDEStartupInfo.html
@@ -35,7 +35,7 @@
         </tr>
         </table>
         <h3>enums</h3><ul>
-<li><b>(anonymous)</b> = {CleanOnCantDetect, DisableKWinModule, AnnounceSilenceChanges
+<li><b>(anonymous)</b> = {CleanOnCantDetect, DisableTWinModule, AnnounceSilenceChanges
 }<li><b>startup_t</b> = {NoMatch, Match, CantDetect
 }</ul>
 <h3>methods</h3><ul>
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
diff --git a/sip/tdecore/tdeaccel.sip b/sip/tdecore/tdeaccel.sip
index d6e0601..7be6295 100644
--- a/sip/tdecore/tdeaccel.sip
+++ b/sip/tdecore/tdeaccel.sip
@@ -144,7 +144,7 @@ public:
         {sipName_TDESocket,                 &sipClass_TDESocket},
         {sipName_TDEStartupInfo,            &sipClass_TDEStartupInfo},
         {sipName_TDEUniqueApplication,      &sipClass_TDEUniqueApplication},
-        {sipName_KWinModule,              &sipClass_KWinModule},
+        {sipName_TWinModule,              &sipClass_TWinModule},
     };
 
     sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0]));
diff --git a/sip/tdecore/tdestartupinfo.sip b/sip/tdecore/tdestartupinfo.sip
index 57e7113..e94165a 100644
--- a/sip/tdecore/tdestartupinfo.sip
+++ b/sip/tdecore/tdestartupinfo.sip
@@ -55,8 +55,8 @@ public:
 
     enum 
     {
-        CleanOnCantDetect, 
-        DisableKWinModule, 
+        CleanOnCantDetect,
+        DisableTWinModule,
         AnnounceSilenceChanges
     };
 
diff --git a/sip/tdecore/twinmodule.sip b/sip/tdecore/twinmodule.sip
index 46de544..e9d5e97 100644
--- a/sip/tdecore/twinmodule.sip
+++ b/sip/tdecore/twinmodule.sip
@@ -24,7 +24,7 @@
 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
 
-class KWinModule : TQObject
+class TWinModule : TQObject
 {
 %TypeHeaderCode
 #include <twinmodule.h>
@@ -42,10 +42,10 @@ public:
         INFO_ALL
     };
 
-                         KWinModule (TQObject* /TransferThis/, int);
+                         TWinModule (TQObject* /TransferThis/, int);
 %End
 
-                         KWinModule (TQObject* /TransferThis/ = 0);
+                         TWinModule (TQObject* /TransferThis/ = 0);
     const TQValueList<WId>& windows () const;
     const TQValueList<WId>& stackingOrder () const;
     bool                 hasWId (WId) const;
@@ -86,7 +86,7 @@ protected:
 %End
 
 
-};  // class KWinModule
+};  // class TWinModule
 
 
 
-- 
cgit v1.2.3

