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

« back to all changes in this revision

Viewing changes to libkleo/ui/keyselectiondialog.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:
427
427
  hlay->addWidget( le, 1 );
428
428
  le->setFocus();
429
429
 
430
 
  connect( le, SIGNAL(textChanged(const QString&)),
431
 
           this, SLOT(slotSearch(const QString&)) );
 
430
  connect( le, SIGNAL(textChanged(QString)),
 
431
           this, SLOT(slotSearch(QString)) );
432
432
  connect( mStartSearchTimer, SIGNAL(timeout()), SLOT(slotFilter()) );
433
433
 
434
434
  mKeyListView = new KeyListView( new ColumnStrategy( mKeyUsage ), 0, page );
461
461
           SIGNAL(doubleClicked(Kleo::KeyListViewItem*,int)),
462
462
           SLOT(slotTryOk()) );
463
463
  connect( mKeyListView,
464
 
           SIGNAL(contextMenu(Kleo::KeyListViewItem*,const QPoint&)),
465
 
           SLOT(slotRMB(Kleo::KeyListViewItem*,const QPoint&)) );
 
464
           SIGNAL(contextMenu(Kleo::KeyListViewItem*,QPoint)),
 
465
           SLOT(slotRMB(Kleo::KeyListViewItem*,QPoint)) );
466
466
 
467
467
  setButtonText( KDialog::User1, i18n("&Reread Keys") );
468
468
  setButtonText( KDialog::User2, i18n("&Start Certificate Manager") );
618
618
  if ( !job )
619
619
    return;
620
620
 
621
 
  connect( job, SIGNAL(result(const GpgME::KeyListResult&)),
622
 
           SLOT(slotKeyListResult(const GpgME::KeyListResult&)) );
 
621
  connect( job, SIGNAL(result(GpgME::KeyListResult)),
 
622
           SLOT(slotKeyListResult(GpgME::KeyListResult)) );
623
623
  if ( validate )
624
 
    connect( job, SIGNAL(nextKey(const GpgME::Key&)),
625
 
             mKeyListView, SLOT(slotRefreshKey(const GpgME::Key&)) );
 
624
    connect( job, SIGNAL(nextKey(GpgME::Key)),
 
625
             mKeyListView, SLOT(slotRefreshKey(GpgME::Key)) );
626
626
  else
627
 
    connect( job, SIGNAL(nextKey(const GpgME::Key&)),
628
 
             mKeyListView, SLOT(slotAddKey(const GpgME::Key&)) );
 
627
    connect( job, SIGNAL(nextKey(GpgME::Key)),
 
628
             mKeyListView, SLOT(slotAddKey(GpgME::Key)) );
629
629
 
630
630
  QStringList fprs;
631
631
  std::transform( keys.begin(), keys.end(), std::back_inserter( fprs ), ExtractFingerprint() );