summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-09-28 14:42:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-09-28 14:42:48 +0900
commite1b19df29e2e4e294fcc03ea40ede03f5b8606b7 (patch)
tree0b08da919d295109a5f010611dd6d6a8e063bc1f
parent59fe6a524b507bff0e2e87029cf6e362f5b924f1 (diff)
downloadpytdeextensions-e1b19df2.tar.gz
pytdeextensions-e1b19df2.zip
qt -> tqt conversion:
kdeqt -> kdetqt qtkde -> tqtkde qtdesigner -> tqtdesigner Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--doc/en/index.docbook8
-rwxr-xr-xsetup.py2
-rw-r--r--src/qtdesigner.py2
-rw-r--r--src/tdedistutils.py4
4 files changed, 8 insertions, 8 deletions
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.
</chapter>
<!-- Qt-designer -->
-<chapter id="using-qtdesigner">
+<chapter id="using-tqtdesigner">
<title>Run-time integration with Qt-Designer</title>
<para>
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 <command>pyuic</command>
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
-<symbol>qtdesigner</symbol> or <symbol>tdedesigner</symbol> module, depending
+<symbol>tqtdesigner</symbol> or <symbol>tdedesigner</symbol> 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.
</programlisting>
-The <symbol>tdedesigner</symbol>/<symbol>qtdesigner</symbol> module converts
+The <symbol>tdedesigner</symbol>/<symbol>tqtdesigner</symbol> module converts
<literal role="extension">.ui</literal> on demand to
<literal role="extension">.py</literal> files.
</para>
@@ -429,7 +429,7 @@ features in <literal role="extension">.desktop</literal> files.
<para>
&appname; can be used for the creation of tdeio-slaves. &appname; handles the C++
glue code needed for making tdeioslaves in Python.
-<ulink url="http://developer.kde.org/documentation/library/kdeqt/trinityarch/nettransparency.html">developer.kde.org</ulink>
+<ulink url="http://developer.kde.org/documentation/library/kdetqt/trinityarch/nettransparency.html">developer.kde.org</ulink>
has some documentation about TDEIO-slaves aimed at C++ programmers.
</para>
<para>
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):