diff options
Diffstat (limited to 'templates/basic/menuapp1.py')
| -rw-r--r-- | templates/basic/menuapp1.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/basic/menuapp1.py b/templates/basic/menuapp1.py index 4b33bda..7809cef 100644 --- a/templates/basic/menuapp1.py +++ b/templates/basic/menuapp1.py @@ -44,7 +44,7 @@ import sys from qt import TQPopupMenu, SIGNAL -from tdecore import TDEApplication, KCmdLineArgs, KAboutData, i18n, KStdAccel, KIcon, KIconLoader +from tdecore import TDEApplication, TDECmdLineArgs, KAboutData, i18n, KStdAccel, KIcon, KIconLoader from tdeui import KMainWindow, KMessageBox TOOLBAR_NEW = 1 @@ -184,9 +184,9 @@ aboutData = KAboutData ("", "",\ 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") |
