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

List:       kde-commits
Subject:    extragear/base/konq-plugins/babelfish
From:       Dawit Alemayehu <adawit () kde ! org>
Date:       2009-10-16 15:16:34
Message-ID: 1255706194.218878.15669.nullmailer () svn ! kde ! org
[Download RAW message or body]

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 <webkitpart.h>
-#ifdef HAVE_WEBVIEW
-#include <webview.h>
-#else
-#include <webkitview.h>
+#include <QWebView>
 #endif
-#endif
 
+
 static const KAboutData aboutdata("babelfish", 0, ki18n("Translate Web Page") , "1.0" );
 K_PLUGIN_FACTORY(BabelFishFactory, registerPlugin<PluginBabelFish>();)
 K_EXPORT_PLUGIN(BabelFishFactory( aboutdata ) )
[prev in list] [next in list] [prev in thread] [next in thread] 

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