summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/blue-pin/main.cc
Unidiff
Diffstat (limited to 'noncore/net/opietooth/blue-pin/main.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/blue-pin/main.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/net/opietooth/blue-pin/main.cc b/noncore/net/opietooth/blue-pin/main.cc
index 1b7daec..aa360aa 100644
--- a/noncore/net/opietooth/blue-pin/main.cc
+++ b/noncore/net/opietooth/blue-pin/main.cc
@@ -1,30 +1,29 @@
1#include <stdio.h> 1#include <stdio.h>
2#include <stdlib.h> 2#include <stdlib.h>
3 3
4 4
5#include <qpe/qpeapplication.h> 5#include <qpe/qpeapplication.h>
6#include <qpe/config.h>
7 6
8#include "pindlg.h" 7#include "pindlg.h"
9 8
10 9
11int main( int argc, char* argv[] ) 10int main( int argc, char* argv[] )
12{ 11{
13 if (argc < 2 ) { 12 if (argc < 2 ) {
14 printf("ERR\n"); 13 printf("ERR\n");
15 exit(0); 14 exit(0);
16 } 15 }
17 QCString dir(argv[1] ); 16 QCString dir(argv[1] );
18 QCString bdaddr( argv[2] ); 17 QCString bdaddr( argv[2] );
19 QCString name; 18 QCString name;
20 if ( argc > 3 ) { 19 if ( argc > 3 ) {
21 name = argv[3]; 20 name = argv[3];
22 } 21 }
23 QPEApplication a(argc, argv ); 22 QPEApplication a(argc, argv );
24 QString status; 23 QString status;
25 if (dir == "out" ) { 24 if (dir == "out" ) {
26 status = QObject::tr("Outgoing connection to "); 25 status = QObject::tr("Outgoing connection to ");
27 }else 26 }else
28 status = QObject::tr("Incoming connection from "); 27 status = QObject::tr("Incoming connection from ");
29 status += name; 28 status += name;
30 status += "<br>"; 29 status += "<br>";