summaryrefslogtreecommitdiffstats
path: root/examples3/webbrowser/mainwindow.py
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-04-19 13:21:52 +0000
committerSlávek Banko <slavek.banko@axis.cz>2022-07-27 18:08:53 +0200
commit6be046642290c28c17949022fb66ae02ac21d544 (patch)
treee7b38b35a42b27569b26736afc4e472a2a5d672d /examples3/webbrowser/mainwindow.py
parent63fe0b82b47e7ee31f91374d96022a3ae77a86c3 (diff)
downloadpytqt-6be046642290c28c17949022fb66ae02ac21d544.tar.gz
pytqt-6be046642290c28c17949022fb66ae02ac21d544.zip
Updates to support Python version 3
Amendments to the sip source and configuration/build scripts to allow for support under Python version 3. The examples have been updated using "2to3" along with some manual changes to sort out intentation and casting to integer from float. Signed-off-by: aneejit1 <aneejit1@gmail.com> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'examples3/webbrowser/mainwindow.py')
-rw-r--r--examples3/webbrowser/mainwindow.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/examples3/webbrowser/mainwindow.py b/examples3/webbrowser/mainwindow.py
index 31b11f1..14929de 100644
--- a/examples3/webbrowser/mainwindow.py
+++ b/examples3/webbrowser/mainwindow.py
@@ -1064,34 +1064,34 @@ class MainWindow(TQMainWindow):
def go(self):
- print "MainWindow.go(): Not implemented yet"
+ print("MainWindow.go(): Not implemented yet")
def newWindow(self):
- print "MainWindow.newWindow(): Not implemented yet"
+ print("MainWindow.newWindow(): Not implemented yet")
def setProgress(self,a0,a1):
- print "MainWindow.setProgress(int,int): Not implemented yet"
+ print("MainWindow.setProgress(int,int): Not implemented yet")
def init(self):
pass
def setTitle(self,a0):
- print "MainWindow.setTitle(const TQString&): Not implemented yet"
+ print("MainWindow.setTitle(const TQString&): Not implemented yet")
def setCommandState(self,a0,a1):
- print "MainWindow.setCommandState(int,bool): Not implemented yet"
+ print("MainWindow.setCommandState(int,bool): Not implemented yet")
def navigateComplete(self):
- print "MainWindow.navigateComplete(): Not implemented yet"
+ print("MainWindow.navigateComplete(): Not implemented yet")
def navigateBegin(self):
- print "MainWindow.navigateBegin(): Not implemented yet"
+ print("MainWindow.navigateBegin(): Not implemented yet")
def aboutSlot(self):
- print "MainWindow.aboutSlot(): Not implemented yet"
+ print("MainWindow.aboutSlot(): Not implemented yet")
def aboutTQtSlot(self):
- print "MainWindow.aboutTQtSlot(): Not implemented yet"
+ print("MainWindow.aboutTQtSlot(): Not implemented yet")
def __tr(self,s,c = None):
return tqApp.translate("MainWindow",s,c)