I am writing my first Python app with PyQt4. I have a MainWindow and a Dialog class, which is a part of MainWindow class:
self.loginDialog = LoginDialog();
Looks like you miss the "SLOT" part in your connect call.
Here is an example :
QtCore.QObject.connect(self.loginDialog, QtCore.SIGNAL("NotifyMySignal(int)"), QtCore.SLOT("onNotifyMySignal(int)"));
then
self.emit(QtCore.SIGNAL('NotifyMySignal(1)'));
Hope this helps !