summaryrefslogtreecommitdiffstats
path: root/src/tor_ioslave
diff options
context:
space:
mode:
Diffstat (limited to 'src/tor_ioslave')
-rw-r--r--src/tor_ioslave/CMakeLists.txt34
-rw-r--r--src/tor_ioslave/torioslave.cpp24
-rw-r--r--src/tor_ioslave/torioslave.h4
3 files changed, 48 insertions, 14 deletions
diff --git a/src/tor_ioslave/CMakeLists.txt b/src/tor_ioslave/CMakeLists.txt
new file mode 100644
index 0000000..922f0a1
--- /dev/null
+++ b/src/tor_ioslave/CMakeLists.txt
@@ -0,0 +1,34 @@
+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}
+)
+
+
+##### tdeio_torioslave (kpart)
+
+tde_add_kpart( tdeio_torioslave AUTOMOC
+
+ SOURCES
+ torioslave.cpp
+ LINK
+ tdecore-shared
+ tdeio-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE torioslave.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/src/tor_ioslave/torioslave.cpp b/src/tor_ioslave/torioslave.cpp
index 1c1e875..c3fc8b0 100644
--- a/src/tor_ioslave/torioslave.cpp
+++ b/src/tor_ioslave/torioslave.cpp
@@ -19,18 +19,10 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#include <ntqcstring.h>
-#include <ntqsocket.h>
-#include <ntqdatetime.h>
-#include <ntqbitarray.h>
-
-#include <stdlib.h>
-#include <math.h>
-#include <unistd.h>
-#include <sys/socket.h>
-#include <sys/types.h>
-#include <netinet/in.h>
-#include <netdb.h>
+#include <tqcstring.h>
+#include <tqsocket.h>
+#include <tqdatetime.h>
+#include <tqbitarray.h>
#include <tdeapplication.h>
#include <kdebug.h>
@@ -48,6 +40,14 @@
#include <krun.h>
#include <kprocio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <unistd.h>
+#include <sys/socket.h>
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <netdb.h>
+
#include "torioslave.h"
using namespace TDEIO;
diff --git a/src/tor_ioslave/torioslave.h b/src/tor_ioslave/torioslave.h
index 5668e3f..ab0efb3 100644
--- a/src/tor_ioslave/torioslave.h
+++ b/src/tor_ioslave/torioslave.h
@@ -22,8 +22,8 @@
#ifndef _tor_H_
#define _tor_H_
-#include <ntqstring.h>
-#include <ntqcstring.h>
+#include <tqstring.h>
+#include <tqcstring.h>
#include <kurl.h>
#include <tdeio/global.h>