summaryrefslogtreecommitdiffstats
path: root/templates/basic/menuapp3.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-21 18:37:56 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-21 18:37:56 -0600
commit3d1fa8562bf693237a1a76918b4487cca3e2e356 (patch)
treeb7433e34f990eaeae6905eafdd1e801111084bc0 /templates/basic/menuapp3.py
parent75a3ef0afbe95220d12b8ab4e63cfd3751abd353 (diff)
downloadpytde-3d1fa8562bf693237a1a76918b4487cca3e2e356.tar.gz
pytde-3d1fa8562bf693237a1a76918b4487cca3e2e356.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'templates/basic/menuapp3.py')
-rw-r--r--templates/basic/menuapp3.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/basic/menuapp3.py b/templates/basic/menuapp3.py
index e3328bc..9051661 100644
--- a/templates/basic/menuapp3.py
+++ b/templates/basic/menuapp3.py
@@ -43,7 +43,7 @@ import sys
from qt import TQPopupMenu, SIGNAL
-from tdecore import TDEApplication, KCmdLineArgs, KAboutData, i18n, KShortcut
+from tdecore import TDEApplication, TDECmdLineArgs, KAboutData, i18n, KShortcut
from tdeui import KMainWindow, KMessageBox, KStdAction, KAction, KActionCollection
STATUSBAR_LEFT = 1
@@ -151,9 +151,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")