diff --git a/doc/en/index.docbook b/doc/en/index.docbook index f6da2f0..caa1d3b 100644 --- a/doc/en/index.docbook +++ b/doc/en/index.docbook @@ -261,7 +261,7 @@ during install. - + Run-time integration with Qt-Designer Qt-Designer is a graphical application used for designing user interfaces. @@ -270,7 +270,7 @@ to be converted into Python classes before they can be used in a Python application. This can be manually done using the pyuic command from the shell. But it is a lot more convenient to let &appname; to this automatically for you. All you need to do is import the -qtdesigner or tdedesigner module, depending +tqtdesigner or tdedesigner module, depending on whether your application is pure Qt or uses TDE, and then you can import your user interface files as though they were normal Python files. @@ -285,7 +285,7 @@ from MyWindow import * # Loads MyWindow.ui class MyWindowCode(MyWindow): # Implement extra functionality and methods. -The tdedesigner/qtdesigner module converts +The tdedesigner/tqtdesigner module converts .ui on demand to .py files. @@ -429,7 +429,7 @@ features in .desktop files. &appname; can be used for the creation of tdeio-slaves. &appname; handles the C++ glue code needed for making tdeioslaves in Python. -developer.kde.org +developer.kde.org has some documentation about TDEIO-slaves aimed at C++ programmers. diff --git a/setup.py b/setup.py index 22ab41f..98e8dd1 100755 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ def main(): min_qt_version = "3.0.0", license = "LGPL", package_dir = {'': 'src'}, - py_modules = ["tdedistutils","qtuicompiler","qtdesigner","tdedesigner"], + py_modules = ["tdedistutils","qtuicompiler","tqtdesigner","tdedesigner"], application_data = ["app_templates","AUTHORS","ChangeLog","COPYING","INSTALL","NEWS"], docbooks = [ ('doc/en','en') ], cmdclass = { diff --git a/src/qtdesigner.py b/src/qtdesigner.py index 3a7b55a..aa7d0b7 100644 --- a/src/qtdesigner.py +++ b/src/qtdesigner.py @@ -1,6 +1,6 @@ #!/usr/bin/python ########################################################################### -# qtdesigner - description # +# tqtdesigner - description # # ------------------------------ # # begin : Thu Apr 21 2005 # # copyright : (C) 2005 by Simon Edwards # diff --git a/src/tdedistutils.py b/src/tdedistutils.py index ad42c88..fec7df5 100644 --- a/src/tdedistutils.py +++ b/src/tdedistutils.py @@ -363,7 +363,7 @@ class InstallApplicationDataAndLinks(install_data): prefix = self.install_dir if prefix[-1] != os.sep: prefix = prefix + os.sep - self.outfiles.extend(compile_qtdesigner(self.outfiles, force=1, prefix=prefix, base_dir=install_cmd.prefix, dry_run=self.dry_run)) + self.outfiles.extend(compile_tqtdesigner(self.outfiles, force=1, prefix=prefix, base_dir=install_cmd.prefix, dry_run=self.dry_run)) # Byte compile the .py files from distutils.util import byte_compile @@ -2229,7 +2229,7 @@ def get_qt_kde_versions(): return qtver,kdever ########################################################################### -def compile_qtdesigner(ui_files, +def compile_tqtdesigner(ui_files, force=0, prefix=None, base_dir=None, verbose=1, dry_run=0):