Diffstat (limited to 'core/launcher/transferserver.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/launcher/transferserver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/launcher/transferserver.cpp b/core/launcher/transferserver.cpp index a5e20b2..e32cf41 100644 --- a/core/launcher/transferserver.cpp +++ b/core/launcher/transferserver.cpp | |||
@@ -50,24 +50,25 @@ | |||
50 | #include <qtopia/private/contact.h> | 50 | #include <qtopia/private/contact.h> |
51 | #include <qtopia/version.h> | 51 | #include <qtopia/version.h> |
52 | #ifdef Q_WS_QWS | 52 | #ifdef Q_WS_QWS |
53 | #include <qtopia/qcopenvelope_qws.h> | 53 | #include <qtopia/qcopenvelope_qws.h> |
54 | #endif | 54 | #endif |
55 | 55 | ||
56 | 56 | ||
57 | #include "transferserver.h" | 57 | #include "transferserver.h" |
58 | #include <qtopia/qprocess.h> | 58 | #include <qtopia/qprocess.h> |
59 | 59 | ||
60 | const int block_size = 51200; | 60 | const int block_size = 51200; |
61 | 61 | ||
62 | using namespace Opie::Core; | ||
62 | TransferServer::TransferServer( Q_UINT16 port, QObject *parent, | 63 | TransferServer::TransferServer( Q_UINT16 port, QObject *parent, |
63 | const char* name) | 64 | const char* name) |
64 | : QServerSocket( port, 1, parent, name ) | 65 | : QServerSocket( port, 1, parent, name ) |
65 | { | 66 | { |
66 | connections.setAutoDelete( TRUE ); | 67 | connections.setAutoDelete( TRUE ); |
67 | if ( !ok() ) | 68 | if ( !ok() ) |
68 | qWarning( "Failed to bind to port %d", port ); | 69 | qWarning( "Failed to bind to port %d", port ); |
69 | } | 70 | } |
70 | 71 | ||
71 | void TransferServer::authorizeConnections() | 72 | void TransferServer::authorizeConnections() |
72 | { | 73 | { |
73 | QListIterator<ServerPI> it(connections); | 74 | QListIterator<ServerPI> it(connections); |