~ubuntu-branches/ubuntu/quantal/kdepim/quantal

« back to all changes in this revision

Viewing changes to messagecomposer/recipientspicker.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:51 UTC
  • mto: This revision was merged to the branch mainline in revision 193.
  • Revision ID: package-import@ubuntu.com-20111215141751-bmhdpiwl23wd9w26
Tags: upstream-4.7.90
ImportĀ upstreamĀ versionĀ 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
  topLayout->addWidget( mView );
68
68
  topLayout->setStretchFactor( mView, 1 );
69
69
 
70
 
  connect( mView->view()->selectionModel(), SIGNAL( selectionChanged( const QItemSelection&, const QItemSelection& ) ),
71
 
           SLOT( slotSelectionChanged() ) );
72
 
  connect( mView->view(), SIGNAL( doubleClicked( const QModelIndex& ) ),
73
 
           SLOT( slotPicked() ) );
 
70
  connect( mView->view()->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
 
71
           SLOT(slotSelectionChanged()) );
 
72
  connect( mView->view(), SIGNAL(doubleClicked(QModelIndex)),
 
73
           SLOT(slotPicked()) );
74
74
 
75
75
  mSearchLDAPButton = new QPushButton( i18n("Search &Directory Service"), mainWidget() );
76
 
  connect( mSearchLDAPButton, SIGNAL( clicked() ), SLOT( slotSearchLDAP() ) );
 
76
  connect( mSearchLDAPButton, SIGNAL(clicked()), SLOT(slotSearchLDAP()) );
77
77
  topLayout->addWidget( mSearchLDAPButton );
78
78
 
79
79
  KConfig config( QLatin1String("kabldaprc") );
90
90
 
91
91
  mToButton = new QPushButton( i18n("Add as &To"), mainWidget() );
92
92
  buttonLayout->addWidget( mToButton );
93
 
  connect( mToButton, SIGNAL( clicked() ), SLOT( slotToClicked() ) );
 
93
  connect( mToButton, SIGNAL(clicked()), SLOT(slotToClicked()) );
94
94
 
95
95
  mCcButton = new QPushButton( i18n("Add as CC"), mainWidget() );
96
96
  buttonLayout->addWidget( mCcButton );
97
 
  connect( mCcButton, SIGNAL( clicked() ), SLOT( slotCcClicked() ) );
 
97
  connect( mCcButton, SIGNAL(clicked()), SLOT(slotCcClicked()) );
98
98
 
99
99
  mBccButton = new QPushButton( i18n("Add as &BCC"), mainWidget() );
100
100
  buttonLayout->addWidget( mBccButton );
101
 
  connect( mBccButton, SIGNAL( clicked() ), SLOT( slotBccClicked() ) );
 
101
  connect( mBccButton, SIGNAL(clicked()), SLOT(slotBccClicked()) );
102
102
 
103
103
  QPushButton *closeButton = new QPushButton( i18n("&Cancel"), mainWidget() );
104
104
  buttonLayout->addWidget( closeButton );
105
 
  connect( closeButton, SIGNAL( clicked() ), SLOT( close() ) );
 
105
  connect( closeButton, SIGNAL(clicked()), SLOT(close()) );
106
106
 
107
107
  mView->searchLineEdit()->setFocus();
108
108
 
217
217
{
218
218
  if ( !mLdapSearchDialog ) {
219
219
    mLdapSearchDialog = new KLDAP::LdapSearchDialog( this );
220
 
    connect( mLdapSearchDialog, SIGNAL( contactsAdded() ),
221
 
             SLOT(ldapSearchResult() ) );
 
220
    connect( mLdapSearchDialog, SIGNAL(contactsAdded()),
 
221
             SLOT(ldapSearchResult()) );
222
222
  }
223
223
 
224
224
  mLdapSearchDialog->setSearchText( mView->searchLineEdit()->text() );