Signed-off-by: gregory guy <g-gregory@gmx.fr>pull/4/head
parent
a12b8a25b3
commit
0c9ae9a8a2
@ -1,3 +1,4 @@
|
|||||||
tde_conditional_add_subdirectory( BUILD_QUANTA quanta )
|
tde_conditional_add_subdirectory( BUILD_QUANTA quanta )
|
||||||
tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor )
|
tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor )
|
||||||
tde_conditional_add_subdirectory( BUILD_KOMMANDER kommander )
|
tde_conditional_add_subdirectory( BUILD_KOMMANDER kommander )
|
||||||
|
tde_conditional_add_subdirectory( BUILD_KLINKSTATUS klinkstatus )
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
tde_create_handbook( DESTINATION klinkstatus )
|
@ -0,0 +1,2 @@
|
|||||||
|
add_subdirectory( data )
|
||||||
|
add_subdirectory( src )
|
@ -0,0 +1,2 @@
|
|||||||
|
add_subdirectory( icons )
|
||||||
|
add_subdirectory( styles )
|
@ -0,0 +1,7 @@
|
|||||||
|
add_subdirectory( 16x16 )
|
||||||
|
|
||||||
|
|
||||||
|
##### icons #####################################
|
||||||
|
|
||||||
|
tde_install_icons( klinkstatus )
|
||||||
|
|
@ -0,0 +1,4 @@
|
|||||||
|
install(
|
||||||
|
FILES results_stylesheet.xsl
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/klinkstatus/styles
|
||||||
|
)
|
@ -0,0 +1,63 @@
|
|||||||
|
add_subdirectory( cfg )
|
||||||
|
add_subdirectory( utils )
|
||||||
|
add_subdirectory( parser )
|
||||||
|
add_subdirectory( engine )
|
||||||
|
add_subdirectory( ui )
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/src/cfg
|
||||||
|
${CMAKE_SOURCE_DIR}/src/parser
|
||||||
|
${CMAKE_SOURCE_DIR}/src/ui
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${LIBXML_INCLUDE_DIRS}
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### klinkstatus (executable)
|
||||||
|
|
||||||
|
tde_add_executable( klinkstatus AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
klinkstatus.cpp
|
||||||
|
main.cpp
|
||||||
|
LINK
|
||||||
|
tdecore-shared
|
||||||
|
tdeui-shared
|
||||||
|
tdeparts-shared
|
||||||
|
klinkstatus-parser-static
|
||||||
|
|
||||||
|
DESTINATION ${BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data ################################
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES klinkstatus_shell.rc
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/klinkstatus
|
||||||
|
)
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES klinkstatus.desktop
|
||||||
|
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES klinkstatus_part.desktop
|
||||||
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES klinkstatus_part.rc
|
||||||
|
DESTINATION ${DATA_INSTALL_DIR}/klinkstatuspart
|
||||||
|
)
|
@ -0,0 +1,30 @@
|
|||||||
|
# tdewebdev/klinkstatus/src/cfg
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### cfg (static)
|
||||||
|
|
||||||
|
tde_add_library( cfg STATIC_PIC AUTOMOC
|
||||||
|
|
||||||
|
SOURCES dummy.cpp klsconfig.kcfgc
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data
|
||||||
|
|
||||||
|
install(
|
||||||
|
FILES klinkstatus.kcfg
|
||||||
|
DESTINATION ${KCFG_INSTALL_DIR}
|
||||||
|
)
|
@ -0,0 +1,27 @@
|
|||||||
|
# klinkstatus/src/engine
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_SOURCE_DIR}/src/ui
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### engine (static)
|
||||||
|
|
||||||
|
tde_add_library( engine STATIC_PIC AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
linkchecker.cpp linkstatus.cpp
|
||||||
|
searchmanager.cpp linkfilter.cpp
|
||||||
|
LINK
|
||||||
|
tdehtml-shared
|
||||||
|
)
|
@ -0,0 +1,24 @@
|
|||||||
|
# tdewebdev/klinkstatus/src/parser
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### parser (static)
|
||||||
|
|
||||||
|
tde_add_library( klinkstatus-parser STATIC_PIC AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
htmlparser.cpp http.cpp
|
||||||
|
mstring.cpp node.cpp url.cpp
|
||||||
|
)
|
@ -0,0 +1,34 @@
|
|||||||
|
# tdewebdev/klinkstatus/src/ui
|
||||||
|
|
||||||
|
add_subdirectory( settings )
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_SOURCE_DIR}/src
|
||||||
|
${CMAKE_BINARY_DIR}/klinkstatus/src/cfg
|
||||||
|
${CMAKE_BINARY_DIR}/klinkstatus/src
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### ui (static)
|
||||||
|
|
||||||
|
tde_add_library( ui STATIC_PIC AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
sessionwidgetbase.ui
|
||||||
|
sessionwidget.cpp tabwidgetsession.cpp
|
||||||
|
klshistorycombo.cpp resultview.cpp
|
||||||
|
treeview.cpp resultssearchbar.cpp
|
||||||
|
documentrootdialog.cpp
|
||||||
|
LINK
|
||||||
|
cfg-static
|
||||||
|
)
|
@ -0,0 +1,27 @@
|
|||||||
|
# klinkstatus/src/ui/settings
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${CMAKE_BINARY_DIR}/klinkstatus/src/cfg
|
||||||
|
${CMAKE_BINARY_DIR}/klinkstatus/src
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### settings (static)
|
||||||
|
|
||||||
|
tde_add_library( settings STATIC_PIC AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
configsearchdialog.ui configresultsdialog.ui
|
||||||
|
configidentificationdialogui.ui dummy.cpp
|
||||||
|
configidentificationdialog.cpp
|
||||||
|
)
|
@ -0,0 +1,23 @@
|
|||||||
|
# tdewebdev/klinkstatus/src/utils
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${LIBXML_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
${TDE_LIB_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### utils (static)
|
||||||
|
|
||||||
|
tde_add_library( utils STATIC_PIC AUTOMOC
|
||||||
|
|
||||||
|
SOURCES utils.cpp xsl.cpp
|
||||||
|
)
|
Loading…
Reference in new issue