summaryrefslogtreecommitdiffstats
path: root/kooka/kocrbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kooka/kocrbase.cpp')
-rw-r--r--kooka/kocrbase.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kooka/kocrbase.cpp b/kooka/kocrbase.cpp
index dc13655f..a6d5cebd 100644
--- a/kooka/kocrbase.cpp
+++ b/kooka/kocrbase.cpp
@@ -86,9 +86,9 @@ KOCRBase::KOCRBase( TQWidget *parent, KSpellConfig *spellConfig,
m_userWantsSpellCheck = konf->readBoolEntry(CFG_WANT_TDESPELL, true);
/* Connect signals which disable the fields and store the configuration */
- connect( this, TQT_SIGNAL( user1Clicked()), this, TQT_SLOT( writeConfig()));
- connect( this, TQT_SIGNAL( user1Clicked()), this, TQT_SLOT( startOCR() ));
- connect( this, TQT_SIGNAL( user2Clicked()), this, TQT_SLOT( stopOCR() ));
+ connect( this, TQ_SIGNAL( user1Clicked()), this, TQ_SLOT( writeConfig()));
+ connect( this, TQ_SIGNAL( user1Clicked()), this, TQ_SLOT( startOCR() ));
+ connect( this, TQ_SIGNAL( user2Clicked()), this, TQ_SLOT( stopOCR() ));
m_previewSize.setWidth(200);
m_previewSize.setHeight(300);
@@ -178,11 +178,11 @@ void KOCRBase::spellCheckIntro()
m_spellchkPage = addVBoxPage( i18n("Spell-checking") );
/* Want the spell checking at all? Checkbox here */
- TQGroupBox *gb1 = new TQGroupBox( 1, Qt::Horizontal, i18n("OCR Post Processing"), m_spellchkPage );
+ TQGroupBox *gb1 = new TQGroupBox( 1, TQt::Horizontal, i18n("OCR Post Processing"), m_spellchkPage );
m_cbWantCheck = new TQCheckBox( i18n("Enable spell-checking for validation of the OCR result"),
gb1 );
/* Spellcheck options */
- m_gbSpellOpts = new TQGroupBox( 1, Qt::Horizontal, i18n("Spell-Check Options"),
+ m_gbSpellOpts = new TQGroupBox( 1, TQt::Horizontal, i18n("Spell-Check Options"),
m_spellchkPage );
KSpellConfig *sCfg = new KSpellConfig( m_gbSpellOpts, "SPELLCHK", m_spellConfig, false );
@@ -191,13 +191,13 @@ void KOCRBase::spellCheckIntro()
spaceEater->setSizePolicy( TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Ignored ));
/* connect toggle button */
- connect( m_cbWantCheck, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slWantSpellcheck(bool)));
+ connect( m_cbWantCheck, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slWantSpellcheck(bool)));
m_cbWantCheck->setChecked( m_userWantsSpellCheck );
m_gbSpellOpts->setEnabled( m_userWantsSpellCheck );
m_spellConfig = sCfg;
- connect( sCfg, TQT_SIGNAL(configChanged()),
- this, TQT_SLOT(slSpellConfigChanged()));
+ connect( sCfg, TQ_SIGNAL(configChanged()),
+ this, TQ_SLOT(slSpellConfigChanged()));
}
void KOCRBase::slSpellConfigChanged()
@@ -242,10 +242,10 @@ void KOCRBase::introduceImage( KookaImage* img)
if( m_job )
{
- connect( m_job, TQT_SIGNAL( result( TDEIO::Job * )),
- this, TQT_SLOT( slPreviewResult( TDEIO::Job * )));
- connect( m_job, TQT_SIGNAL( gotPreview( const KFileItem*, const TQPixmap& )),
- TQT_SLOT( slGotPreview( const KFileItem*, const TQPixmap& ) ));
+ connect( m_job, TQ_SIGNAL( result( TDEIO::Job * )),
+ this, TQ_SLOT( slPreviewResult( TDEIO::Job * )));
+ connect( m_job, TQ_SIGNAL( gotPreview( const KFileItem*, const TQPixmap& )),
+ TQ_SLOT( slGotPreview( const KFileItem*, const TQPixmap& ) ));
/* TDEIO::Jo result is called in any way: Success, Failed, Error,
* thus connecting the failed is not really necessary.
*/