From 387a27b62f25387e42a850739ced151d64a2e760 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 22 Jan 2013 20:03:49 -0600 Subject: Rename KInstance and KAboutData to avoid conflicts with KDE4 --- examples/pyKHTMLPart.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/pyKHTMLPart.py') diff --git a/examples/pyKHTMLPart.py b/examples/pyKHTMLPart.py index bcccdc7..e483d6f 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 TDECmdLineArgs, KURL, TDEApplication, i18n, KAboutData, BarIcon, KLibLoader +from tdecore import TDECmdLineArgs, KURL, TDEApplication, i18n, TDEAboutData, BarIcon, KLibLoader from tdeui import KMainWindow, KMessageBox, KAction, KStdAction, KKeyDialog, KEditToolbar @@ -186,8 +186,8 @@ description = "KHTMLPart - simple example" version = "0.1" # stuff for the "About" menu -aboutData = KAboutData ("pyKHTMLPart", "pyHTMLPart",\ - version, description, KAboutData.License_GPL,\ +aboutData = TDEAboutData ("pyKHTMLPart", "pyHTMLPart",\ + version, description, TDEAboutData.License_GPL,\ "(c) 2002, Jim Bublitz") aboutData.addAuthor ("Jim Bublitz", "Example for PyKDE", "jbublitz@nwinternet.com") -- cgit v1.2.1