--- kdenox.orig/configure 2008-01-28 18:00:50.000000000 +0100 +++ kdenox/configure 2008-01-09 10:47:47.000000000 +0100 @@ -5844,7 +5844,7 @@ { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : - CXXFLAGS="$CXXFLAGS -fno-exceptions" + CXXFLAGS="$CXXFLAGS" else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } @@ -29220,9 +29220,9 @@ fi -# Check whether --enable-embedded was given. -if test "${enable_embedded+set}" = set; then - enableval=$enable_embedded; kde_use_qt_emb_rtti=$enableval +# Check whether --enable-rtti-embedded was given. +if test "${enable_rtti_embedded+set}" = set; then + enableval=$enable_rtti_embedded; kde_use_qt_emb_rtti=$enableval else kde_use_qt_emb_rtti=no @@ -33337,7 +33337,7 @@ echo "${ECHO_T}found version $qtopia_verstr with headers at $qtopia_incdir" >&6; } CXXFLAGS="$CXXFLAGS -D_QT_QPE_" - LIB_QTOPIA="$LIB_QTOPIA -lqtopia -lqtopia2" +# LIB_QTOPIA="$LIB_QTOPIA -lqtopia -lqtopia2" fi --- kdenox.orig/konq-embed/dropin/khtml/khtml_ext.cpp 2008-01-28 17:25:10.000000000 +0100 +++ kdenox/konq-embed/dropin/khtml/khtml_ext.cpp 2008-01-08 16:55:54.000000000 +0100 @@ -145,7 +145,7 @@ dir = dir.absPath() + "/" + minor + "/"; destURL = dir.absPath() + "/" + destURL.fileName(); - f.setLocation(dir.absPath()); +// f.setLocation(dir.absPath()); f.setType(mimeType); f.setName(destURL.fileName()); f.setFile(destURL.fileName()); --- kdenox.orig/konq-embed/dropin/kio/kio_file.cpp 2008-01-28 17:25:09.000000000 +0100 +++ kdenox/konq-embed/dropin/kio/kio_file.cpp 2008-01-08 16:38:50.000000000 +0100 @@ -80,7 +80,8 @@ } path=temp+path; } - if ( path.contains("/../") || path.endsWith("/..") ) +// if ( path.contains("/../") || path.endsWith("/..") ) + if ( path.contains("..")) { error( KIO::ERR_MALFORMED_URL, path ); return; --- kdenox.orig/konq-embed/kdesrc/khtml/khtml_part.cpp 2008-01-29 13:49:53.000000000 +0100 +++ kdenox/./konq-embed/kdesrc/khtml/khtml_part.cpp 2008-01-11 18:28:27.000000000 +0100 @@ -2195,7 +2195,7 @@ return; } - const UDSEntry entry = dynamic_cast( _job )->statResult(); + const UDSEntry entry = static_cast( _job )->statResult(); UDSEntry::ConstIterator it = entry.begin(); const UDSEntry::ConstIterator end = entry.end(); for ( ; it != end; ++it ) { @@ -5174,7 +5174,7 @@ void KHTMLPart::slotChildURLRequest( const KURL &url, const KParts::URLArgs &args ) { khtml::ChildFrame *child = frame( sender()->parent() ); - KHTMLPart *callingHtmlPart = const_cast(dynamic_cast(sender()->parent())); + KHTMLPart *callingHtmlPart = const_cast(static_cast(sender()->parent())); // TODO: handle child target correctly! currently the script are always executed fur the parent QString urlStr = url.url(); @@ -5298,7 +5298,7 @@ kdDebug(6050) << "KHTMLPart::findFrameParent: this = " << this << " URL = " << m_url << " name = " << name() << " findFrameParent( " << f << " )" << endl; #endif // Check access - KHTMLPart* const callingHtmlPart = dynamic_cast(callingPart); + KHTMLPart* const callingHtmlPart = static_cast(callingPart); if (!checkFrameAccess(callingHtmlPart)) return 0; --- kdenox.orig/konq-embed/kdesrc/kparts/statusbarextension.cpp 2008-01-29 13:49:26.000000000 +0100 +++ kdenox/./konq-embed/kdesrc/kparts/statusbarextension.cpp 2008-01-21 18:07:24.000000000 +0100 @@ -135,7 +135,7 @@ { if ( !m_statusBar ) { QWidget* w = static_cast(parent())->widget(); - KMainWindow* mw = dynamic_cast( w->topLevelWidget() ); + KMainWindow* mw = NULL; //dynamic_cast( w->topLevelWidget() ); if ( mw ) m_statusBar = mw->statusBar(); } --- kdenox.orig/konq-embed/src/mainwindow_road.cc 2008-01-29 13:47:14.000000000 +0100 +++ kdenox/konq-embed/src/mainwindow_road.cc 2008-01-21 17:18:18.000000000 +0100 @@ -408,7 +408,7 @@ m_locationCombo->setCurrentItem( i ); else { - URLCombo* filteringBox = dynamic_cast(m_locationCombo); + URLCombo* filteringBox = static_cast(m_locationCombo); if (filteringBox) filteringBox->addURL( url ); else @@ -595,7 +595,7 @@ } bool enable = false; - if (dynamic_cast(view)->openedByJS()) + if (static_cast(view)->openedByJS()) enable = true; else if ( validTabs > 1 ) enable = true; @@ -661,7 +661,7 @@ } if ( is_clear_permitted ){ - URLCombo* combo = dynamic_cast(m_locationCombo); + URLCombo* combo = static_cast(m_locationCombo); if ( combo ) combo->clearURLHistory(); }