diff options
Diffstat (limited to 'examples/webbrowser/mainwindow.py')
-rw-r--r-- | examples/webbrowser/mainwindow.py | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/examples/webbrowser/mainwindow.py b/examples/webbrowser/mainwindow.py index 2d4e740..4078aca 100644 --- a/examples/webbrowser/mainwindow.py +++ b/examples/webbrowser/mainwindow.py @@ -1002,24 +1002,24 @@ class MainWindow(TQMainWindow): self.resize(TQSize(812,605).expandedTo(self.minimumSizeHint())) self.clearWState(TQt.WState_Polished) - self.connect(self.actionHome,SIGNAL("activated()"),self.WebBrowser,SLOT("GoHome()")) - self.connect(self.actionRefresh,SIGNAL("activated()"),self.WebBrowser,SLOT("Refresh()")) - self.connect(self.actionStop,SIGNAL("activated()"),self.WebBrowser,SLOT("Stop()")) - self.connect(self.actionForward,SIGNAL("activated()"),self.WebBrowser,SLOT("GoForward()")) - self.connect(self.actionBack,SIGNAL("activated()"),self.WebBrowser,SLOT("GoBack()")) - self.connect(self.actionGo,SIGNAL("activated()"),self.go) - self.connect(self.actionFileClose,SIGNAL("activated()"),self.close) - self.connect(self.actionSearch,SIGNAL("activated()"),self.WebBrowser,SLOT("GoSearch()")) - self.connect(self.addressEdit,SIGNAL("returnPressed()"),self.go) - self.connect(self.WebBrowser,SIGNAL("NavigateComplete(const TQString&)"),self.addressEdit.setText) - self.connect(self.WebBrowser,SIGNAL("TitleChange(const TQString&)"),self.setTitle) - self.connect(self.WebBrowser,SIGNAL("NavigateComplete(const TQString&)"),self.navigateComplete) - self.connect(self.WebBrowser,SIGNAL("CommandStateChange(int,bool)"),self.setCommandState) - self.connect(self.WebBrowser,SIGNAL("BeforeNavigate(const TQString&,int,const TQString&,const TQVariant&,const TQString&,bool&)"),self.navigateBegin) - self.connect(self.actionStop,SIGNAL("activated()"),self.navigateComplete) - self.connect(self.actionNewWindow,SIGNAL("activated()"),self.newWindow) - self.connect(self.actionAbout,SIGNAL("activated()"),self.aboutSlot) - self.connect(self.actionAboutTQt,SIGNAL("activated()"),self.aboutTQtSlot) + self.connect(self.actionHome,TQ_SIGNAL("activated()"),self.WebBrowser,TQ_SLOT("GoHome()")) + self.connect(self.actionRefresh,TQ_SIGNAL("activated()"),self.WebBrowser,TQ_SLOT("Refresh()")) + self.connect(self.actionStop,TQ_SIGNAL("activated()"),self.WebBrowser,TQ_SLOT("Stop()")) + self.connect(self.actionForward,TQ_SIGNAL("activated()"),self.WebBrowser,TQ_SLOT("GoForward()")) + self.connect(self.actionBack,TQ_SIGNAL("activated()"),self.WebBrowser,TQ_SLOT("GoBack()")) + self.connect(self.actionGo,TQ_SIGNAL("activated()"),self.go) + self.connect(self.actionFileClose,TQ_SIGNAL("activated()"),self.close) + self.connect(self.actionSearch,TQ_SIGNAL("activated()"),self.WebBrowser,TQ_SLOT("GoSearch()")) + self.connect(self.addressEdit,TQ_SIGNAL("returnPressed()"),self.go) + self.connect(self.WebBrowser,TQ_SIGNAL("NavigateComplete(const TQString&)"),self.addressEdit.setText) + self.connect(self.WebBrowser,TQ_SIGNAL("TitleChange(const TQString&)"),self.setTitle) + self.connect(self.WebBrowser,TQ_SIGNAL("NavigateComplete(const TQString&)"),self.navigateComplete) + self.connect(self.WebBrowser,TQ_SIGNAL("CommandStateChange(int,bool)"),self.setCommandState) + self.connect(self.WebBrowser,TQ_SIGNAL("BeforeNavigate(const TQString&,int,const TQString&,const TQVariant&,const TQString&,bool&)"),self.navigateBegin) + self.connect(self.actionStop,TQ_SIGNAL("activated()"),self.navigateComplete) + self.connect(self.actionNewWindow,TQ_SIGNAL("activated()"),self.newWindow) + self.connect(self.actionAbout,TQ_SIGNAL("activated()"),self.aboutSlot) + self.connect(self.actionAboutTQt,TQ_SIGNAL("activated()"),self.aboutTQtSlot) self.init() |