From 78cc506bbab7c8fc2f8b4f6cb183b4ab157b762b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 3 Sep 2013 20:02:20 +0200 Subject: Additional k => tde renaming and fixes --- kooka/Makefile.am | 4 ++-- kooka/kocrbase.cpp | 8 ++++---- kooka/ksaneocr.h | 4 ++-- kooka/scanpackager.cpp | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kooka') diff --git a/kooka/Makefile.am b/kooka/Makefile.am index ed0932c1..0a4d2bcf 100644 --- a/kooka/Makefile.am +++ b/kooka/Makefile.am @@ -16,8 +16,8 @@ kooka_SOURCES = main.cpp kooka.cpp kookaview.cpp kookapref.cpp \ kocrocrad.cpp # pagesetup.cpp -kooka_LDADD = $(LIB_TDEFILE) -ltdeprint -ltdetexteditor $(LIBTIFF) $(top_builddir)/libkscan/libkscan.la $(KADMOS_LIB) $(LIB_KSPELL) -kooka_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor +kooka_LDADD = $(LIB_TDEFILE) -ltdeprint -ltdetexteditor $(LIBTIFF) $(top_builddir)/libkscan/libkscan.la $(KADMOS_LIB) $(LIB_TDESPELL) +kooka_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor INCLUDES = -I$(top_srcdir)/libkscan $(all_includes) $(LIBSANE_INCLUDES) $(KADMOS_INC) diff --git a/kooka/kocrbase.cpp b/kooka/kocrbase.cpp index 6cc012b3..dc13655f 100644 --- a/kooka/kocrbase.cpp +++ b/kooka/kocrbase.cpp @@ -82,8 +82,8 @@ KOCRBase::KOCRBase( TQWidget *parent, KSpellConfig *spellConfig, // Layout-Boxes TDEConfig *konf = TDEGlobal::config (); - TDEConfigGroupSaver gs( konf, CFG_OCR_KSPELL ); - m_userWantsSpellCheck = konf->readBoolEntry(CFG_WANT_KSPELL, true); + TDEConfigGroupSaver gs( konf, CFG_OCR_TDESPELL ); + 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())); @@ -360,8 +360,8 @@ void KOCRBase::slWantSpellcheck( bool wantIt ) m_userWantsSpellCheck = wantIt; TDEConfig *konf = TDEGlobal::config (); - TDEConfigGroupSaver gs( konf, CFG_OCR_KSPELL ); - konf->writeEntry( CFG_WANT_KSPELL, wantIt ); + TDEConfigGroupSaver gs( konf, CFG_OCR_TDESPELL ); + konf->writeEntry( CFG_WANT_TDESPELL, wantIt ); } /* The End ;) */ diff --git a/kooka/ksaneocr.h b/kooka/ksaneocr.h index bc6b610e..6b995ad4 100644 --- a/kooka/ksaneocr.h +++ b/kooka/ksaneocr.h @@ -34,8 +34,8 @@ #define CFG_OCR_ENGINE "ocrEngine" #define CFG_OCR_CLEANUP "unlinkORF" /* delete orf file? */ -#define CFG_OCR_KSPELL "ocrSpellSettings" -#define CFG_WANT_KSPELL "ocrKSpellEnabled" +#define CFG_OCR_TDESPELL "ocrSpellSettings" +#define CFG_WANT_TDESPELL "ocrKSpellEnabled" #define CFG_KS_NOROOTAFFIX "KSpell_NoRootAffix" #define CFG_KS_RUNTOGETHER "KSpell_RunTogether" #define CFG_KS_DICTIONARY "KSpell_Dictionary" diff --git a/kooka/scanpackager.cpp b/kooka/scanpackager.cpp index 22f9b06a..9f4ccd89 100644 --- a/kooka/scanpackager.cpp +++ b/kooka/scanpackager.cpp @@ -1173,7 +1173,7 @@ void ScanPackager::slotCreateFolder( ) if( ok ) { - /* KIO create folder goes here */ + /* TDEIO create folder goes here */ KFileTreeViewItem *it = currentKFileTreeViewItem(); if( it ) -- cgit v1.2.1