summaryrefslogtreecommitdiffstats
path: root/templates/basic/menuapp1.py
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 /templates/basic/menuapp1.py
parent1d7616d07ef6f1e6c8131a861ddff208557825e3 (diff)
downloadpytde-6677c2f8c66333c3951e8830f8760065c7a29074.tar.gz
pytde-6677c2f8c66333c3951e8830f8760065c7a29074.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'templates/basic/menuapp1.py')
-rw-r--r--templates/basic/menuapp1.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/basic/menuapp1.py b/templates/basic/menuapp1.py
index 8312c7c..4b33bda 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 KApplication, KCmdLineArgs, KAboutData, i18n, KStdAccel, KIcon, KIconLoader
+from tdecore import TDEApplication, KCmdLineArgs, KAboutData, i18n, KStdAccel, KIcon, KIconLoader
from tdeui import KMainWindow, KMessageBox
TOOLBAR_NEW = 1
@@ -188,7 +188,7 @@ KCmdLineArgs.init (sys.argv, aboutData)
KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")])
-app = KApplication ()
+app = TDEApplication ()
mainWindow = MainWin (None, "main window")
mainWindow.show()
app.exec_loop()