emailuis/nmsettingui/src/nmmailboxsettingsmanager.cpp
changeset 20 ecc8def7944a
parent 18 578830873419
child 30 759dc5235cdb
--- a/emailuis/nmsettingui/src/nmmailboxsettingsmanager.cpp	Fri Apr 16 14:51:52 2010 +0300
+++ b/emailuis/nmsettingui/src/nmmailboxsettingsmanager.cpp	Mon May 03 12:23:15 2010 +0300
@@ -143,6 +143,9 @@
             // correct object.
             pluginInstance->disconnect(SIGNAL(mailboxListChanged(const NmId &, NmSettings::MailboxEventType)));
             pluginInstance->disconnect(SIGNAL(mailboxPropertyChanged(const NmId &, QVariant, QVariant)));
+            pluginInstance->disconnect(SIGNAL(goOnline(const NmId &)));
+            pluginInstance->disconnect(SIGNAL(goOffline(const NmId &)));
+            pluginInstance->disconnect(SIGNAL(aboutToClose()));
 
             connect(pluginInstance, SIGNAL(mailboxListChanged(const NmId &, NmSettings::MailboxEventType)),
                 this, SIGNAL(mailboxListChanged(const NmId &, NmSettings::MailboxEventType)));
@@ -150,6 +153,15 @@
             connect(pluginInstance, SIGNAL(mailboxPropertyChanged(const NmId &, QVariant, QVariant)),
                 this, SIGNAL(mailboxPropertyChanged(const NmId &, QVariant, QVariant)));
 
+            connect(pluginInstance, SIGNAL(goOnline(const NmId &)),
+                this, SIGNAL(goOnline(const NmId &)));
+
+            connect(pluginInstance, SIGNAL(goOffline(const NmId &)),
+                this, SIGNAL(goOffline(const NmId &)));
+
+            connect(this, SIGNAL(aboutToClose()),
+            	pluginInstance, SLOT(aboutToClose()));
+
             break;
         }
     }