diff options
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | client/resourceaccess.cpp | 2 | ||||
-rw-r--r-- | synchronizer/CMakeLists.txt (renamed from resource/CMakeLists.txt) | 6 | ||||
-rw-r--r-- | synchronizer/listener.cpp (renamed from resource/listener.cpp) | 0 | ||||
-rw-r--r-- | synchronizer/listener.h (renamed from resource/listener.h) | 0 | ||||
-rw-r--r-- | synchronizer/main.cpp (renamed from resource/main.cpp) | 0 |
6 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e8b6f23..0ead220 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -44,8 +44,8 @@ add_subdirectory(common) | |||
44 | # the client | 44 | # the client |
45 | add_subdirectory(client) | 45 | add_subdirectory(client) |
46 | 46 | ||
47 | # the resource | 47 | # the synchronizer |
48 | add_subdirectory(resource) | 48 | add_subdirectory(synchronizer) |
49 | 49 | ||
50 | # a simple dummy resource implementation | 50 | # a simple dummy resource implementation |
51 | add_subdirectory(dummyresource) | 51 | add_subdirectory(dummyresource) |
diff --git a/client/resourceaccess.cpp b/client/resourceaccess.cpp index 6f1e114..fce8ca6 100644 --- a/client/resourceaccess.cpp +++ b/client/resourceaccess.cpp | |||
@@ -104,7 +104,7 @@ void ResourceAccess::connectionError(QLocalSocket::LocalSocketError error) | |||
104 | log(QString("Attempting to start resource ") + m_resourceName); | 104 | log(QString("Attempting to start resource ") + m_resourceName); |
105 | QStringList args; | 105 | QStringList args; |
106 | args << m_resourceName; | 106 | args << m_resourceName; |
107 | if (QProcess::startDetached("akonadinext_resource", args)) { | 107 | if (QProcess::startDetached("akonadinext_synchronizer", args)) { |
108 | m_socket->open(); | 108 | m_socket->open(); |
109 | } | 109 | } |
110 | } | 110 | } |
diff --git a/resource/CMakeLists.txt b/synchronizer/CMakeLists.txt index 1c21b1a..92cb465 100644 --- a/resource/CMakeLists.txt +++ b/synchronizer/CMakeLists.txt | |||
@@ -1,13 +1,13 @@ | |||
1 | project(akonadinext_resource) | 1 | project(akonadinext_synchronizer) |
2 | 2 | ||
3 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) | 3 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) |
4 | 4 | ||
5 | set(akonadinextresource_SRCS | 5 | set(akonadinextsynchronizer_SRCS |
6 | main.cpp | 6 | main.cpp |
7 | listener.cpp | 7 | listener.cpp |
8 | ) | 8 | ) |
9 | 9 | ||
10 | add_executable(${PROJECT_NAME} ${akonadinextresource_SRCS}) | 10 | add_executable(${PROJECT_NAME} ${akonadinextsynchronizer_SRCS}) |
11 | target_link_libraries(${PROJECT_NAME} akonadinextcommon) | 11 | target_link_libraries(${PROJECT_NAME} akonadinextcommon) |
12 | qt5_use_modules(${PROJECT_NAME} Widgets Network) | 12 | qt5_use_modules(${PROJECT_NAME} Widgets Network) |
13 | install(TARGETS ${PROJECT_NAME} DESTINATION bin) | 13 | install(TARGETS ${PROJECT_NAME} DESTINATION bin) |
diff --git a/resource/listener.cpp b/synchronizer/listener.cpp index 23a5a70..23a5a70 100644 --- a/resource/listener.cpp +++ b/synchronizer/listener.cpp | |||
diff --git a/resource/listener.h b/synchronizer/listener.h index dcc3818..dcc3818 100644 --- a/resource/listener.h +++ b/synchronizer/listener.h | |||
diff --git a/resource/main.cpp b/synchronizer/main.cpp index 91c0a9a..91c0a9a 100644 --- a/resource/main.cpp +++ b/synchronizer/main.cpp | |||