diff options
Diffstat (limited to 'examples/tqdir.py')
-rwxr-xr-x | examples/tqdir.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/tqdir.py b/examples/tqdir.py index 99875d0..bc9ddbc 100755 --- a/examples/tqdir.py +++ b/examples/tqdir.py @@ -174,7 +174,7 @@ class CustomFileDialog(TQFileDialog): p.setPixmap(TQPixmap(bookmarks)) TQToolTip.add(p, "Bookmarks") self.bookmarkMenu = TQPopupMenu(self) - self.connect(self.bookmarkMenu, SIGNAL("activated(int)"), + self.connect(self.bookmarkMenu, TQ_SIGNAL("activated(int)"), self.bookmarkChosen) self.addId = self.bookmarkMenu.insertItem("Add bookmark") self.bookmarkMenu.insertSeparator() @@ -184,12 +184,12 @@ class CustomFileDialog(TQFileDialog): self.addToolButton(p, True) self.connect(self.dirView, PYSIGNAL("folderSelected(const TQString &)"), self.setDir2) - self.connect(self, SIGNAL("dirEntered(const TQString &)"), + self.connect(self, TQ_SIGNAL("dirEntered(const TQString &)"), self.dirView.setDir) b = TQToolButton(self) TQToolTip.add(b, "Go Home!") b.setPixmap(TQPixmap(home)) - self.connect(b, SIGNAL("clicked()"), self.goHome) + self.connect(b, TQ_SIGNAL("clicked()"), self.goHome) self.addToolButton(b) if preview: |