summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:05:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:05:23 -0600
commit6677c2f8c66333c3951e8830f8760065c7a29074 (patch)
treee45d51b044ce8575210fca1584852fbbe4742316 /contrib
parent1d7616d07ef6f1e6c8131a861ddff208557825e3 (diff)
downloadpytde-6677c2f8c66333c3951e8830f8760065c7a29074.tar.gz
pytde-6677c2f8c66333c3951e8830f8760065c7a29074.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'contrib')
-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 ():