summaryrefslogtreecommitdiffstats
path: root/examples/xmlmenudemo.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xmlmenudemo.py')
-rw-r--r--examples/xmlmenudemo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/xmlmenudemo.py b/examples/xmlmenudemo.py
index ad12f7e..f05d312 100644
--- a/examples/xmlmenudemo.py
+++ b/examples/xmlmenudemo.py
@@ -43,7 +43,7 @@ import sys, os
from qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet
-from tdecore import KApplication, KCmdLineArgs, KAboutData, i18n, KIcon, KIconLoader, KShortcut, KGlobal
+from tdecore import TDEApplication, KCmdLineArgs, KAboutData, i18n, KIcon, KIconLoader, KShortcut, KGlobal
from tdeui import KMainWindow, KMessageBox, KStdAction, KAction, KToggleAction, KFontSizeAction, KFontAction, KRadioAction,\
KActionSeparator, KActionMenu, KWindowListMenu, KXMLGUIClient, KActionCollection
@@ -285,7 +285,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()