Rename kdepyuic => tdepyuic

pull/1/head
Slávek Banko 11 years ago
parent 9d39e8110a
commit a2e9913e83

@ -786,7 +786,7 @@ def create_makefiles():
sipconfig.ParentMakefile(
configuration = pyqtcfg,
subdirs = subdirs,
installs= [("pytdeconfig.py", opt_pytdemoddir), (srcPath("contrib/kdepyuic"), opt_tdebasedir + "/bin")]
installs= [("pytdeconfig.py", opt_pytdemoddir), (srcPath("contrib/tdepyuic"), opt_tdebasedir + "/bin")]
).generate()

@ -47,7 +47,7 @@ def getOptions ():
opterr = 0
shortOptions = 'aip:'
longOptions = ['noapp', 'noimport', 'pyuic=', 'usekdei18n']
longOptions = ['noapp', 'noimport', 'pyuic=', 'usetdei18n']
try:
optlist, args = getopt.getopt (sys.argv [1:], shortOptions, longOptions)
@ -59,13 +59,13 @@ def getOptions ():
if opterr or (len (args) != 1):
print """\nUsage:
kdepyuic [options] filename.ui
tdepyuic [options] filename.ui
Options:
-a, --noapp Don't add TDEApplication code
-i, --noimport Don't add tdecore, tdeui import statements
-p, --pyuic Path to pyuic program
--usekdei18n Adds KDEs default i18n functions to your Python KDE ui file
--usetdei18n Adds TDEs default i18n functions to your Python TDE ui file
"""
return FALSE
@ -85,7 +85,7 @@ def checkOptions (optlist):
elif (pair [0] == '--pyuic') or (pair [0] == '-p'):
pyuicPath = pair [1]
if (pair [0] == '--usekdei18n'):
if (pair [0] == '--usetdei18n'):
i18nFunc=TRUE
else:
i18nFunc=FALSE
Loading…
Cancel
Save