summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-01-18 16:14:35 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-18 16:14:45 +0100
commita2e9913e83dab85ab8ae19fb790f035437b8cdc2 (patch)
tree68a5b6fea0cb35541e20321e604cb957b6e036b9 /contrib
parent9d39e8110a37f9628468a57ffc11e9226399df28 (diff)
downloadpytde-a2e9913e83dab85ab8ae19fb790f035437b8cdc2.tar.gz
pytde-a2e9913e83dab85ab8ae19fb790f035437b8cdc2.zip
Rename kdepyuic => tdepyuic
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/tdepyuic (renamed from contrib/kdepyuic)8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/kdepyuic b/contrib/tdepyuic
index 0b3d006..7299e13 100755
--- a/contrib/kdepyuic
+++ b/contrib/tdepyuic
@@ -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