summaryrefslogtreecommitdiffstats
path: root/templates/annotated/basicapp.py
diff options
context:
space:
mode:
Diffstat (limited to 'templates/annotated/basicapp.py')
-rw-r--r--templates/annotated/basicapp.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/annotated/basicapp.py b/templates/annotated/basicapp.py
index 44b6681..b5abe80 100644
--- a/templates/annotated/basicapp.py
+++ b/templates/annotated/basicapp.py
@@ -35,7 +35,7 @@ copyright holder.
import sys
-from tdecore import TDEApplication, KCmdLineArgs, KAboutData
+from tdecore import TDEApplication, TDECmdLineArgs, KAboutData
from tdeui import KMainWindow
"""
@@ -75,7 +75,7 @@ aboutData.addAuthor ("author1", "whatever they did", "email@somedomain")
aboutData.addAuthor ("author2", "they did something else", "another@email.address")
# Pass the command line arguments and aboutData to
-# KCmdLineArgs - this is where KDE will look for
+# TDECmdLineArgs - this is where KDE will look for
# this information. The TDEApplication constructor
# used below *requires* the args are processed
# *before* TDEApplication is instantiated. There
@@ -85,7 +85,7 @@ aboutData.addAuthor ("author2", "they did something else", "another@email.addres
# Note that instead of argc/argv, this constructor
# only takes a single argument - sys.argv - which
# is a Python list
-KCmdLineArgs.init (sys.argv, aboutData)
+TDECmdLineArgs.init (sys.argv, aboutData)
# Set up the command line options (switches) you
# want your app to be able to process (you could
@@ -94,7 +94,7 @@ KCmdLineArgs.init (sys.argv, aboutData)
# Note that the argument for this method is a list
# of tuples
-KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")])
+TDECmdLineArgs.addCmdLineOptions ([("+files", "File to open")])
# instantiate TDEApplication - no other TQObject
# or TQWidget based classes can be instantiated