summaryrefslogtreecommitdiffstats
path: root/pyqtconfig.py.in
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /pyqtconfig.py.in
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'pyqtconfig.py.in')
-rw-r--r--pyqtconfig.py.in54
1 files changed, 27 insertions, 27 deletions
diff --git a/pyqtconfig.py.in b/pyqtconfig.py.in
index 8a6558d..1717e84 100644
--- a/pyqtconfig.py.in
+++ b/pyqtconfig.py.in
@@ -1,35 +1,35 @@
# Copyright (c) 2007
# Riverbank Computing Limited <info@riverbankcomputing.co.uk>
#
-# This file is part of PyQt.
+# This file is part of PyTQt.
#
-# This copy of PyQt is free software; you can redistribute it and/or modify it
+# This copy of PyTQt is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2, or (at your option) any later
# version.
#
-# PyQt is supplied in the hope that it will be useful, but WITHOUT ANY
+# PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
-# PyQt; see the file LICENSE. If not, write to the Free Software Foundation,
+# PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# This module is intended to be used by the configuration scripts of extension
-# modules that %Import PyQt modules.
+# modules that %Import PyTQt modules.
import sipconfig
-# These are installation specific values created when PyQt was configured.
+# These are installation specific values created when PyTQt was configured.
# @SIP_CONFIGURATION@
class Configuration(sipconfig.Configuration):
- """The class that represents PyQt configuration values.
+ """The class that represents PyTQt configuration values.
"""
def __init__(self, sub_cfg=None):
"""Initialise an instance of the class.
@@ -47,7 +47,7 @@ class Configuration(sipconfig.Configuration):
sipconfig.Configuration.__init__(self, cfg)
-class QtModuleMakefile(sipconfig.SIPModuleMakefile):
+class TQtModuleMakefile(sipconfig.SIPModuleMakefile):
"""The Makefile class for modules that %Import qt.
"""
def __init__(self, *args, **kw):
@@ -68,7 +68,7 @@ class QtModuleMakefile(sipconfig.SIPModuleMakefile):
sipconfig.SIPModuleMakefile.finalise(self)
-class QtAxContainerModuleMakefile(QtModuleMakefile):
+class TQtAxContainerModuleMakefile(TQtModuleMakefile):
"""The Makefile class for modules that %Import qtaxcontainer.
"""
def finalise(self):
@@ -77,10 +77,10 @@ class QtAxContainerModuleMakefile(QtModuleMakefile):
if self.config.sip_version < 0x040000:
self.extra_libs.append(self.module_as_lib("qtaxcontainer"))
- QtModuleMakefile.finalise(self)
+ TQtModuleMakefile.finalise(self)
-class QtCanvasModuleMakefile(QtModuleMakefile):
+class TQtCanvasModuleMakefile(TQtModuleMakefile):
"""The Makefile class for modules that %Import qtcanvas.
"""
def finalise(self):
@@ -89,10 +89,10 @@ class QtCanvasModuleMakefile(QtModuleMakefile):
if self.config.sip_version < 0x040000:
self.extra_libs.append(self.module_as_lib("qtcanvas"))
- QtModuleMakefile.finalise(self)
+ TQtModuleMakefile.finalise(self)
-class QtExtModuleMakefile(QtModuleMakefile):
+class TQtExtModuleMakefile(TQtModuleMakefile):
"""The Makefile class for modules that %Import qtext.
"""
def finalise(self):
@@ -106,17 +106,17 @@ class QtExtModuleMakefile(QtModuleMakefile):
self.extra_lib_dirs.append(self.config._pyqt_qscintilla_lib_dir)
self.extra_libs.append("qscintilla")
- QtModuleMakefile.finalise(self)
+ TQtModuleMakefile.finalise(self)
-class QtGLModuleMakefile(QtModuleMakefile):
+class TQtGLModuleMakefile(TQtModuleMakefile):
"""The Makefile class for modules that %Import qtgl.
"""
def __init__(self, *args, **kw):
"""Initialise an instance of a module Makefile.
"""
kw["opengl"] = 1
- apply(QtModuleMakefile.__init__, (self, ) + args, kw)
+ apply(TQtModuleMakefile.__init__, (self, ) + args, kw)
def finalise(self):
"""Finalise the macros.
@@ -124,10 +124,10 @@ class QtGLModuleMakefile(QtModuleMakefile):
if self.config.sip_version < 0x040000:
self.extra_libs.append(self.module_as_lib("qtgl"))
- QtModuleMakefile.finalise(self)
+ TQtModuleMakefile.finalise(self)
-class QtNetworkModuleMakefile(QtModuleMakefile):
+class TQtNetworkModuleMakefile(TQtModuleMakefile):
"""The Makefile class for modules that %Import qtnetwork.
"""
def finalise(self):
@@ -136,10 +136,10 @@ class QtNetworkModuleMakefile(QtModuleMakefile):
if self.config.sip_version < 0x040000:
self.extra_libs.append(self.module_as_lib("qtnetwork"))
- QtModuleMakefile.finalise(self)
+ TQtModuleMakefile.finalise(self)
-class QtTableModuleMakefile(QtModuleMakefile):
+class TQtTableModuleMakefile(TQtModuleMakefile):
"""The Makefile class for modules that %Import qttable.
"""
def finalise(self):
@@ -148,10 +148,10 @@ class QtTableModuleMakefile(QtModuleMakefile):
if self.config.sip_version < 0x040000:
self.extra_libs.append(self.module_as_lib("qttable"))
- QtModuleMakefile.finalise(self)
+ TQtModuleMakefile.finalise(self)
-class QtSQLModuleMakefile(QtTableModuleMakefile):
+class TQtSQLModuleMakefile(TQtTableModuleMakefile):
"""The Makefile class for modules that %Import qtsql.
"""
def finalise(self):
@@ -160,10 +160,10 @@ class QtSQLModuleMakefile(QtTableModuleMakefile):
if self.config.sip_version < 0x040000:
self.extra_libs.append(self.module_as_lib("qtsql"))
- QtTableModuleMakefile.finalise(self)
+ TQtTableModuleMakefile.finalise(self)
-class QtUIModuleMakefile(QtModuleMakefile):
+class TQtUIModuleMakefile(TQtModuleMakefile):
"""The Makefile class for modules that %Import qtui.
"""
def finalise(self):
@@ -172,10 +172,10 @@ class QtUIModuleMakefile(QtModuleMakefile):
if self.config.sip_version < 0x040000:
self.extra_libs.append(self.module_as_lib("qtui"))
- QtModuleMakefile.finalise(self)
+ TQtModuleMakefile.finalise(self)
-class QtXMLModuleMakefile(QtModuleMakefile):
+class TQtXMLModuleMakefile(TQtModuleMakefile):
"""The Makefile class for modules that %Import qtxml.
"""
def finalise(self):
@@ -184,4 +184,4 @@ class QtXMLModuleMakefile(QtModuleMakefile):
if self.config.sip_version < 0x040000:
self.extra_libs.append(self.module_as_lib("qtxml"))
- QtModuleMakefile.finalise(self)
+ TQtModuleMakefile.finalise(self)