disable the (already unused) knewstuff2 stuff from compilation and installation

svn path=/trunk/KDE/kdegraphics/okular/; revision=1066279
This commit is contained in:
Pino Toscano 2009-12-26 16:23:36 +00:00
parent 27f6d2dd65
commit 52ce4cc095
3 changed files with 7 additions and 1 deletions

View file

@ -172,7 +172,7 @@ qt4_add_dbus_interfaces(okularpart_SRCS ${KDE4_DBUS_INTERFACES_DIR}/org.kde.KSpe
kde4_add_plugin(okularpart ${okularpart_SRCS})
target_link_libraries(okularpart okularcore ${KDE4_KPARTS_LIBS} ${KDE4_KUTILS_LIBS} ${KDE4_KNEWSTUFF2_LIBS} ${MATH_LIB} ${QIMAGEBLITZ_LIBRARIES} ${KDE4_PHONON_LIBRARY})
target_link_libraries(okularpart okularcore ${KDE4_KPARTS_LIBS} ${KDE4_KUTILS_LIBS} ${MATH_LIB} ${QIMAGEBLITZ_LIBRARIES} ${KDE4_PHONON_LIBRARY})
install(TARGETS okularpart DESTINATION ${PLUGIN_INSTALL_DIR})

View file

@ -55,7 +55,9 @@
#include <kio/job.h>
#include <kicon.h>
#include <kfilterdev.h>
#if 0
#include <knewstuff2/engine.h>
#endif
#include <kdeprintdialog.h>
#include <kprintpreview.h>
@ -1574,11 +1576,13 @@ void Part::slotSaveCopyAs()
void Part::slotGetNewStuff()
{
#if 0
KNS::Engine engine(widget());
engine.init( "okular.knsrc" );
// show the modal dialog over pageview and execute it
KNS::Entry::List entries = engine.downloadDialogModal( m_pageView );
Q_UNUSED( entries )
#endif
}

View file

@ -47,7 +47,9 @@ install(FILES
# install misc images
# newstuff
if (FALSE)
install(FILES
okular.knsrc
DESTINATION ${CONFIG_INSTALL_DIR})
endif (FALSE)