summaryrefslogtreecommitdiffstats
path: root/examples/pyTDEHTMLPart.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pyTDEHTMLPart.py')
-rw-r--r--examples/pyTDEHTMLPart.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/pyTDEHTMLPart.py b/examples/pyTDEHTMLPart.py
index 333247d..187cad6 100644
--- a/examples/pyTDEHTMLPart.py
+++ b/examples/pyTDEHTMLPart.py
@@ -43,7 +43,7 @@ lifted from the TDE classref.
# If you import more classes, don't forget to add them here (some of these
# are extras/not used)
-from PyTQt.qt import TQString, TQStringList
+from PyTQt.tqt import TQString, TQStringList
from tdecore import TDECmdLineArgs, KURL, TDEApplication, i18n, TDEAboutData, BarIcon, KLibLoader
from tdeui import TDEMainWindow, KMessageBox, TDEAction, KStdAction, KKeyDialog, KEditToolbar
from tdeio import TDETrader
@@ -135,14 +135,14 @@ class pyPartsMW (KParts.MainWindow):
res = KMessageBox.warningYesNoCancel(self,\
i18n("<qt>Save changes to Document?<br/>(Does not make sense, we know, but it is just a programming example :-)</qt>"))
if res == KMessageBox.Yes:
- #// save document here. If saving fails, return False
- return True
+ #// save document here. If saving fails, return False
+ return True
elif res == KMessageBox.No:
return True
else: #// cancel
- return False
+ return False
def queryExit(self):
#// this slot is invoked in addition when the *last* window is going