summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorIvan Čukić <ivan.cukic@kde.org>2012-10-23 19:40:34 +0200
committerIvan Čukić <ivan.cukic@kde.org>2012-10-23 19:40:34 +0200
commit3011d175e9c116d7448cd1b00db59e6be35c9501 (patch)
tree0226cc2615d6a4b3b28dbccfeb41b8636c842a1b /src/tests
parentSVN_SILENT made messages (.desktop file) (diff)
downloadrekonq-3011d175e9c116d7448cd1b00db59e6be35c9501.tar.xz
Rekonq reports the open/close document events to activity manager daemon.
By knowing which window contains which documents and which one is in focus, we can do the following: - collect the statistics about visited pages. Further, this provides a score for each document visited, that depends on the number of times it was open, the time the user spent on that location, and the time passed since the last visit. - availability of a global/workspace applet that allows sharing the current document via e-mail, social networks; bookmarking and rating the link, or connecting it to the current activity. (advantage of this is a unified UI for sharing/rating/linking that works with any application) - jump-lists (not impl. yet in plasma) to list top rated documents on a launcher icon or in the task manager applet - krunner can sort the documents based on the score - more things that I haven't thought of yet There is no need to *use* ativities to have these benefits. Activities just serve as manual data clustering to provide more useful scores compared to the one-activity approach. REVIEW:106912
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/CMakeLists.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
index 176d1e94..560e7755 100644
--- a/src/tests/CMakeLists.txt
+++ b/src/tests/CMakeLists.txt
@@ -3,6 +3,7 @@
SET( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
INCLUDE_DIRECTORIES ( ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/..
${CMAKE_CURRENT_SOURCE_DIR}/..
${CMAKE_CURRENT_SOURCE_DIR}/../adblock
${CMAKE_CURRENT_SOURCE_DIR}/../analyzer
@@ -30,7 +31,7 @@ target_link_libraries( findbar_test
##### ------------- mainwindow test
kde4_add_unit_test( mainwindow_test mainwindow_test.cpp )
-
+
target_link_libraries( mainwindow_test
kdeinit_rekonq
${KDE4_KDECORE_LIBS}
@@ -41,7 +42,7 @@ target_link_libraries( mainwindow_test
##### ------------- mainview test
kde4_add_unit_test( mainview_test mainview_test.cpp )
-
+
target_link_libraries( mainview_test
kdeinit_rekonq
${KDE4_KDECORE_LIBS}
@@ -52,7 +53,7 @@ target_link_libraries( mainview_test
##### ------------- networkaccessmanager test
kde4_add_unit_test( networkaccessmanager_test networkaccessmanager_test.cpp )
-
+
target_link_libraries( networkaccessmanager_test
kdeinit_rekonq
${KDE4_KDECORE_LIBS}
@@ -63,7 +64,7 @@ target_link_libraries( networkaccessmanager_test
##### ------------- protocolhandler test
kde4_add_unit_test( protocolhandler_test protocolhandler_test.cpp )
-
+
target_link_libraries( protocolhandler_test
kdeinit_rekonq
${KDE4_KDECORE_LIBS}
@@ -76,7 +77,7 @@ target_link_libraries( protocolhandler_test
##### ------------- sessionmanager test
kde4_add_unit_test( sessionmanager_test sessionmanager_test.cpp )
-
+
target_link_libraries( sessionmanager_test
kdeinit_rekonq
${KDE4_KDECORE_LIBS}