From 2df6bde18ab40472f2df8637cf6456cb80dc2329 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:09:42 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- examples/pyTDEHTMLPart.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/pyTDEHTMLPart.py') diff --git a/examples/pyTDEHTMLPart.py b/examples/pyTDEHTMLPart.py index 4f31e2b..6dd3397 100644 --- a/examples/pyTDEHTMLPart.py +++ b/examples/pyTDEHTMLPart.py @@ -24,7 +24,7 @@ additional code to make this do something useful. The seem to provide much help. Also, to follow links, you probably need to connect some signals to slots. I haven't tried it, but this should work with a plain -KMainWindow or other widget too. +TDEMainWindow or other widget too. The KDE website also incorporates gifs, jpegs, and I believe CSS too. Playing around with some other @@ -45,7 +45,7 @@ lifted from the KDE classref. from tdecore import TDECmdLineArgs, KURL, TDEApplication, i18n, TDEAboutData, BarIcon, KLibLoader -from tdeui import KMainWindow, KMessageBox, KAction, KStdAction, KKeyDialog, KEditToolbar +from tdeui import TDEMainWindow, KMessageBox, TDEAction, KStdAction, KKeyDialog, KEditToolbar from qt import TQString, TQStringList @@ -64,8 +64,8 @@ TRUE = not FALSE TOOLBAR_EXIT = 0 TOOLBAR_OPEN = 1 -# Note that we use KParts.MainWindow, not KMainWindow as the superclass -# (KParts.MainWindow subclasses KMainWindow). Also, be sure the 'apply' +# Note that we use KParts.MainWindow, not TDEMainWindow as the superclass +# (KParts.MainWindow subclasses TDEMainWindow). Also, be sure the 'apply' # clause references KParts.MainWindow - it's a hard bug to track down # if it doesn't. -- cgit v1.2.3