From kde-commits Fri Oct 16 15:16:34 2009 From: Dawit Alemayehu Date: Fri, 16 Oct 2009 15:16:34 +0000 To: kde-commits Subject: extragear/base/konq-plugins/babelfish Message-Id: <1255706194.218878.15669.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=125570623427934 SVN commit 1036095 by adawit: Make it compile. webview.h is no longer installed. Use QWebView instead. M +0 -2 CMakeLists.txt M +2 -5 plugin_babelfish.cpp --- trunk/extragear/base/konq-plugins/babelfish/CMakeLists.txt #1036094:1036095 @@ -30,8 +30,6 @@ if( WEBKITKDE_FOUND ) include_directories(${KDEWEBKIT_INCLUDE_DIR}) include_directories(${WEBKITPART_INCLUDE_DIR}) - FIND_PATH(WEBVIEW_PATH webkitkde/webview.h PATH ${KDEWEBKIT_INCLUDE_DIR}) - macro_bool_to_01(WEBVIEW_PATH HAVE_WEBVIEW ) endif(WEBKITKDE_FOUND) --- trunk/extragear/base/konq-plugins/babelfish/plugin_babelfish.cpp #1036094:1036095 @@ -43,13 +43,10 @@ #ifdef HAVE_WEBKITKDE #include -#ifdef HAVE_WEBVIEW -#include -#else -#include +#include #endif -#endif + static const KAboutData aboutdata("babelfish", 0, ki18n("Translate Web Page") , "1.0" ); K_PLUGIN_FACTORY(BabelFishFactory, registerPlugin();) K_EXPORT_PLUGIN(BabelFishFactory( aboutdata ) )