summaryrefslogtreecommitdiffstats
path: root/contrib/kdepyuic
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kdepyuic')
-rwxr-xr-xcontrib/kdepyuic6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/kdepyuic b/contrib/kdepyuic
index 873b032..bdda64a 100755
--- a/contrib/kdepyuic
+++ b/contrib/kdepyuic
@@ -62,7 +62,7 @@ def getOptions ():
kdepyuic [options] filename.ui
Options:
- -a, --noapp Don't add KApplication code
+ -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
@@ -95,7 +95,7 @@ def checkOptions (optlist):
def addimport (n):
if addApp:
- n.write ('from tdecore import KCmdLineArgs, KApplication\n')
+ n.write ('from tdecore import KCmdLineArgs, TDEApplication\n')
if i18nFunc:
n.write ('from tdecore import i18n\n')
n.write ('from tdeui import *\n\n')
@@ -107,7 +107,7 @@ def addapp (indent, n):
n.write (indent + 'version = ""\n')
n.write ('\n')
n.write (indent + 'KCmdLineArgs.init (sys.argv, appname, description, version)\n')
- n.write (indent + 'a = KApplication ()\n\n')
+ n.write (indent + 'a = TDEApplication ()\n\n')
def doPyuic ():