diff --git a/configure.py b/configure.py index bcf62b0..c11e626 100644 --- a/configure.py +++ b/configure.py @@ -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() diff --git a/contrib/kdepyuic b/contrib/tdepyuic similarity index 95% rename from contrib/kdepyuic rename to 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