From 3d1fa8562bf693237a1a76918b4487cca3e2e356 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 21 Jan 2013 18:37:56 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- examples/xmlmenudemo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/xmlmenudemo.py') diff --git a/examples/xmlmenudemo.py b/examples/xmlmenudemo.py index f05d312..bc9a9a2 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 TDEApplication, KCmdLineArgs, KAboutData, i18n, KIcon, KIconLoader, KShortcut, KGlobal +from tdecore import TDEApplication, TDECmdLineArgs, KAboutData, i18n, KIcon, KIconLoader, KShortcut, KGlobal from tdeui import KMainWindow, KMessageBox, KStdAction, KAction, KToggleAction, KFontSizeAction, KFontAction, KRadioAction,\ KActionSeparator, KActionMenu, KWindowListMenu, KXMLGUIClient, KActionCollection @@ -281,9 +281,9 @@ aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") aboutData.addAuthor ("author2", "they did something else", "another@email.address") mainpath = os.path.dirname (os.path.abspath (sys.argv[0])) -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") -- cgit v1.2.1