~ubuntu-branches/ubuntu/utopic/kde4libs/utopic

« back to all changes in this revision

Viewing changes to kde3support/kdeui/k3spell.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Kolberg
  • Date: 2012-03-03 00:25:28 UTC
  • mfrom: (1.14.15)
  • Revision ID: package-import@ubuntu.com-20120303002528-chhwyfluldkicy5k
Tags: 4:4.8.1-0ubuntu1
* New upstream release
  - Update symbol files

Show diffs side-by-side

added added

removed removed

Lines of Context:
395
395
    connect( proc, SIGNAL(readyReadStandardError()),
396
396
             this, SLOT(ispellErrors()) );
397
397
 
398
 
    connect( proc, SIGNAL(finished(int, QProcess::ExitStatus)),
399
 
             this, SLOT(ispellExit ()) );
 
398
    connect( proc, SIGNAL(finished(int,QProcess::ExitStatus)),
 
399
             this, SLOT(ispellExit()) );
400
400
 
401
401
    proc->setOutputChannelMode( KProcess::SeparateChannels );
402
402
    proc->setNextOpenMode( QIODevice::ReadWrite | QIODevice::Text );
478
478
 
479
479
  connect( ksdlg, SIGNAL(command(int)),
480
480
           this, SLOT(slotStopCancel(int)) );
481
 
  connect( this, SIGNAL(progress(unsigned int)),
482
 
           ksdlg, SLOT(slotProgress(unsigned int)) );
 
481
  connect( this, SIGNAL(progress(uint)),
 
482
           ksdlg, SLOT(slotProgress(uint)) );
483
483
 
484
484
  if ( modaldlg )
485
485
    ksdlg->setFocus();
896
896
  setUpDialog();
897
897
 
898
898
  //set the dialog signal handler
899
 
  dialog3slot = SLOT (checkList4 ());
 
899
  dialog3slot = SLOT (checkList4());
900
900
 
901
901
  proc->write(QByteArray( '%' ) ); // turn off terse mode & check one word at a time
902
902
 
1547
1547
  //kDebug(750) << "MODAL READY------------------";
1548
1548
 
1549
1549
  Q_ASSERT( m_status == Running );
1550
 
  connect( this, SIGNAL( done( const QString & ) ),
1551
 
           this, SLOT( slotModalDone( const QString & ) ) );
1552
 
  QObject::connect( this, SIGNAL( corrected( const QString&, const QString&, unsigned int ) ),
1553
 
                    this, SLOT( slotSpellCheckerCorrected( const QString&, const QString &, unsigned int ) ) );
1554
 
  QObject::connect( this, SIGNAL( death() ),
1555
 
                    this, SLOT( slotModalSpellCheckerFinished( ) ) );
 
1550
  connect( this, SIGNAL(done(QString)),
 
1551
           this, SLOT(slotModalDone(QString)) );
 
1552
  QObject::connect( this, SIGNAL(corrected(QString,QString,uint)),
 
1553
                    this, SLOT(slotSpellCheckerCorrected(QString,QString,uint)) );
 
1554
  QObject::connect( this, SIGNAL(death()),
 
1555
                    this, SLOT(slotModalSpellCheckerFinished()) );
1556
1556
  check( modaltext );
1557
1557
}
1558
1558
 
1587
1587
  d->checking = false;
1588
1588
  d->aspellV6 = false;
1589
1589
  d->checkNextTimer = new QTimer( this );
1590
 
  connect( d->checkNextTimer, SIGNAL( timeout() ),
1591
 
           this, SLOT( checkNext() ));
 
1590
  connect( d->checkNextTimer, SIGNAL(timeout()),
 
1591
           this, SLOT(checkNext()));
1592
1592
  autoDelete = false;
1593
1593
  modaldlg = _modal;
1594
1594
  progressbar = _progressbar;
1683
1683
 
1684
1684
  if ( obj && slot )
1685
1685
      // caller wants to know when k3spell is ready
1686
 
      connect( this, SIGNAL(ready(K3Spell *)), obj, slot);
 
1686
      connect( this, SIGNAL(ready(K3Spell*)), obj, slot);
1687
1687
  else
1688
1688
      // Hack for modal spell checking
1689
 
      connect( this, SIGNAL(ready(K3Spell *)), this, SLOT(slotModalReady()) );
 
1689
      connect( this, SIGNAL(ready(K3Spell*)), this, SLOT(slotModalReady()) );
1690
1690
 
1691
1691
  proc = new KProcess();
1692
1692