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/pyKHTMLPart.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/pyKHTMLPart.py') diff --git a/examples/pyKHTMLPart.py b/examples/pyKHTMLPart.py index 6d92c1c..bcccdc7 100644 --- a/examples/pyKHTMLPart.py +++ b/examples/pyKHTMLPart.py @@ -43,7 +43,7 @@ lifted from the KDE classref. # If you import more classes, don't forget to add them here (some of these # are extras/not used) -from tdecore import KCmdLineArgs, KURL, TDEApplication, i18n, KAboutData, BarIcon, KLibLoader +from tdecore import TDECmdLineArgs, KURL, TDEApplication, i18n, KAboutData, BarIcon, KLibLoader from tdeui import KMainWindow, KMessageBox, KAction, KStdAction, KKeyDialog, KEditToolbar @@ -193,7 +193,7 @@ aboutData = KAboutData ("pyKHTMLPart", "pyHTMLPart",\ aboutData.addAuthor ("Jim Bublitz", "Example for PyKDE", "jbublitz@nwinternet.com") # This MUST go here (before TDEApplication () is called) -KCmdLineArgs.init (sys.argv, aboutData) +TDECmdLineArgs.init (sys.argv, aboutData) app = TDEApplication () @@ -205,10 +205,10 @@ else: parts = pyPartsMW (None, "pyParts") if len(sys.argv) > 1: # read kcmdlineargs.h for the full unabridged instructions - # on using KCmdLineArgs, it's pretty confusing at first, but it works + # on using TDECmdLineArgs, it's pretty confusing at first, but it works # This is pretty useless in this program - you might want to # expand this in your app (to load a file, etc) - args = KCmdLineArgs.parsedArgs() + args = TDECmdLineArgs.parsedArgs() parts.show() app.exec_loop() -- cgit v1.2.3