@ -24,7 +24,7 @@
# include <kconfig.h>
# include <kconfig.h>
KCMKerrySearch : : KCMKerrySearch ( TQWidget * parent , const char * )
KCMKerrySearch : : KCMKerrySearch ( TQWidget * parent , const char * )
: K CModule( parent , " kcmkerrysearch " )
: TDE CModule( parent , " kcmkerrysearch " )
{
{
TQVBoxLayout * top_layout = new TQVBoxLayout ( this , KDialog : : spacingHint ( ) ) ;
TQVBoxLayout * top_layout = new TQVBoxLayout ( this , KDialog : : spacingHint ( ) ) ;
@ -72,7 +72,7 @@ KCMKerrySearch::KCMKerrySearch(TQWidget *parent, const char * )
globalKeys - > insert ( " Show Kerry Dialog " , i18n ( " Show Search Dialog " ) , TQString ( ) , showDialogShortcut , showDialogShortcut , 0 , 0 ) ;
globalKeys - > insert ( " Show Kerry Dialog " , i18n ( " Show Search Dialog " ) , TQString ( ) , showDialogShortcut , showDialogShortcut , 0 , 0 ) ;
globalKeys - > insert ( " Search Primary Selection with Kerry " , i18n ( " Search Primary Selection " ) , TQString ( ) , CTRL + ALT + Key_Space , CTRL + ALT + Key_Space , 0 , 0 ) ;
globalKeys - > insert ( " Search Primary Selection with Kerry " , i18n ( " Search Primary Selection " ) , TQString ( ) , CTRL + ALT + Key_Space , CTRL + ALT + Key_Space , 0 , 0 ) ;
KConfig * config = new K Config( " kerryrc " ) ;
TDEConfig * config = new TDE Config( " kerryrc " ) ;
globalKeys - > readSettings ( config ) ;
globalKeys - > readSettings ( config ) ;
delete config ;
delete config ;
@ -115,7 +115,7 @@ void KCMKerrySearch::load( bool useDefaults )
showBigTiles - > setChecked ( false ) ;
showBigTiles - > setChecked ( false ) ;
}
}
else {
else {
KConfig * config = new K Config( " kerryrc " ) ;
TDEConfig * config = new TDE Config( " kerryrc " ) ;
config - > setGroup ( " General " ) ;
config - > setGroup ( " General " ) ;
maxResultsDisplayed - > setValue ( config - > readNumEntry ( " DisplayAmount " , 20 ) ) ;
maxResultsDisplayed - > setValue ( config - > readNumEntry ( " DisplayAmount " , 20 ) ) ;
combo_order - > setCurrentItem ( config - > readNumEntry ( " DefaultSortOrder " , 0 ) ) ;
combo_order - > setCurrentItem ( config - > readNumEntry ( " DefaultSortOrder " , 0 ) ) ;
@ -133,7 +133,7 @@ void KCMKerrySearch::defaults()
void KCMKerrySearch : : save ( )
void KCMKerrySearch : : save ( )
{
{
KConfig * config = new K Config( " kerryrc " ) ;
TDEConfig * config = new TDE Config( " kerryrc " ) ;
config - > setGroup ( " General " ) ;
config - > setGroup ( " General " ) ;
config - > writeEntry ( " DisplayAmount " , maxResultsDisplayed - > value ( ) ) ;
config - > writeEntry ( " DisplayAmount " , maxResultsDisplayed - > value ( ) ) ;
config - > writeEntry ( " DefaultSortOrder " , combo_order - > currentItem ( ) ) ;
config - > writeEntry ( " DefaultSortOrder " , combo_order - > currentItem ( ) ) ;