diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-21 18:37:56 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-21 18:37:56 -0600 |
| commit | 3d1fa8562bf693237a1a76918b4487cca3e2e356 (patch) | |
| tree | b7433e34f990eaeae6905eafdd1e801111084bc0 /examples/pyKHTMLPart.py | |
| parent | 75a3ef0afbe95220d12b8ab4e63cfd3751abd353 (diff) | |
| download | pytde-3d1fa8562bf693237a1a76918b4487cca3e2e356.tar.gz pytde-3d1fa8562bf693237a1a76918b4487cca3e2e356.zip | |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'examples/pyKHTMLPart.py')
| -rw-r--r-- | examples/pyKHTMLPart.py | 8 |
1 files changed, 4 insertions, 4 deletions
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() |
