summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-08 11:55:55 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-23 00:52:28 +0100
commitcddd660ca43dbe5d4ce0f7ed6bacee48ea46da93 (patch)
tree277dba53239d6367cf2946458757600caf6e82a5 /examples
parent79ced6fbbdda1158aef437760ee0455fb9a9016d (diff)
downloadpytde-cddd660ca43dbe5d4ce0f7ed6bacee48ea46da93.tar.gz
pytde-cddd660ca43dbe5d4ce0f7ed6bacee48ea46da93.zip
Update after renaming qt => tqt in PyTQt module.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'examples')
-rw-r--r--examples/example_dcopexport.py8
-rw-r--r--examples/example_dcopext.py6
-rw-r--r--examples/menudemo.py2
-rw-r--r--examples/mimetype.py2
-rw-r--r--examples/pyTDEHTMLPart.py8
-rw-r--r--examples/pytde-sampler/basic_widgets/__init__.py2
-rw-r--r--examples/pytde-sampler/basic_widgets/datepicker.py4
-rw-r--r--examples/pytde-sampler/basic_widgets/historycombo.py2
-rw-r--r--examples/pytde-sampler/dialogs/__init__.py2
-rw-r--r--examples/pytde-sampler/dialogs/about/__init__.py2
-rw-r--r--examples/pytde-sampler/dialogs/about/aboutapp.py2
-rw-r--r--examples/pytde-sampler/dialogs/about/abouttde.py2
-rw-r--r--examples/pytde-sampler/dialogs/bugreport.py2
-rw-r--r--examples/pytde-sampler/dialogs/color.py2
-rw-r--r--examples/pytde-sampler/dialogs/config.py2
-rw-r--r--examples/pytde-sampler/dialogs/edfind.py2
-rw-r--r--examples/pytde-sampler/dialogs/edreplace.py2
-rw-r--r--examples/pytde-sampler/dialogs/font.py2
-rw-r--r--examples/pytde-sampler/dialogs/input.py2
-rw-r--r--examples/pytde-sampler/dialogs/key.py2
-rw-r--r--examples/pytde-sampler/dialogs/msgbox.py2
-rw-r--r--examples/pytde-sampler/dialogs/passwd.py2
-rw-r--r--examples/pytde-sampler/dialogs/progress.py2
-rw-r--r--examples/pytde-sampler/dialogs/tip.py2
-rw-r--r--examples/pytde-sampler/icon_handling/__init__.py2
-rw-r--r--examples/pytde-sampler/icon_handling/misc.py2
-rw-r--r--examples/pytde-sampler/icon_handling/sizes.py2
-rw-r--r--examples/pytde-sampler/misc/__init__.py2
-rw-r--r--examples/pytde-sampler/misc/gradientselect.py2
-rw-r--r--examples/pytde-sampler/misc/passivepop.py2
-rw-r--r--examples/pytde-sampler/misc/window_info.py2
-rw-r--r--examples/pytde-sampler/qt_widgets/__init__.py2
-rw-r--r--examples/pytde-sampler/qt_widgets/table.py4
-rwxr-xr-xexamples/pytde-sampler/runner.py2
-rwxr-xr-xexamples/pytde-sampler/sampler.py6
-rw-r--r--examples/pytde-sampler/xwin/__init__.py2
-rw-r--r--examples/qxembedexample.py2
-rw-r--r--examples/systray.py2
-rw-r--r--examples/uimodules/uidialogs.py2
-rw-r--r--examples/uimodules/uimenus.py2
-rw-r--r--examples/uimodules/uimisc.py2
-rw-r--r--examples/uimodules/uiwidgets.py2
-rw-r--r--examples/uimodules/uixml.py2
-rw-r--r--examples/uiqxembed.py2
-rw-r--r--examples/uisampler.py2
-rw-r--r--examples/uitdemdi.py2
-rw-r--r--examples/xmlmenudemo.py2
47 files changed, 59 insertions, 59 deletions
diff --git a/examples/example_dcopexport.py b/examples/example_dcopexport.py
index d9436fc..faec09a 100644
--- a/examples/example_dcopexport.py
+++ b/examples/example_dcopexport.py
@@ -34,7 +34,7 @@ copyright holder.
# which was written by Torben Weis and Julian Rockey
import sys
-from PyTQt.qt import TQString, TQStringList
+from PyTQt.tqt import TQString, TQStringList
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData
from dcopexport import DCOPExObj
@@ -94,11 +94,11 @@ class DeadParrotObject (DCOPExObj):
"a stiff", "bereft of life", "rests in peace", "metabolic processes are now history",
"off the twig", "kicked the bucket", "shuffled off his mortal coil",
"run down his curtain", "joined the bleedin' choir invisible", "THIS IS AN EX-PARROT"]
- qadjList = TQStringList ()
+ tqadjList = TQStringList ()
for adj in adjList:
- qadjList.append (adj)
+ tqadjList.append (adj)
- return qadjList
+ return tqadjList
description = b"DCOP server template"
diff --git a/examples/example_dcopext.py b/examples/example_dcopext.py
index d019780..96df963 100644
--- a/examples/example_dcopext.py
+++ b/examples/example_dcopext.py
@@ -28,15 +28,15 @@ copyright holder.
"""
import sys, time
-from PyTQt.qt import TQString, TQCString
+from PyTQt.tqt import TQString, TQCString
import dcop
import dcopext
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData
def getAnyApplication (client, appName):
- for qcstring_app in client.registeredApplications ():
- app = str (qcstring_app)
+ for tqcstring_app in client.registeredApplications ():
+ app = str (tqcstring_app)
if app == appName or app.startswith (appName + "-"):
print(app)
print()
diff --git a/examples/menudemo.py b/examples/menudemo.py
index 33960a2..0e4ddf6 100644
--- a/examples/menudemo.py
+++ b/examples/menudemo.py
@@ -37,7 +37,7 @@ copyright holder.
import sys
-from PyTQt.qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet
+from PyTQt.tqt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEIcon, TDEIconLoader, TDEShortcut
from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEToggleAction, TDEFontSizeAction, TDEFontAction, TDERadioAction,\
diff --git a/examples/mimetype.py b/examples/mimetype.py
index 26fbe7f..9e615a8 100644
--- a/examples/mimetype.py
+++ b/examples/mimetype.py
@@ -37,7 +37,7 @@ copyright holder.
import sys
-from PyTQt.qt import TQWidget, TQButtonGroup, TQt, TQLabel, TQListView, TQListViewItem
+from PyTQt.tqt import TQWidget, TQButtonGroup, TQt, TQLabel, TQListView, TQListViewItem
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, KURL
from tdeui import TDEMainWindow, KTabCtl, TDEListBox
diff --git a/examples/pyTDEHTMLPart.py b/examples/pyTDEHTMLPart.py
index 333247d..187cad6 100644
--- a/examples/pyTDEHTMLPart.py
+++ b/examples/pyTDEHTMLPart.py
@@ -43,7 +43,7 @@ lifted from the TDE classref.
# If you import more classes, don't forget to add them here (some of these
# are extras/not used)
-from PyTQt.qt import TQString, TQStringList
+from PyTQt.tqt import TQString, TQStringList
from tdecore import TDECmdLineArgs, KURL, TDEApplication, i18n, TDEAboutData, BarIcon, KLibLoader
from tdeui import TDEMainWindow, KMessageBox, TDEAction, KStdAction, KKeyDialog, KEditToolbar
from tdeio import TDETrader
@@ -135,14 +135,14 @@ class pyPartsMW (KParts.MainWindow):
res = KMessageBox.warningYesNoCancel(self,\
i18n("<qt>Save changes to Document?<br/>(Does not make sense, we know, but it is just a programming example :-)</qt>"))
if res == KMessageBox.Yes:
- #// save document here. If saving fails, return False
- return True
+ #// save document here. If saving fails, return False
+ return True
elif res == KMessageBox.No:
return True
else: #// cancel
- return False
+ return False
def queryExit(self):
#// this slot is invoked in addition when the *last* window is going
diff --git a/examples/pytde-sampler/basic_widgets/__init__.py b/examples/pytde-sampler/basic_widgets/__init__.py
index 014db50..c90b359 100644
--- a/examples/pytde-sampler/basic_widgets/__init__.py
+++ b/examples/pytde-sampler/basic_widgets/__init__.py
@@ -4,7 +4,7 @@ iconName = 'about_kde'
helpText = """TDE provides a large set of basic widgets for application use.
Select the children of this item to see for yourself."""
-from PyTQt.qt import TQFrame, TQVBoxLayout
+from PyTQt.tqt import TQFrame, TQVBoxLayout
from tdeui import KTextEdit
diff --git a/examples/pytde-sampler/basic_widgets/datepicker.py b/examples/pytde-sampler/basic_widgets/datepicker.py
index 30431fc..467a96a 100644
--- a/examples/pytde-sampler/basic_widgets/datepicker.py
+++ b/examples/pytde-sampler/basic_widgets/datepicker.py
@@ -1,5 +1,5 @@
-from PyTQt.qt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL, TQLabel, TQSizePolicy, TQt
-from PyTQt.qttable import TQTable
+from PyTQt.tqt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL, TQLabel, TQSizePolicy, TQt
+from PyTQt.tqttable import TQTable
from tdeui import KTextEdit, KDatePicker, KDateWidget
diff --git a/examples/pytde-sampler/basic_widgets/historycombo.py b/examples/pytde-sampler/basic_widgets/historycombo.py
index bfca05e..a43e8a9 100644
--- a/examples/pytde-sampler/basic_widgets/historycombo.py
+++ b/examples/pytde-sampler/basic_widgets/historycombo.py
@@ -1,4 +1,4 @@
-from PyTQt.qt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQStringList, TQLabel, \
+from PyTQt.tqt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQStringList, TQLabel, \
SIGNAL, SLOT
from tdeui import KHistoryCombo, KTextEdit
diff --git a/examples/pytde-sampler/dialogs/__init__.py b/examples/pytde-sampler/dialogs/__init__.py
index caab63d..50d4522 100644
--- a/examples/pytde-sampler/dialogs/__init__.py
+++ b/examples/pytde-sampler/dialogs/__init__.py
@@ -6,7 +6,7 @@ helpText = ("TDE provides a convenient set of dialog boxes for application use.
"Select the children of this item to see for yourself.")
-from PyTQt.qt import TQFrame, TQVBoxLayout
+from PyTQt.tqt import TQFrame, TQVBoxLayout
from tdeui import KTextEdit
diff --git a/examples/pytde-sampler/dialogs/about/__init__.py b/examples/pytde-sampler/dialogs/about/__init__.py
index 9d0092f..1442308 100644
--- a/examples/pytde-sampler/dialogs/about/__init__.py
+++ b/examples/pytde-sampler/dialogs/about/__init__.py
@@ -5,7 +5,7 @@ helpText = ("TDE has multiple dialog types to display information about your "
"applicaiton and environment. They provide a tremendous amount of functionality "
"and consistency. They're easy to use, and they're good for the environment!")
-from PyTQt.qt import TQFrame, TQVBoxLayout
+from PyTQt.tqt import TQFrame, TQVBoxLayout
from tdeui import KTextEdit
class MainFrame(TQFrame):
diff --git a/examples/pytde-sampler/dialogs/about/aboutapp.py b/examples/pytde-sampler/dialogs/about/aboutapp.py
index 4584107..737fe57 100644
--- a/examples/pytde-sampler/dialogs/about/aboutapp.py
+++ b/examples/pytde-sampler/dialogs/about/aboutapp.py
@@ -1,7 +1,7 @@
iconName = 'about_kde'
labelText = 'TDEAboutApplication'
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n
from tdeui import TDEAboutApplication, KPushButton, KTextEdit
diff --git a/examples/pytde-sampler/dialogs/about/abouttde.py b/examples/pytde-sampler/dialogs/about/abouttde.py
index 43e354f..c48e83f 100644
--- a/examples/pytde-sampler/dialogs/about/abouttde.py
+++ b/examples/pytde-sampler/dialogs/about/abouttde.py
@@ -1,7 +1,7 @@
iconName = 'about_kde'
labelText = 'TDEAboutTDE'
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n
from tdeui import TDEAboutKDE, KPushButton, KTextEdit
diff --git a/examples/pytde-sampler/dialogs/bugreport.py b/examples/pytde-sampler/dialogs/bugreport.py
index 74fce7e..4d37a8c 100644
--- a/examples/pytde-sampler/dialogs/bugreport.py
+++ b/examples/pytde-sampler/dialogs/bugreport.py
@@ -6,7 +6,7 @@ labelText = 'KBugReport'
##~ specifies what we want.
##~ docItemName = 'KBugReport'
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n
from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit
diff --git a/examples/pytde-sampler/dialogs/color.py b/examples/pytde-sampler/dialogs/color.py
index ea567e2..8c87162 100644
--- a/examples/pytde-sampler/dialogs/color.py
+++ b/examples/pytde-sampler/dialogs/color.py
@@ -2,7 +2,7 @@ iconName = 'colorize'
labelText = 'KColorDialog'
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n
from tdeui import KPushButton, KColorDialog, KColorPatch, KTextEdit
diff --git a/examples/pytde-sampler/dialogs/config.py b/examples/pytde-sampler/dialogs/config.py
index f0338d4..d086b28 100644
--- a/examples/pytde-sampler/dialogs/config.py
+++ b/examples/pytde-sampler/dialogs/config.py
@@ -1,5 +1,5 @@
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQString
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQString
from tdecore import i18n, TDEConfigSkeleton
from tdeui import KPushButton, TDEConfigDialog, KTextEdit
diff --git a/examples/pytde-sampler/dialogs/edfind.py b/examples/pytde-sampler/dialogs/edfind.py
index aff61cb..5fa8155 100644
--- a/examples/pytde-sampler/dialogs/edfind.py
+++ b/examples/pytde-sampler/dialogs/edfind.py
@@ -1,5 +1,5 @@
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString
from tdecore import i18n
from tdeui import KPushButton, KEdFind, KTextEdit
diff --git a/examples/pytde-sampler/dialogs/edreplace.py b/examples/pytde-sampler/dialogs/edreplace.py
index 31b03b9..249ca42 100644
--- a/examples/pytde-sampler/dialogs/edreplace.py
+++ b/examples/pytde-sampler/dialogs/edreplace.py
@@ -1,4 +1,4 @@
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString
from tdecore import i18n
from tdeui import KPushButton, KEdReplace, KTextEdit
diff --git a/examples/pytde-sampler/dialogs/font.py b/examples/pytde-sampler/dialogs/font.py
index 298f44f..7846eb6 100644
--- a/examples/pytde-sampler/dialogs/font.py
+++ b/examples/pytde-sampler/dialogs/font.py
@@ -1,5 +1,5 @@
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQFont, TQString
from tdecore import i18n
from tdeui import KPushButton, TDEFontDialog, KTextEdit
diff --git a/examples/pytde-sampler/dialogs/input.py b/examples/pytde-sampler/dialogs/input.py
index 4925a35..a297e37 100644
--- a/examples/pytde-sampler/dialogs/input.py
+++ b/examples/pytde-sampler/dialogs/input.py
@@ -1,7 +1,7 @@
iconName = 'editclear'
labelText = 'KInputDialog'
-from PyTQt.qt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL
+from PyTQt.tqt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL
from tdecore import i18n
from tdeui import KPushButton, KInputDialog, KTextEdit
diff --git a/examples/pytde-sampler/dialogs/key.py b/examples/pytde-sampler/dialogs/key.py
index db6e295..487f5d9 100644
--- a/examples/pytde-sampler/dialogs/key.py
+++ b/examples/pytde-sampler/dialogs/key.py
@@ -1,7 +1,7 @@
iconName = 'configure_shortcuts'
labelText = 'KKeyDialog'
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n
from tdeui import KPushButton, KKeyDialog, KTextEdit
diff --git a/examples/pytde-sampler/dialogs/msgbox.py b/examples/pytde-sampler/dialogs/msgbox.py
index 1ccfe3a..697dd3c 100644
--- a/examples/pytde-sampler/dialogs/msgbox.py
+++ b/examples/pytde-sampler/dialogs/msgbox.py
@@ -5,7 +5,7 @@ from random import random
from traceback import print_exc
from io import StringIO
-from PyTQt.qt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL
+from PyTQt.tqt import TQFrame, TQGridLayout, TQLabel, TQStringList, SIGNAL
from tdecore import i18n
from tdeui import KGuiItem, KPushButton, KMessageBox, KTextEdit
diff --git a/examples/pytde-sampler/dialogs/passwd.py b/examples/pytde-sampler/dialogs/passwd.py
index 93d66f9..0508611 100644
--- a/examples/pytde-sampler/dialogs/passwd.py
+++ b/examples/pytde-sampler/dialogs/passwd.py
@@ -1,4 +1,4 @@
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n
from tdeui import KPushButton, KPasswordDialog, KTextEdit
diff --git a/examples/pytde-sampler/dialogs/progress.py b/examples/pytde-sampler/dialogs/progress.py
index b2ead9a..1f4ab4b 100644
--- a/examples/pytde-sampler/dialogs/progress.py
+++ b/examples/pytde-sampler/dialogs/progress.py
@@ -2,7 +2,7 @@ iconName = 'go'
labelText = 'KProgressDialog'
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL
from tdecore import i18n
from tdeui import KPushButton, KProgressDialog, KTextEdit
diff --git a/examples/pytde-sampler/dialogs/tip.py b/examples/pytde-sampler/dialogs/tip.py
index 2e4fc02..b9e8b3d 100644
--- a/examples/pytde-sampler/dialogs/tip.py
+++ b/examples/pytde-sampler/dialogs/tip.py
@@ -3,7 +3,7 @@ labelText = 'KTipDialog'
import os
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n
from tdeui import KPushButton, KTipDatabase, KTipDialog, KTextEdit
diff --git a/examples/pytde-sampler/icon_handling/__init__.py b/examples/pytde-sampler/icon_handling/__init__.py
index 87ee0c7..2919a18 100644
--- a/examples/pytde-sampler/icon_handling/__init__.py
+++ b/examples/pytde-sampler/icon_handling/__init__.py
@@ -6,7 +6,7 @@ helpText = ("TDE icons are nice. "
"Select the children of this item to see for yourself.")
-from PyTQt.qt import TQFrame, TQVBoxLayout
+from PyTQt.tqt import TQFrame, TQVBoxLayout
from tdeui import KTextEdit
diff --git a/examples/pytde-sampler/icon_handling/misc.py b/examples/pytde-sampler/icon_handling/misc.py
index db7b624..4be12be 100644
--- a/examples/pytde-sampler/icon_handling/misc.py
+++ b/examples/pytde-sampler/icon_handling/misc.py
@@ -3,7 +3,7 @@ iconName = 'icons'
labelText = 'Misc.'
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQPoint
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQPoint
from tdecore import i18n
from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit
from tdeui import KRootPermsIcon, KWritePermsIcon
diff --git a/examples/pytde-sampler/icon_handling/sizes.py b/examples/pytde-sampler/icon_handling/sizes.py
index b1bdbd8..f93fd94 100644
--- a/examples/pytde-sampler/icon_handling/sizes.py
+++ b/examples/pytde-sampler/icon_handling/sizes.py
@@ -3,7 +3,7 @@ iconName = 'icons'
labelText = 'Icon Sizing'
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdecore import i18n
from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit
diff --git a/examples/pytde-sampler/misc/__init__.py b/examples/pytde-sampler/misc/__init__.py
index fe5dc63..f05d709 100644
--- a/examples/pytde-sampler/misc/__init__.py
+++ b/examples/pytde-sampler/misc/__init__.py
@@ -4,7 +4,7 @@ iconName = 'misc'
helpText = ("")
-from PyTQt.qt import TQFrame, TQVBoxLayout
+from PyTQt.tqt import TQFrame, TQVBoxLayout
from tdeui import KTextEdit
diff --git a/examples/pytde-sampler/misc/gradientselect.py b/examples/pytde-sampler/misc/gradientselect.py
index 8f9c1c4..4b2ee9e 100644
--- a/examples/pytde-sampler/misc/gradientselect.py
+++ b/examples/pytde-sampler/misc/gradientselect.py
@@ -1,4 +1,4 @@
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQColor, TQSizePolicy, TQLabel
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQColor, TQSizePolicy, TQLabel
from tdecore import i18n
from tdeui import KPushButton, KGradientSelector, KTextEdit, KDualColorButton, KColorPatch
diff --git a/examples/pytde-sampler/misc/passivepop.py b/examples/pytde-sampler/misc/passivepop.py
index fbccc73..316b69e 100644
--- a/examples/pytde-sampler/misc/passivepop.py
+++ b/examples/pytde-sampler/misc/passivepop.py
@@ -1,4 +1,4 @@
-from PyTQt.qt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQLabel, SIGNAL
+from PyTQt.tqt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQLabel, SIGNAL
from tdeui import KPassivePopup, KTextEdit, KPushButton
from tdecore import TDEGlobal, TDEIcon
diff --git a/examples/pytde-sampler/misc/window_info.py b/examples/pytde-sampler/misc/window_info.py
index df9a21c..cf95afe 100644
--- a/examples/pytde-sampler/misc/window_info.py
+++ b/examples/pytde-sampler/misc/window_info.py
@@ -1,7 +1,7 @@
-from PyTQt.qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
from tdeui import KWindowInfo, KPushButton, KTextEdit
from tdecore import i18n, TDEApplication
diff --git a/examples/pytde-sampler/qt_widgets/__init__.py b/examples/pytde-sampler/qt_widgets/__init__.py
index a2da4db..982bc9c 100644
--- a/examples/pytde-sampler/qt_widgets/__init__.py
+++ b/examples/pytde-sampler/qt_widgets/__init__.py
@@ -4,7 +4,7 @@ iconName = 'designer'
helpText = """TQt provides a rich set of widgets for application use.
Select the children of this item to see for yourself."""
-from PyTQt.qt import TQFrame, TQVBoxLayout, SIGNAL
+from PyTQt.tqt import TQFrame, TQVBoxLayout, SIGNAL
from tdeui import KTextEdit
diff --git a/examples/pytde-sampler/qt_widgets/table.py b/examples/pytde-sampler/qt_widgets/table.py
index b75d596..0cdc4ab 100644
--- a/examples/pytde-sampler/qt_widgets/table.py
+++ b/examples/pytde-sampler/qt_widgets/table.py
@@ -8,8 +8,8 @@ editable table widget.'
import csv
import os
-from PyTQt.qt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL
-from PyTQt.qttable import TQTable
+from PyTQt.tqt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL
+from PyTQt.tqttable import TQTable
from tdeui import KTextEdit
diff --git a/examples/pytde-sampler/runner.py b/examples/pytde-sampler/runner.py
index 66056d7..99a8765 100755
--- a/examples/pytde-sampler/runner.py
+++ b/examples/pytde-sampler/runner.py
@@ -3,7 +3,7 @@
"""
import sys
-from PyTQt.qt import TQVBoxLayout
+from PyTQt.tqt import TQVBoxLayout
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData
from tdeui import TDEMainWindow
diff --git a/examples/pytde-sampler/sampler.py b/examples/pytde-sampler/sampler.py
index 6534829..8d04233 100755
--- a/examples/pytde-sampler/sampler.py
+++ b/examples/pytde-sampler/sampler.py
@@ -10,9 +10,9 @@ import inspect
import os
import sys
-from PyTQt.qt import SIGNAL, SLOT, PYSIGNAL, TQt
-from PyTQt.qt import TQVBoxLayout, TQLabel, TQPixmap, TQSplitter, TQFrame, TQDialog
-from PyTQt.qt import TQSizePolicy, TQHBoxLayout, TQSpacerItem, TQPushButton
+from PyTQt.tqt import SIGNAL, SLOT, PYSIGNAL, TQt
+from PyTQt.tqt import TQVBoxLayout, TQLabel, TQPixmap, TQSplitter, TQFrame, TQDialog
+from PyTQt.tqt import TQSizePolicy, TQHBoxLayout, TQSpacerItem, TQPushButton
from tdecore import i18n, TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal
from tdecore import TDEGlobalSettings, KWin, KWinModule, KURL, TDEIcon
diff --git a/examples/pytde-sampler/xwin/__init__.py b/examples/pytde-sampler/xwin/__init__.py
index 41563ee..958435e 100644
--- a/examples/pytde-sampler/xwin/__init__.py
+++ b/examples/pytde-sampler/xwin/__init__.py
@@ -4,7 +4,7 @@ iconName = 'kcmx'
helpText = """TDE and PyTDE allow interaction with the X Window system. Check
out the nifty samples below."""
-from PyTQt.qt import TQFrame, TQLabel, TQVBoxLayout
+from PyTQt.tqt import TQFrame, TQLabel, TQVBoxLayout
class MainFrame(TQFrame):
def __init__(self, parent=None):
diff --git a/examples/qxembedexample.py b/examples/qxembedexample.py
index eb42a26..82c2c92 100644
--- a/examples/qxembedexample.py
+++ b/examples/qxembedexample.py
@@ -8,7 +8,7 @@
# WARNING! All changes made in this file will be lost!
-from PyTQt.qt import *
+from PyTQt.tqt import *
class QXEmbedExample(TQWidget):
diff --git a/examples/systray.py b/examples/systray.py
index a4c3ff3..075e11c 100644
--- a/examples/systray.py
+++ b/examples/systray.py
@@ -29,7 +29,7 @@ copyright holder.
import sys
-from PyTQt.qt import TQLabel
+from PyTQt.tqt import TQLabel
from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEIcon, TDEIconLoader
from tdeui import TDEMainWindow, KSystemTray
diff --git a/examples/uimodules/uidialogs.py b/examples/uimodules/uidialogs.py
index 697deb8..1c8e2b4 100644
--- a/examples/uimodules/uidialogs.py
+++ b/examples/uimodules/uidialogs.py
@@ -1,4 +1,4 @@
-from PyTQt.qt import TQVBox, TQLabel, TQLineEdit, TQString, TQPixmap, TQPushButton, TQColor, SIGNAL, TQButtonGroup,\
+from PyTQt.tqt import TQVBox, TQLabel, TQLineEdit, TQString, TQPixmap, TQPushButton, TQColor, SIGNAL, TQButtonGroup,\
TQRadioButton, TQt, TQWidget
from tdecore import TDEAccel, i18n
diff --git a/examples/uimodules/uimenus.py b/examples/uimodules/uimenus.py
index 025663a..e44dc58 100644
--- a/examples/uimodules/uimenus.py
+++ b/examples/uimodules/uimenus.py
@@ -1,6 +1,6 @@
import os
-from PyTQt.qt import TQLabel
+from PyTQt.tqt import TQLabel
from tdecore import TDEApplication
diff --git a/examples/uimodules/uimisc.py b/examples/uimodules/uimisc.py
index 4536092..26129d1 100644
--- a/examples/uimodules/uimisc.py
+++ b/examples/uimodules/uimisc.py
@@ -1,6 +1,6 @@
import os, time
-from PyTQt.qt import TQImage, TQLabel, TQPixmap, TQPushButton, SIGNAL, TQColor, TQValidator
+from PyTQt.tqt import TQImage, TQLabel, TQPixmap, TQPushButton, SIGNAL, TQColor, TQValidator
from tdeui import KMessageBox, KDateValidator, KFloatValidator, KIntValidator, KLineEdit, KLed
diff --git a/examples/uimodules/uiwidgets.py b/examples/uimodules/uiwidgets.py
index 106a559..1d7992f 100644
--- a/examples/uimodules/uiwidgets.py
+++ b/examples/uimodules/uiwidgets.py
@@ -1,6 +1,6 @@
import time, sys
-from PyTQt.qt import TQLabel, TQFrame, TQColor, TQPushButton, SIGNAL, TQButtonGroup, TQRadioButton, \
+from PyTQt.tqt import TQLabel, TQFrame, TQColor, TQPushButton, SIGNAL, TQButtonGroup, TQRadioButton, \
TQt, TQString, TQChar, TQWidget, TQTimer
from tdecore import TDEApplication
diff --git a/examples/uimodules/uixml.py b/examples/uimodules/uixml.py
index fd3ca21..0c7578e 100644
--- a/examples/uimodules/uixml.py
+++ b/examples/uimodules/uixml.py
@@ -1,6 +1,6 @@
import os
-from PyTQt.qt import TQLabel
+from PyTQt.tqt import TQLabel
from tdecore import TDEApplication
diff --git a/examples/uiqxembed.py b/examples/uiqxembed.py
index 21e31da..bbeae5a 100644
--- a/examples/uiqxembed.py
+++ b/examples/uiqxembed.py
@@ -4,7 +4,7 @@
"""
import sys
-from PyTQt.qt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT
+from PyTQt.tqt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT
from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal, TDEIcon
from tdecore import KWin, KWinModule
diff --git a/examples/uisampler.py b/examples/uisampler.py
index 76bff2a..e52a3b6 100644
--- a/examples/uisampler.py
+++ b/examples/uisampler.py
@@ -1,7 +1,7 @@
import sys
sys.path.append ("./uimodules")
-from PyTQt.qt import TQSplitter, TQWidgetStack, TQWidget, TQListViewItem, SIGNAL, TQCString , TQScrollView, TQRect, TQt
+from PyTQt.tqt import TQSplitter, TQWidgetStack, TQWidget, TQListViewItem, SIGNAL, TQCString , TQScrollView, TQRect, TQt
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData
from tdeui import TDEMainWindow, TDEListView
diff --git a/examples/uitdemdi.py b/examples/uitdemdi.py
index 5e3509a..5be4c94 100644
--- a/examples/uitdemdi.py
+++ b/examples/uitdemdi.py
@@ -28,7 +28,7 @@ All is not rosy, however:
import os
import sys
-from PyTQt.qt import SIGNAL, TQVBoxLayout, TQLabel
+from PyTQt.tqt import SIGNAL, TQVBoxLayout, TQLabel
from tdecore import i18n, TDEAboutData, TDEApplication, TDEGlobal, TDEIcon, TDECmdLineArgs
from tdeui import KDockWidget, TDEListBox, KStdAction
diff --git a/examples/xmlmenudemo.py b/examples/xmlmenudemo.py
index ce92bd3..9c5fc82 100644
--- a/examples/xmlmenudemo.py
+++ b/examples/xmlmenudemo.py
@@ -37,7 +37,7 @@ copyright holder.
import sys, os
-from PyTQt.qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet
+from PyTQt.tqt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEIcon, TDEIconLoader, TDEShortcut, TDEGlobal
from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEToggleAction, TDEFontSizeAction, TDEFontAction, TDERadioAction,\