[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/pim/mailody/src
From:       Tom Albers <toma () kde ! org>
Date:       2009-10-17 17:42:22
Message-ID: 1255801342.312638.2093.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1036740 by toma:

Repair signals after API changes


 M  +4 -5      composer.cpp  
 M  +1 -1      contacttooltipproxymodel.cpp  


--- trunk/extragear/pim/mailody/src/composer.cpp #1036739:1036740
@@ -108,11 +108,6 @@
              SIGNAL( customContextMenuRequested( const QPoint & ) ),
              SLOT( slotContextMenuAddressBook() ) );
 
-    // signal coming from the dialog with detail info
-    connect( tooltip,
-             SIGNAL( mailClicked( const QString& ) ),
-             SLOT( slotAddAddress( const QString& ) ) );
-
     QDockWidget* addressDock = new QDockWidget( i18n( "Add&ress Book" ), this );
     addressDock->setWidget( m_addressbookView );
     addressDock->setObjectName( "addressDock" );
@@ -217,6 +212,10 @@
     connect( m_recipientWidget, SIGNAL( dirty() ),
              SLOT( slotSetDirty() ) );
 
+    // signal coming from the dialog with detail info
+    connect( tooltip, SIGNAL( mailClicked( const QString& ) ),
+             m_recipientWidget, SLOT( slotAddAddress( const QString& ) ) );
+
     m_alabel = new QLabel( i18n( "Attached:" )+' ', widg );
     m_attachview = new AttachmentWidget( widg );
     connect( m_attachview, SIGNAL( noAttachmentsLeft() ),
--- trunk/extragear/pim/mailody/src/contacttooltipproxymodel.cpp #1036739:1036740
@@ -31,7 +31,7 @@
         : QSortFilterProxyModel( parent )
 {
     m_contactViewer = new Akonadi::ContactViewerDialog( 0 );
-    connect( m_contactViewer,
+    connect( m_contactViewer->viewer(),
              SIGNAL( emailClicked( const QString&, const QString& ) ),
              SLOT( slotMailClicked( const QString&, const QString& ) ) );
     m_contactViewer->hide();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic