diff options
author | Timothy Pearson <[email protected]> | 2013-01-22 20:03:49 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-22 20:03:49 -0600 |
commit | 387a27b62f25387e42a850739ced151d64a2e760 (patch) | |
tree | bbba39b506feb102175f10aa296b201a5a4557f5 /examples/pyKHTMLPart.py | |
parent | 3d1fa8562bf693237a1a76918b4487cca3e2e356 (diff) | |
download | pytde-387a27b62f25387e42a850739ced151d64a2e760.tar.gz pytde-387a27b62f25387e42a850739ced151d64a2e760.zip |
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'examples/pyKHTMLPart.py')
-rw-r--r-- | examples/pyKHTMLPart.py | 6 |
1 files changed, 3 insertions, 3 deletions
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", "[email protected]") |