395
395
connect( proc, SIGNAL(readyReadStandardError()),
396
396
this, SLOT(ispellErrors()) );
398
connect( proc, SIGNAL(finished(int, QProcess::ExitStatus)),
399
this, SLOT(ispellExit ()) );
398
connect( proc, SIGNAL(finished(int,QProcess::ExitStatus)),
399
this, SLOT(ispellExit()) );
401
401
proc->setOutputChannelMode( KProcess::SeparateChannels );
402
402
proc->setNextOpenMode( QIODevice::ReadWrite | QIODevice::Text );
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)) );
485
485
ksdlg->setFocus();
1547
1547
//kDebug(750) << "MODAL READY------------------";
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 );
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;
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);
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()) );
1691
1691
proc = new KProcess();