summaryrefslogtreecommitdiffstats
path: root/examples/pyKHTMLPart.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pyKHTMLPart.py')
-rw-r--r--examples/pyKHTMLPart.py8
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()