[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeaddons/konq-plugins/searchbar
From:       Laurent Montel <montel () kde ! org>
Date:       2006-02-15 15:20:15
Message-ID: 1140016815.666295.19722.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 509702 by mlaurent:

deprecated--


 M  +3 -3      searchbar.cpp  


--- trunk/KDE/kdeaddons/konq-plugins/searchbar/searchbar.cpp #509701:509702
@@ -113,7 +113,7 @@
 {
         KConfig config( "kuriikwsfilterrc", true, false );
         config.setGroup( "General" );
-        return config.readNumEntry( "KeywordDelimiter", ':' );
+        return config.readEntry( "KeywordDelimiter", int(':') );
 }
 
 bool SearchBarPlugin::eventFilter(QObject *o, QEvent *e)
@@ -411,7 +411,7 @@
 
 	QStringList favoriteEngines;
 	favoriteEngines << "google" << "google_groups" << "google_news" << "webster" << "dmoz" << "wikipedia";
-	favoriteEngines = config->readListEntry("FavoriteSearchEngines", favoriteEngines);
+	favoriteEngines = config->readEntry("FavoriteSearchEngines", favoriteEngines);
 
 	delete m_popupMenu;
 	m_popupMenu = 0;
@@ -434,7 +434,7 @@
 
 	config = KGlobal::config();
 	config->setGroup("SearchBar");
-	m_searchMode = (SearchModes) config->readNumEntry("Mode", (int) UseSearchProvider);
+	m_searchMode = (SearchModes) config->readEntry("Mode", (int) UseSearchProvider);
 	m_currentEngine = config->readEntry("CurrentEngine", engine);
 
 	if ( m_currentEngine.isEmpty() )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic