diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-12-21 13:00:42 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-12-21 13:00:42 +0100 |
commit | 7ec95b95226aa01c050dfc383833ef107bc95c60 (patch) | |
tree | 384f80578f90ad46d36f83ebcf82c8bfe7b5a84f | |
parent | 223af3b47f7b564be7008a030969bcd25f7b3e7b (diff) | |
download | pytqt-7ec95b95226aa01c050dfc383833ef107bc95c60.tar.gz pytqt-7ec95b95226aa01c050dfc383833ef107bc95c60.zip |
Rename python extension module from python_tqt to PyTQt.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
73 files changed, 91 insertions, 91 deletions
diff --git a/configure.py b/configure.py index 0981ad5..56c3537 100644 --- a/configure.py +++ b/configure.py @@ -73,7 +73,7 @@ sipcfg = sip_tqt_config.Configuration() opt_tqtlib = None opt_qconfigdir = None opt_pyqtbindir = sipcfg.default_bin_dir -opt_pyqtmoddir = os.path.join(sipcfg.default_mod_dir, "python_tqt") +opt_pyqtmoddir = os.path.join(sipcfg.default_mod_dir, "PyTQt") opt_pyqtsipdir = sipcfg.default_sip_dir opt_qtpetag = None opt_qsciincdir = None diff --git a/doc/PyQt.html b/doc/PyQt.html index eb196f1..05c0b69 100644 --- a/doc/PyQt.html +++ b/doc/PyQt.html @@ -291,7 +291,7 @@ WIDTH="100%" ><TD ><PRE CLASS="PROGRAMLISTING" ->from python_tqt.qt import * +>from PyTQt.qt import * # Import our custom widget. from foo import bar</PRE diff --git a/doc/PyQt.sgml b/doc/PyQt.sgml index e7893f6..3eece7e 100644 --- a/doc/PyQt.sgml +++ b/doc/PyQt.sgml @@ -256,7 +256,7 @@ Here's the corresponding output from <Literal>pyuic</Literal>. </Para> <ProgramListing> -from python_tqt.qt import * +from PyTQt.qt import * # Import our custom widget. from foo import bar diff --git a/doc/qtdocs.sip b/doc/qtdocs.sip index 5dca328..171bacd 100644 --- a/doc/qtdocs.sip +++ b/doc/qtdocs.sip @@ -285,7 +285,7 @@ Here's the corresponding output from <Literal>pyuic</Literal>. </Para> <ProgramListing> -from python_tqt.qt import * +from PyTQt.qt import * # Import our custom widget. from foo import bar diff --git a/examples/SQL/connect.ui.h b/examples/SQL/connect.ui.h index ceff8dc..1e9f544 100644 --- a/examples/SQL/connect.ui.h +++ b/examples/SQL/connect.ui.h @@ -9,7 +9,7 @@ void ConnectDialog::init() { -from python_tqt.qtsql import TQSqlDatabase +from PyTQt.qtsql import TQSqlDatabase #qDebug("ConnectDialog init") self.comboDriver.clear() self.comboDriver.insertStringList(TQSqlDatabase.drivers()) diff --git a/examples/SQL/dbconnect.py b/examples/SQL/dbconnect.py index d1c1baf..2fb2b08 100755 --- a/examples/SQL/dbconnect.py +++ b/examples/SQL/dbconnect.py @@ -1,8 +1,8 @@ #!/usr/bin/env python import sys -from python_tqt.qt import * -from python_tqt.qtsql import * +from PyTQt.qt import * +from PyTQt.qtsql import * from frmconnect import frmConnect from dbpar import * diff --git a/examples/SQL/frmconnect.py b/examples/SQL/frmconnect.py index 97fb406..0fec45f 100644 --- a/examples/SQL/frmconnect.py +++ b/examples/SQL/frmconnect.py @@ -6,7 +6,7 @@ # WARNING! All changes made in this file will be lost! -from python_tqt.qt import * +from PyTQt.qt import * class frmConnect(TQDialog): diff --git a/examples/SQL/runform1.py b/examples/SQL/runform1.py index 2e01b7e..0724547 100755 --- a/examples/SQL/runform1.py +++ b/examples/SQL/runform1.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import sys -from python_tqt.qt import * +from PyTQt.qt import * from form1 import Form1 from dbconnect import createConnection diff --git a/examples/SQL/runform2.py b/examples/SQL/runform2.py index 0184e9d..5644475 100755 --- a/examples/SQL/runform2.py +++ b/examples/SQL/runform2.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import sys -from python_tqt.qt import * +from PyTQt.qt import * from form2 import Form2 from dbconnect import createConnection diff --git a/examples/SQL/runsqlex.py b/examples/SQL/runsqlex.py index 2235699..ccdec9d 100755 --- a/examples/SQL/runsqlex.py +++ b/examples/SQL/runsqlex.py @@ -1,8 +1,8 @@ #!/usr/bin/env python import sys -from python_tqt.qt import * -from python_tqt.qtsql import * +from PyTQt.qt import * +from PyTQt.qtsql import * from sqlex import SqlEx from connect import ConnectDialog diff --git a/examples/SQL/sqlcustom1.py b/examples/SQL/sqlcustom1.py index 4da8f8a..1ea3471 100755 --- a/examples/SQL/sqlcustom1.py +++ b/examples/SQL/sqlcustom1.py @@ -11,8 +11,8 @@ #*****************************************************************************/ import sys -from python_tqt.qt import * -from python_tqt.qtsql import * +from PyTQt.qt import * +from PyTQt.qtsql import * from dbconnect import createConnection diff --git a/examples/SQL/sqlsubclass5.py b/examples/SQL/sqlsubclass5.py index 0fdc78c..a288099 100755 --- a/examples/SQL/sqlsubclass5.py +++ b/examples/SQL/sqlsubclass5.py @@ -11,8 +11,8 @@ #*****************************************************************************/ import sys -from python_tqt.qt import * -from python_tqt.qtsql import * +from PyTQt.qt import * +from PyTQt.qtsql import * from dbconnect import createConnection diff --git a/examples/SQL/sqltable4.py b/examples/SQL/sqltable4.py index a8484c5..75eddad 100755 --- a/examples/SQL/sqltable4.py +++ b/examples/SQL/sqltable4.py @@ -11,8 +11,8 @@ #*****************************************************************************/ import sys -from python_tqt.qt import * -from python_tqt.qtsql import * +from PyTQt.qt import * +from PyTQt.qtsql import * from dbconnect import createConnection diff --git a/examples/aclock.py b/examples/aclock.py index 66283ef..23ef169 100755 --- a/examples/aclock.py +++ b/examples/aclock.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import sys -from python_tqt.qt import * +from PyTQt.qt import * def TQMIN(x, y): if y > x: return y diff --git a/examples/addressbook.py b/examples/addressbook.py index 14b5679..760a164 100755 --- a/examples/addressbook.py +++ b/examples/addressbook.py @@ -4,7 +4,7 @@ import sys, string -from python_tqt.qt import * +from PyTQt.qt import * TRUE = 1 FALSE = 0 diff --git a/examples/application.py b/examples/application.py index 056e895..30747e0 100755 --- a/examples/application.py +++ b/examples/application.py @@ -4,7 +4,7 @@ import sys, string -from python_tqt.qt import * +from PyTQt.qt import * fileopen = [ diff --git a/examples/biff.py b/examples/biff.py index abee0cf..0fdc9f6 100755 --- a/examples/biff.py +++ b/examples/biff.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import os, sys, string -from python_tqt.qt import * +from PyTQt.qt import * if TQT_VERSION < 0x030100: diff --git a/examples/bigtable.py b/examples/bigtable.py index f2d9788..85a0349 100755 --- a/examples/bigtable.py +++ b/examples/bigtable.py @@ -12,8 +12,8 @@ import sys import os -from python_tqt.qt import * -from python_tqt.qttable import * +from PyTQt.qt import * +from PyTQt.qttable import * TRUE = 1 FALSE = 0 diff --git a/examples/buttongroups.py b/examples/buttongroups.py index 3d6883e..1fe595a 100755 --- a/examples/buttongroups.py +++ b/examples/buttongroups.py @@ -10,7 +10,7 @@ #*****************************************************************************/ import sys -from python_tqt.qt import * +from PyTQt.qt import * TRUE = 1 FALSE = 0 diff --git a/examples/canvas/canvas.py b/examples/canvas/canvas.py index f1df39a..3039cdb 100755 --- a/examples/canvas/canvas.py +++ b/examples/canvas/canvas.py @@ -1,8 +1,8 @@ #!/usr/bin/env python import sys -from python_tqt.qt import * -from python_tqt.qtcanvas import * +from PyTQt.qt import * +from PyTQt.qtcanvas import * import random diff --git a/examples/checklists.py b/examples/checklists.py index 61734ba..5249bb0 100755 --- a/examples/checklists.py +++ b/examples/checklists.py @@ -3,7 +3,7 @@ # Copyright (C) 2002 Oleksandr Yakovlyev (yshurik) <yshurik@thekompany.com> import sys -from python_tqt.qt import * +from PyTQt.qt import * TRUE = 1 FALSE = 0 diff --git a/examples/cursor.py b/examples/cursor.py index da9db7b..f6ef6ee 100755 --- a/examples/cursor.py +++ b/examples/cursor.py @@ -10,7 +10,7 @@ ***************************************************************************""" import sys -from python_tqt.qt import * +from PyTQt.qt import * # cb_bits and cm_bits were generated by X bitmap program. diff --git a/examples/dclock.py b/examples/dclock.py index 302d454..9be19eb 100755 --- a/examples/dclock.py +++ b/examples/dclock.py @@ -4,7 +4,7 @@ import sys, string -from python_tqt.qt import * +from PyTQt.qt import * class DigitalClock(TQLCDNumber): diff --git a/examples/desktop.py b/examples/desktop.py index 154b632..909ab91 100755 --- a/examples/desktop.py +++ b/examples/desktop.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import sys -from python_tqt.qt import * +from PyTQt.qt import * seed = 0.353535353535 KINDA_RAND_MAX = 32767 diff --git a/examples/dirview.py b/examples/dirview.py index e6b1f58..d3c8b0e 100755 --- a/examples/dirview.py +++ b/examples/dirview.py @@ -12,7 +12,7 @@ ***************************************************************************""" import sys -from python_tqt.qt import * +from PyTQt.qt import * folder_closed_xpm = [ "16 16 9 1", diff --git a/examples/dragdrop.py b/examples/dragdrop.py index a715170..ae577be 100755 --- a/examples/dragdrop.py +++ b/examples/dragdrop.py @@ -3,7 +3,7 @@ # Ported to PyTQt by Issac Trotts on Jan 1, 2002 import sys -from python_tqt.qt import * +from PyTQt.qt import * import dropsite, secret diff --git a/examples/drawlines.py b/examples/drawlines.py index c1553f2..75da388 100755 --- a/examples/drawlines.py +++ b/examples/drawlines.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import sys, random -from python_tqt.qt import * +from PyTQt.qt import * TRUE = 1 FALSE = 0 diff --git a/examples/dropsite.py b/examples/dropsite.py index 8581e0e..ee8fcfb 100644 --- a/examples/dropsite.py +++ b/examples/dropsite.py @@ -1,7 +1,7 @@ # This is part of the dragdrop example. -from python_tqt.qt import * +from PyTQt.qt import * import secret diff --git a/examples/fontdisplayer.py b/examples/fontdisplayer.py index 1f616bf..bbf53a5 100755 --- a/examples/fontdisplayer.py +++ b/examples/fontdisplayer.py @@ -11,7 +11,7 @@ ***************************************************************************""" import sys -from python_tqt.qt import * +from PyTQt.qt import * class FontRowTable( TQFrame ): def __init__( self, parent=None, name=None ): diff --git a/examples/fonts.py b/examples/fonts.py index 145b815..770778c 100755 --- a/examples/fonts.py +++ b/examples/fonts.py @@ -11,7 +11,7 @@ ***************************************************************************""" import sys -from python_tqt.qt import * +from PyTQt.qt import * class Viewer( TQWidget ): def __init__( self ): diff --git a/examples/gears.py b/examples/gears.py index e98df55..71d81c0 100755 --- a/examples/gears.py +++ b/examples/gears.py @@ -3,8 +3,8 @@ import sys import math -from python_tqt.qt import * -from python_tqt.qtgl import * +from PyTQt.qt import * +from PyTQt.qtgl import * from OpenGL.GL import * def gear(inner_radius,outer_radius,width,teeth,tooth_depth): diff --git a/examples/i18n/i18n.py b/examples/i18n/i18n.py index b4dc42a..03d7c0c 100755 --- a/examples/i18n/i18n.py +++ b/examples/i18n/i18n.py @@ -5,7 +5,7 @@ from whrandom import randint import sys -from python_tqt.qt import * +from PyTQt.qt import * from mywidget import MyWidget diff --git a/examples/i18n/mywidget.py b/examples/i18n/mywidget.py index 8013c1c..760f4f8 100644 --- a/examples/i18n/mywidget.py +++ b/examples/i18n/mywidget.py @@ -1,6 +1,6 @@ # Copyright (c) 2002 Detlev Offenbach <detlev@die-offenbachs.de> -from python_tqt.qt import * +from PyTQt.qt import * class MyWidget(TQMainWindow): diff --git a/examples/lineedits.py b/examples/lineedits.py index 0093f40..b3248fe 100755 --- a/examples/lineedits.py +++ b/examples/lineedits.py @@ -11,7 +11,7 @@ #*****************************************************************************/ import sys -from python_tqt.qt import * +from PyTQt.qt import * TRUE = 1 FALSE = 0 diff --git a/examples/listbox.py b/examples/listbox.py index fce0cc8..af142eb 100755 --- a/examples/listbox.py +++ b/examples/listbox.py @@ -11,7 +11,7 @@ ***************************************************************************""" import sys -from python_tqt.qt import * +from PyTQt.qt import * FALSE = 0 TRUE = 1 diff --git a/examples/listboxcombo.py b/examples/listboxcombo.py index baca5d2..c997dab 100755 --- a/examples/listboxcombo.py +++ b/examples/listboxcombo.py @@ -11,7 +11,7 @@ ***************************************************************************""" import sys -from python_tqt.qt import * +from PyTQt.qt import * FALSE = 0 TRUE = 1 diff --git a/examples/mdi.py b/examples/mdi.py index ca3d33b..daf750b 100755 --- a/examples/mdi.py +++ b/examples/mdi.py @@ -4,7 +4,7 @@ import sys, string -from python_tqt.qt import * +from PyTQt.qt import * fileopen = [ diff --git a/examples/menu.py b/examples/menu.py index 31fadd9..ab9146e 100755 --- a/examples/menu.py +++ b/examples/menu.py @@ -11,7 +11,7 @@ #*****************************************************************************/ import sys, string -from python_tqt.qt import * +from PyTQt.qt import * TRUE = 1 FALSE = 0 diff --git a/examples/progress.py b/examples/progress.py index 3ebdd12..e38e737 100755 --- a/examples/progress.py +++ b/examples/progress.py @@ -13,7 +13,7 @@ #*****************************************************************************/ import sys -from python_tqt.qt import * +from PyTQt.qt import * from random import randint class AnimatedThingy(TQLabel): diff --git a/examples/progressbar.py b/examples/progressbar.py index e33362e..dbb6e4e 100755 --- a/examples/progressbar.py +++ b/examples/progressbar.py @@ -12,7 +12,7 @@ #import pdb import sys -from python_tqt.qt import * +from PyTQt.qt import * FALSE = 0 TRUE = 1 diff --git a/examples/qdir.py b/examples/qdir.py index 358c796..c08e9bc 100755 --- a/examples/qdir.py +++ b/examples/qdir.py @@ -5,7 +5,7 @@ from __future__ import print_function import os import pickle -from python_tqt.qt import * +from PyTQt.qt import * from dirview import Directory, DirectoryView bookmarks = [ diff --git a/examples/qmag.py b/examples/qmag.py index 186a473..bad7ecf 100755 --- a/examples/qmag.py +++ b/examples/qmag.py @@ -11,7 +11,7 @@ #*****************************************************************************/ import sys -from python_tqt.qt import * +from PyTQt.qt import * TRUE = 1 FALSE = 0 diff --git a/examples/rangecontrols.py b/examples/rangecontrols.py index 14588c8..f59d7fc 100755 --- a/examples/rangecontrols.py +++ b/examples/rangecontrols.py @@ -11,7 +11,7 @@ ***************************************************************************""" import sys -from python_tqt.qt import * +from PyTQt.qt import * INT_MAX = sys.maxsize diff --git a/examples/richtext.py b/examples/richtext.py index 2e6abac..3ae6e81 100755 --- a/examples/richtext.py +++ b/examples/richtext.py @@ -11,7 +11,7 @@ ***************************************************************************""" import sys -from python_tqt.qt import * +from PyTQt.qt import * sayings = [ "<b>Saying 1:</b><br>" diff --git a/examples/secret.py b/examples/secret.py index 34560ed..f2f5a64 100644 --- a/examples/secret.py +++ b/examples/secret.py @@ -1,7 +1,7 @@ # This is part of the dragdrop example. -from python_tqt.qt import * +from PyTQt.qt import * def canDecode(e): diff --git a/examples/semaphore.py b/examples/semaphore.py index 79affb2..ecf1209 100755 --- a/examples/semaphore.py +++ b/examples/semaphore.py @@ -7,12 +7,12 @@ import sys # Check if thread support was enabled. try: - from python_tqt.qt import TQThread + from PyTQt.qt import TQThread except: print("Thread support not enabled") sys.exit(1) -from python_tqt.qt import * +from PyTQt.qt import * # The semaphore instances. diff --git a/examples/smalltable.py b/examples/smalltable.py index 52f212a..ccee6c8 100755 --- a/examples/smalltable.py +++ b/examples/smalltable.py @@ -12,8 +12,8 @@ import sys import os -from python_tqt.qt import * -from python_tqt.qttable import * +from PyTQt.qt import * +from PyTQt.qttable import * TRUE = 1 FALSE = 0 diff --git a/examples/splitter.py b/examples/splitter.py index a220d08..534e50e 100755 --- a/examples/splitter.py +++ b/examples/splitter.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import sys -from python_tqt.qt import * +from PyTQt.qt import * class Test(TQWidget): def __init__(self, parent=None, name='Test', f=0): diff --git a/examples/tabdialog.py b/examples/tabdialog.py index 00e66f6..2fcc050 100755 --- a/examples/tabdialog.py +++ b/examples/tabdialog.py @@ -11,7 +11,7 @@ ***************************************************************************""" import sys -from python_tqt.qt import * +from PyTQt.qt import * class TabDialog( TQTabDialog ): def __init__( self, parent=None, name=None, filename=None ): diff --git a/examples/tablestatistics.py b/examples/tablestatistics.py index d6b6b2e..1288ff0 100755 --- a/examples/tablestatistics.py +++ b/examples/tablestatistics.py @@ -12,8 +12,8 @@ import sys import os -from python_tqt.qt import * -from python_tqt.qttable import * +from PyTQt.qt import * +from PyTQt.qttable import * TRUE = 1 FALSE = 0 diff --git a/examples/tooltip.py b/examples/tooltip.py index 13025e3..b55e0d6 100755 --- a/examples/tooltip.py +++ b/examples/tooltip.py @@ -11,7 +11,7 @@ ***************************************************************************""" import sys -from python_tqt.qt import * +from PyTQt.qt import * from random import random class DynamicTip( TQToolTip ): diff --git a/examples/tut1.py b/examples/tut1.py index 3e30fcc..c38a1ff 100755 --- a/examples/tut1.py +++ b/examples/tut1.py @@ -3,7 +3,7 @@ # TQt tutorial 1. import sys -from python_tqt import qt +from PyTQt import qt a = qt.TQApplication(sys.argv) diff --git a/examples/tut10.py b/examples/tut10.py index b16804e..6b21e47 100755 --- a/examples/tut10.py +++ b/examples/tut10.py @@ -3,7 +3,7 @@ # TQt tutorial 10. import sys -from python_tqt import qt +from PyTQt import qt class LCDRange(qt.TQVBox): diff --git a/examples/tut11.py b/examples/tut11.py index cb6444b..f5a9930 100755 --- a/examples/tut11.py +++ b/examples/tut11.py @@ -4,7 +4,7 @@ import sys import math -from python_tqt import qt +from PyTQt import qt class LCDRange(qt.TQVBox): diff --git a/examples/tut12.py b/examples/tut12.py index 452d1ac..d0370f8 100755 --- a/examples/tut12.py +++ b/examples/tut12.py @@ -5,7 +5,7 @@ import sys import math import random -from python_tqt import qt +from PyTQt import qt class LCDRange(qt.TQVBox): diff --git a/examples/tut13.py b/examples/tut13.py index c43d67b..b8b2d82 100755 --- a/examples/tut13.py +++ b/examples/tut13.py @@ -5,7 +5,7 @@ import sys import math import random -from python_tqt import qt +from PyTQt import qt class LCDRange(qt.TQWidget): diff --git a/examples/tut14.py b/examples/tut14.py index 8f7404c..41d2631 100755 --- a/examples/tut14.py +++ b/examples/tut14.py @@ -5,7 +5,7 @@ import sys import math import random -from python_tqt import qt +from PyTQt import qt class LCDRange(qt.TQWidget): diff --git a/examples/tut2.py b/examples/tut2.py index 80fe48f..e74101e 100755 --- a/examples/tut2.py +++ b/examples/tut2.py @@ -3,7 +3,7 @@ # TQt tutorial 2. import sys -from python_tqt import qt +from PyTQt import qt a = qt.TQApplication(sys.argv) diff --git a/examples/tut3.py b/examples/tut3.py index 277c352..85c3dc6 100755 --- a/examples/tut3.py +++ b/examples/tut3.py @@ -3,7 +3,7 @@ # TQt tutorial 3. import sys -from python_tqt import qt +from PyTQt import qt a = qt.TQApplication(sys.argv) diff --git a/examples/tut4.py b/examples/tut4.py index 41417f5..04e0a61 100755 --- a/examples/tut4.py +++ b/examples/tut4.py @@ -3,7 +3,7 @@ # TQt tutorial 4. import sys -from python_tqt import qt +from PyTQt import qt class MyWidget(qt.TQWidget): diff --git a/examples/tut5.py b/examples/tut5.py index 19cb6f7..a56c216 100755 --- a/examples/tut5.py +++ b/examples/tut5.py @@ -3,7 +3,7 @@ # TQt tutorial 5. import sys -from python_tqt import qt +from PyTQt import qt class MyWidget(qt.TQVBox): diff --git a/examples/tut6.py b/examples/tut6.py index d10eaa5..ab98c09 100755 --- a/examples/tut6.py +++ b/examples/tut6.py @@ -3,7 +3,7 @@ # TQt tutorial 6. import sys -from python_tqt import qt +from PyTQt import qt class LCDRange(qt.TQVBox): diff --git a/examples/tut7.py b/examples/tut7.py index 3c9deea..1df3f4e 100755 --- a/examples/tut7.py +++ b/examples/tut7.py @@ -3,7 +3,7 @@ # TQt tutorial 7. import sys -from python_tqt import qt +from PyTQt import qt class LCDRange(qt.TQVBox): diff --git a/examples/tut8.py b/examples/tut8.py index 2e81a94..24f91c2 100755 --- a/examples/tut8.py +++ b/examples/tut8.py @@ -3,7 +3,7 @@ # TQt tutorial 8. import sys -from python_tqt import qt +from PyTQt import qt class LCDRange(qt.TQVBox): diff --git a/examples/tut9.py b/examples/tut9.py index 3eafed7..e45b0e4 100755 --- a/examples/tut9.py +++ b/examples/tut9.py @@ -3,7 +3,7 @@ # TQt tutorial 9. import sys -from python_tqt import qt +from PyTQt import qt class LCDRange(qt.TQVBox): diff --git a/examples/webbrowser/mainwindow.py b/examples/webbrowser/mainwindow.py index 14929de..24ca188 100644 --- a/examples/webbrowser/mainwindow.py +++ b/examples/webbrowser/mainwindow.py @@ -8,8 +8,8 @@ # WARNING! All changes made in this file will be lost! -from python_tqt.qt import * -from python_tqt.qtaxcontainer import TQAxWidget +from PyTQt.qt import * +from PyTQt.qtaxcontainer import TQAxWidget image0_data = [ "32 32 3 1", diff --git a/examples/webbrowser/webbrowser.py b/examples/webbrowser/webbrowser.py index 12f6f1c..44d3488 100644 --- a/examples/webbrowser/webbrowser.py +++ b/examples/webbrowser/webbrowser.py @@ -7,8 +7,8 @@ import sys -from python_tqt import qt -from python_tqt import qtaxcontainer +from PyTQt import qt +from PyTQt import qtaxcontainer import mainwindow diff --git a/examples/widgets.py b/examples/widgets.py index fe36049..d9f554d 100755 --- a/examples/widgets.py +++ b/examples/widgets.py @@ -2,7 +2,7 @@ import sys, string -from python_tqt.qt import * +from PyTQt.qt import * # ## Constructs an analog clock widget that uses an internal TQTimer. diff --git a/module-init.py b/module-init.py index 00bb4e8..404ec4b 100644 --- a/module-init.py +++ b/module-init.py @@ -6,8 +6,8 @@ for m_path in sys.path: if os.path.exists(os.path.join(m_path, 'sip4_tqt')): m_sip_dir = os.path.join(m_path, 'sip4_tqt') tqt_modules.insert(0, m_sip_dir) - if os.path.exists(os.path.join(m_path, 'python_tqt')): - m_pyqt_dir = os.path.join(m_path, 'python_tqt') + if os.path.exists(os.path.join(m_path, 'PyTQt')): + m_pyqt_dir = os.path.join(m_path, 'PyTQt') tqt_modules.insert(0, m_pyqt_dir) for m_path in tqt_modules: sys.path.insert(0, m_path) @@ -49,4 +49,4 @@ if is_module_available('qtgl'): __all__.append('qtgl') # Import namespaces -from python_tqt import * +from PyTQt import * diff --git a/pyuic3/embed.cpp b/pyuic3/embed.cpp index c3cbc43..3a66de3 100644 --- a/pyuic3/embed.cpp +++ b/pyuic3/embed.cpp @@ -134,7 +134,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima out << "\n"; out << "\n"; - out << "from python_tqt.qt import TQImage, TQMimeSourceFactory"; + out << "from PyTQt.qt import TQImage, TQMimeSourceFactory"; #ifndef TQT_NO_IMAGE_COLLECTION_COMPRESSION out << ", tqUncompress"; #endif diff --git a/pyuic3/form.cpp b/pyuic3/form.cpp index d0e6d7f..752c281 100644 --- a/pyuic3/form.cpp +++ b/pyuic3/form.cpp @@ -258,13 +258,13 @@ void Uic::createFormImpl( const TQDomElement &e ) } if (globalIncludes.findIndex("qtable.h") >= 0) - out << indent << "from python_tqt.qttable import TQTable" << endl; + out << indent << "from PyTQt.qttable import TQTable" << endl; if (!axwidgets.empty()) - out << indent << "from python_tqt.qtaxcontainer import TQAxWidget" << endl; + out << indent << "from PyTQt.qtaxcontainer import TQAxWidget" << endl; if (globalIncludes.findIndex("tqextscintilla.h") >= 0) - out << indent << "from python_tqt.qtext import TQextScintilla" << endl; + out << indent << "from PyTQt.qtext import TQextScintilla" << endl; registerDatabases( e ); dbConnections = unique( dbConnections ); @@ -302,7 +302,7 @@ void Uic::createFormImpl( const TQDomElement &e ) sqlClasses += "TQDataView"; if ( !sqlClasses.empty() ) { - out << indent << "from python_tqt.qtsql import"; + out << indent << "from PyTQt.qtsql import"; const char *sep = " "; for ( it = sqlClasses.begin(); it != sqlClasses.end(); ++it ) { diff --git a/pyuic3/main.cpp b/pyuic3/main.cpp index a442654..43c9d7b 100644 --- a/pyuic3/main.cpp +++ b/pyuic3/main.cpp @@ -219,7 +219,7 @@ int main( int argc, char * argv[] ) if (testCode || execCode) out << "import sys" << endl; - out << "from python_tqt.qt import *" << endl; + out << "from PyTQt.qt import *" << endl; Uic( fileName, outputFile, out, doc, subcl, trmacro, className, uicClass ); diff --git a/sip/qtxml/qtxmlmod.sip b/sip/qtxml/qtxmlmod.sip index 11c38c4..e7e4fea 100644 --- a/sip/qtxml/qtxmlmod.sip +++ b/sip/qtxml/qtxmlmod.sip @@ -36,7 +36,7 @@ // qt module which sorts it out, but this module doesn't so we add a dummy. It // is ignored by SIP v4.x and later. %PrePythonCode -from python_tqt.qt import TQObject +from PyTQt.qt import TQObject %End |