summaryrefslogtreecommitdiffstats
path: root/templates/annotated/menuapp3.py
diff options
context:
space:
mode:
Diffstat (limited to 'templates/annotated/menuapp3.py')
-rw-r--r--templates/annotated/menuapp3.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/annotated/menuapp3.py b/templates/annotated/menuapp3.py
index 19140ef..84a90f7 100644
--- a/templates/annotated/menuapp3.py
+++ b/templates/annotated/menuapp3.py
@@ -43,7 +43,7 @@ import sys
from qt import TQPopupMenu, SIGNAL
-from tdecore import TDEApplication, KCmdLineArgs, KAboutData, i18n
+from tdecore import TDEApplication, TDECmdLineArgs, KAboutData, i18n
from tdeui import KMainWindow, KMessageBox, KStdAction, KAction, KActionCollection
STATUSBAR_LEFT = 1
@@ -198,9 +198,9 @@ aboutData = KAboutData ("menuapp3", "",\
aboutData.addAuthor ("author1", "whatever they did", "email@somedomain")
aboutData.addAuthor ("author2", "they did something else", "another@email.address")
-KCmdLineArgs.init (sys.argv, aboutData)
+TDECmdLineArgs.init (sys.argv, aboutData)
-KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")])
+TDECmdLineArgs.addCmdLineOptions ([("+files", "File to open")])
app = TDEApplication ()
mainWindow = MainWin (None, "main window")