start adapting to today's api changes

svn path=/trunk/KDE/kdebase/workspace/; revision=619099
This commit is contained in:
Aaron J. Seigo 2007-01-02 19:05:09 +00:00
parent c584b831e7
commit f9752949ef
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ kde4_automoc(${kwin3_b2_PART_SRCS})
kde4_add_plugin(kwin3_b2 ${kwin3_b2_PART_SRCS})
target_link_libraries(kwin3_b2 ${KDE4_KDEFX_LIBS} kdecorations ${QT_QT3SUPPORT_LIBRARY} ${X11_LIBRARIES} ${QT_QTGUI_LIBRARY})
target_link_libraries(kwin3_b2 ${KDE4_KDEFX_LIBS} ${KDE4_KDEUI_LIBS} kdecorations ${QT_QT3SUPPORT_LIBRARY} ${X11_LIBRARIES} ${QT_QTGUI_LIBRARY})
install(TARGETS kwin3_b2 DESTINATION ${PLUGIN_INSTALL_DIR})

View file

@ -328,7 +328,7 @@ NET::WindowType KDecorationPreviewBridge::windowType( unsigned long ) const
QIcon KDecorationPreviewBridge::icon() const
{
return QIcon( KGlobal::iconLoader()->loadIcon( "xapp", K3Icon::NoGroup, 32 ));
return QIcon( kapp->iconLoader()->loadIcon( "xapp", K3Icon::NoGroup, 32 ));
}
QString KDecorationPreviewBridge::caption() const