



########### next target ###############

set(kpf_panelapplet_PART_SRCS 
   Utils.cpp 
   DirectoryLister.cpp 
   ByteRange.cpp 
   DirSelectWidget.cpp 
   PortValidator.cpp 
   Request.cpp 
   Response.cpp 
   Resource.cpp 
   RootValidator.cpp 
   Server.cpp 
   ServerPrivate.cpp 
   ServerSocket.cpp 
   WebServer.cpp 
   WebServerSocket.cpp 
   WebServerManager.cpp 
   SingleServerConfigDialog.cpp 
   System.cpp 
   ConfigDialogPage.cpp 
   ErrorMessageConfigDialog.cpp 
   ActiveMonitor.cpp 
   ActiveMonitorItem.cpp 
   ActiveMonitorWindow.cpp 
   BandwidthGraph.cpp 
   ServerWizard.cpp 
   AppletItem.cpp 
   Applet.cpp 
   Defaults.cpp 
   Help.cpp )

kde4_automoc(${kpf_panelapplet_PART_SRCS})

message(FATAL_ERROR "DCOP stuff was removed in kde4, convert it to dbus please")

#kde4_add_dcop_skels(kpf_panelapplet_PART_SRCS WebServer.h WebServerManager.h )

#kde4_add_dcop_stubs(kpf_panelapplet_PART_SRCS WebServer.h )

kde4_add_plugin(kpf_panelapplet ${kpf_panelapplet_PART_SRCS})


target_link_libraries(kpf_panelapplet  ${KDE4_KDE3SUPPORT_LIBS} ${QT_QTNETWORK_LIBRARY} ${KDE4_KDNSSD_LIBS} kickermain )

install(TARGETS kpf_panelapplet  DESTINATION ${PLUGIN_INSTALL_DIR})


########### next target ###############

set(kpfpropertiesdialog_PART_SRCS 
   PropertiesDialogPlugin.cpp 
   StartingKPFDialog.cpp 
   Defaults.cpp 
   Help.cpp )

kde4_automoc(${kpfpropertiesdialog_PART_SRCS})

message(FATAL_ERROR "DCOP stuff was removed in kde4, convert it to dbus please")

#kde4_add_dcop_stubs(kpfpropertiesdialog_PART_SRCS WebServer.h WebServerManager.h )

kde4_add_plugin(kpfpropertiesdialog ${kpfpropertiesdialog_PART_SRCS})


target_link_libraries(kpfpropertiesdialog  ${KDE4_KDE3SUPPORT_LIBS} ${KDE4_KDNSSD_LIBS} )

install(TARGETS kpfpropertiesdialog  DESTINATION ${PLUGIN_INSTALL_DIR})


########### install files ###############





