def editPerson(self):
self.emit(QtCore.SIGNAL("editPerson()"))
def importPhotos(self):
- pass
+ self.emit(QtCore.SIGNAL("mergePhotos()"))
def exportDocument(self):
fileName = QFileDialog.getSaveFileName(self, "Save new file as:", ".", "OpenDocument Text Documents (*.odt)")
if not fileName.isEmpty():
self.fileQuitAction = QAction("&Quit",self)
QObject.connect( self.fileQuitAction, SIGNAL("triggered()"), self.quit)
QObject.connect( self.chooseaction, SIGNAL("editPerson()"), self.editPersonSlot)
+ QObject.connect( self.chooseaction, SIGNAL("mergePhotos()"), self.mergePhotos)
QObject.connect( self.chooseaction, SIGNAL("exportDocument(QString)"), self.exportDocumentSlot)
QObject.connect( self.editperson, SIGNAL("done()"), self.returnToMainMenu)
QObject.connect( self, SIGNAL("databaseChanged(QString)"), self.editperson.updateDB)