author | ar <ar> | 2004-03-15 19:34:39 (UTC) |
---|---|---|
committer | ar <ar> | 2004-03-15 19:34:39 (UTC) |
commit | ab41047d6404c63b34e18c400cccae1580d6805e (patch) (unidiff) | |
tree | 0360d534614068e6103956bcb45819adeeaa2622 | |
parent | 0de0c28bda1190c1e1df92dfa591c9c555f80fcd (diff) | |
download | opie-ab41047d6404c63b34e18c400cccae1580d6805e.zip opie-ab41047d6404c63b34e18c400cccae1580d6805e.tar.gz opie-ab41047d6404c63b34e18c400cccae1580d6805e.tar.bz2 |
- make opietooth compilable
- correct LIBOPIECORE2 dependencies and namespace's
-rw-r--r-- | noncore/net/opietooth/applet/bluezapplet.cpp | 2 | ||||
-rw-r--r-- | noncore/net/opietooth/applet/config.in | 2 | ||||
-rw-r--r-- | noncore/net/opietooth/blue-pin/config.in | 2 | ||||
-rw-r--r-- | noncore/net/opietooth/config.in.in | 2 | ||||
-rw-r--r-- | noncore/net/opietooth/lib/config.in | 2 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/config.in | 2 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/main.cpp | 2 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/manager.pro | 2 |
8 files changed, 9 insertions, 7 deletions
diff --git a/noncore/net/opietooth/applet/bluezapplet.cpp b/noncore/net/opietooth/applet/bluezapplet.cpp index 93b2c67..8a7f0bc 100644 --- a/noncore/net/opietooth/applet/bluezapplet.cpp +++ b/noncore/net/opietooth/applet/bluezapplet.cpp | |||
@@ -1,221 +1,221 @@ | |||
1 | /* | 1 | /* |
2 | =. This file is part of the OPIE Project | 2 | =. This file is part of the OPIE Project |
3 | .=l. Copyright (c) 2002 Maximilian Reiss <max.reiss@gmx.de> | 3 | .=l. Copyright (c) 2002 Maximilian Reiss <max.reiss@gmx.de> |
4 | .>+-= | 4 | .>+-= |
5 | _;:, .> :=|. This library is free software; you can | 5 | _;:, .> :=|. This library is free software; you can |
6 | .> <, > . <= redistribute it and/or modify it under | 6 | .> <, > . <= redistribute it and/or modify it under |
7 | :=1 )Y*s>-.-- : the terms of the GNU Library General Public | 7 | :=1 )Y*s>-.-- : the terms of the GNU Library General Public |
8 | .="- .-=="i, .._ License as published by the Free Software | 8 | .="- .-=="i, .._ License as published by the Free Software |
9 | - . .-<_> .<> Foundation; either version 2 of the License, | 9 | - . .-<_> .<> Foundation; either version 2 of the License, |
10 | ._= =} : or (at your option) any later version. | 10 | ._= =} : or (at your option) any later version. |
11 | .%+i> _;_. | 11 | .%+i> _;_. |
12 | .i_,=:_. -<s. This library is distributed in the hope that | 12 | .i_,=:_. -<s. This library is distributed in the hope that |
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
14 | : .. .:, . . . without even the implied warranty of | 14 | : .. .:, . . . without even the implied warranty of |
15 | =_ + =;=| MERCHANTABILITY or FITNESS FOR A | 15 | =_ + =;=| MERCHANTABILITY or FITNESS FOR A |
16 | _.=:. : :=>: PARTICULAR PURPOSE. See the GNU | 16 | _.=:. : :=>: PARTICULAR PURPOSE. See the GNU |
17 | ..}^=.= = ; Library General Public License for more | 17 | ..}^=.= = ; Library General Public License for more |
18 | ++= -. . .: details. | 18 | ++= -. . .: details. |
19 | : = ...= . :.=- | 19 | : = ...= . :.=- |
20 | -. .:....=;==+<; You should have received a copy of the GNU | 20 | -. .:....=;==+<; You should have received a copy of the GNU |
21 | -_. . . )=. = Library General Public License along with | 21 | -_. . . )=. = Library General Public License along with |
22 | -- :-= this library; see the file COPYING.LIB. | 22 | -- :-= this library; see the file COPYING.LIB. |
23 | If not, write to the Free Software Foundation, | 23 | If not, write to the Free Software Foundation, |
24 | Inc., 59 Temple Place - Suite 330, | 24 | Inc., 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | 29 | ||
30 | #include "bluezapplet.h" | 30 | #include "bluezapplet.h" |
31 | #include <qapplication.h> | 31 | #include <qapplication.h> |
32 | 32 | ||
33 | #include <qpe/qcopenvelope_qws.h> | 33 | #include <qpe/qcopenvelope_qws.h> |
34 | #include <qpe/config.h> | 34 | #include <qpe/config.h> |
35 | #include <qpe/resource.h> | 35 | #include <qpe/resource.h> |
36 | 36 | ||
37 | #include <opie2/odevice.h> | 37 | #include <opie2/odevice.h> |
38 | 38 | ||
39 | #include <qpoint.h> | 39 | #include <qpoint.h> |
40 | #include <qpainter.h> | 40 | #include <qpainter.h> |
41 | #include <qlayout.h> | 41 | #include <qlayout.h> |
42 | #include <qframe.h> | 42 | #include <qframe.h> |
43 | #include <qpixmap.h> | 43 | #include <qpixmap.h> |
44 | #include <qstring.h> | 44 | #include <qstring.h> |
45 | #include <qtimer.h> | 45 | #include <qtimer.h> |
46 | #include <qpopupmenu.h> | 46 | #include <qpopupmenu.h> |
47 | 47 | ||
48 | #include <device.h> | 48 | #include <device.h> |
49 | 49 | ||
50 | using namespace Opie; | 50 | using namespace Opie::Core; |
51 | 51 | ||
52 | namespace OpieTooth { | 52 | namespace OpieTooth { |
53 | 53 | ||
54 | BluezApplet::BluezApplet( QWidget *parent, const char *name ) : QWidget( parent, name ) { | 54 | BluezApplet::BluezApplet( QWidget *parent, const char *name ) : QWidget( parent, name ) { |
55 | setFixedHeight( 18 ); | 55 | setFixedHeight( 18 ); |
56 | setFixedWidth( 14 ); | 56 | setFixedWidth( 14 ); |
57 | bluezOnPixmap = Resource::loadPixmap( "bluetoothapplet/bluezon" ); | 57 | bluezOnPixmap = Resource::loadPixmap( "bluetoothapplet/bluezon" ); |
58 | bluezOffPixmap = Resource::loadPixmap( "bluetoothapplet/bluezoff" ); | 58 | bluezOffPixmap = Resource::loadPixmap( "bluetoothapplet/bluezoff" ); |
59 | // bluezDiscoveryOnPixmap = Resource::loadPixmap( "bluetoothapplet/magglass" ); | 59 | // bluezDiscoveryOnPixmap = Resource::loadPixmap( "bluetoothapplet/magglass" ); |
60 | startTimer(4000); | 60 | startTimer(4000); |
61 | btDevice = 0; | 61 | btDevice = 0; |
62 | bluezactive = false; | 62 | bluezactive = false; |
63 | bluezDiscoveryActive = false; | 63 | bluezDiscoveryActive = false; |
64 | 64 | ||
65 | } | 65 | } |
66 | 66 | ||
67 | BluezApplet::~BluezApplet() { | 67 | BluezApplet::~BluezApplet() { |
68 | if ( btDevice ) { | 68 | if ( btDevice ) { |
69 | delete btDevice; | 69 | delete btDevice; |
70 | } | 70 | } |
71 | } | 71 | } |
72 | 72 | ||
73 | bool BluezApplet::checkBluezStatus() { | 73 | bool BluezApplet::checkBluezStatus() { |
74 | if (btDevice) { | 74 | if (btDevice) { |
75 | if (btDevice->isLoaded() ) { | 75 | if (btDevice->isLoaded() ) { |
76 | return true; | 76 | return true; |
77 | } else { | 77 | } else { |
78 | return false; | 78 | return false; |
79 | } | 79 | } |
80 | } else { | 80 | } else { |
81 | return false; | 81 | return false; |
82 | } | 82 | } |
83 | } | 83 | } |
84 | 84 | ||
85 | int BluezApplet::setBluezStatus(int c) { | 85 | int BluezApplet::setBluezStatus(int c) { |
86 | 86 | ||
87 | if ( c == 1 ) { | 87 | if ( c == 1 ) { |
88 | switch ( ODevice::inst()->model() ) { | 88 | switch ( ODevice::inst()->model() ) { |
89 | case Model_iPAQ_H39xx: | 89 | case Model_iPAQ_H39xx: |
90 | btDevice = new Device( "/dev/tts/1", "bcsp", "921600" ); | 90 | btDevice = new Device( "/dev/tts/1", "bcsp", "921600" ); |
91 | break; | 91 | break; |
92 | 92 | ||
93 | case Model_iPAQ_H5xxx: | 93 | case Model_iPAQ_H5xxx: |
94 | btDevice = new Device( "/dev/tts/1", "any", "921600" ); | 94 | btDevice = new Device( "/dev/tts/1", "any", "921600" ); |
95 | break; | 95 | break; |
96 | 96 | ||
97 | default: | 97 | default: |
98 | btDevice = new Device( "/dev/ttySB0", "bcsp", "230400" ); | 98 | btDevice = new Device( "/dev/ttySB0", "bcsp", "230400" ); |
99 | break; | 99 | break; |
100 | } | 100 | } |
101 | } else { | 101 | } else { |
102 | if ( btDevice ) { | 102 | if ( btDevice ) { |
103 | delete btDevice; | 103 | delete btDevice; |
104 | btDevice = 0; | 104 | btDevice = 0; |
105 | } | 105 | } |
106 | } | 106 | } |
107 | return 0; | 107 | return 0; |
108 | } | 108 | } |
109 | 109 | ||
110 | int BluezApplet::checkBluezDiscoveryStatus() { | 110 | int BluezApplet::checkBluezDiscoveryStatus() { |
111 | } | 111 | } |
112 | 112 | ||
113 | int BluezApplet::setBluezDiscoveryStatus(int d) { | 113 | int BluezApplet::setBluezDiscoveryStatus(int d) { |
114 | } | 114 | } |
115 | 115 | ||
116 | void BluezApplet::mousePressEvent( QMouseEvent *) { | 116 | void BluezApplet::mousePressEvent( QMouseEvent *) { |
117 | 117 | ||
118 | QPopupMenu *menu = new QPopupMenu(); | 118 | QPopupMenu *menu = new QPopupMenu(); |
119 | QPopupMenu *signal = new QPopupMenu(); | 119 | QPopupMenu *signal = new QPopupMenu(); |
120 | int ret=0; | 120 | int ret=0; |
121 | 121 | ||
122 | /* Refresh active state */ | 122 | /* Refresh active state */ |
123 | timerEvent( 0 ); | 123 | timerEvent( 0 ); |
124 | 124 | ||
125 | 125 | ||
126 | if (bluezactive) { | 126 | if (bluezactive) { |
127 | menu->insertItem( tr("Disable Bluetooth"), 0 ); | 127 | menu->insertItem( tr("Disable Bluetooth"), 0 ); |
128 | } else { | 128 | } else { |
129 | menu->insertItem( tr("Enable Bluetooth"), 1 ); | 129 | menu->insertItem( tr("Enable Bluetooth"), 1 ); |
130 | } | 130 | } |
131 | 131 | ||
132 | menu->insertItem( tr("Launch manager"), 2 ); | 132 | menu->insertItem( tr("Launch manager"), 2 ); |
133 | 133 | ||
134 | menu->insertSeparator(6); | 134 | menu->insertSeparator(6); |
135 | //menu->insertItem( tr("Signal strength"), signal, 5); | 135 | //menu->insertItem( tr("Signal strength"), signal, 5); |
136 | //menu->insertSeparator(8); | 136 | //menu->insertSeparator(8); |
137 | 137 | ||
138 | if (bluezDiscoveryActive) { | 138 | if (bluezDiscoveryActive) { |
139 | menu->insertItem( tr("Disable discovery"), 3 ); | 139 | menu->insertItem( tr("Disable discovery"), 3 ); |
140 | } else { | 140 | } else { |
141 | menu->insertItem( tr("Enable discovery"), 4 ); | 141 | menu->insertItem( tr("Enable discovery"), 4 ); |
142 | } | 142 | } |
143 | 143 | ||
144 | 144 | ||
145 | QPoint p = mapToGlobal( QPoint(1, -menu->sizeHint().height()-1) ); | 145 | QPoint p = mapToGlobal( QPoint(1, -menu->sizeHint().height()-1) ); |
146 | ret = menu->exec(p, 0); | 146 | ret = menu->exec(p, 0); |
147 | 147 | ||
148 | switch(ret) { | 148 | switch(ret) { |
149 | case 0: | 149 | case 0: |
150 | setBluezStatus(0); | 150 | setBluezStatus(0); |
151 | timerEvent( 0 ); | 151 | timerEvent( 0 ); |
152 | break; | 152 | break; |
153 | case 1: | 153 | case 1: |
154 | setBluezStatus(1); | 154 | setBluezStatus(1); |
155 | timerEvent( 0 ); | 155 | timerEvent( 0 ); |
156 | break; | 156 | break; |
157 | case 2: | 157 | case 2: |
158 | // start bluetoothmanager | 158 | // start bluetoothmanager |
159 | launchManager(); | 159 | launchManager(); |
160 | timerEvent( 0 ); | 160 | timerEvent( 0 ); |
161 | break; | 161 | break; |
162 | case 3: | 162 | case 3: |
163 | setBluezDiscoveryStatus(0); | 163 | setBluezDiscoveryStatus(0); |
164 | timerEvent( 0 ); | 164 | timerEvent( 0 ); |
165 | break; | 165 | break; |
166 | case 4: | 166 | case 4: |
167 | setBluezDiscoveryStatus(1); | 167 | setBluezDiscoveryStatus(1); |
168 | timerEvent(0 ); | 168 | timerEvent(0 ); |
169 | break; | 169 | break; |
170 | //case 7: | 170 | //case 7: |
171 | // With table of currently-detected devices. | 171 | // With table of currently-detected devices. |
172 | } | 172 | } |
173 | 173 | ||
174 | delete signal; | 174 | delete signal; |
175 | delete menu; | 175 | delete menu; |
176 | } | 176 | } |
177 | 177 | ||
178 | 178 | ||
179 | /** | 179 | /** |
180 | * Launches the bluetooth manager | 180 | * Launches the bluetooth manager |
181 | */ | 181 | */ |
182 | void BluezApplet::launchManager() { | 182 | void BluezApplet::launchManager() { |
183 | QCopEnvelope e("QPE/System", "execute(QString)"); | 183 | QCopEnvelope e("QPE/System", "execute(QString)"); |
184 | e << QString("bluetooth-manager"); | 184 | e << QString("bluetooth-manager"); |
185 | } | 185 | } |
186 | 186 | ||
187 | /** | 187 | /** |
188 | * Refresh timer | 188 | * Refresh timer |
189 | * @param the timer event | 189 | * @param the timer event |
190 | */ | 190 | */ |
191 | void BluezApplet::timerEvent( QTimerEvent * ) { | 191 | void BluezApplet::timerEvent( QTimerEvent * ) { |
192 | bool oldactive = bluezactive; | 192 | bool oldactive = bluezactive; |
193 | int olddiscovery = bluezDiscoveryActive; | 193 | int olddiscovery = bluezDiscoveryActive; |
194 | 194 | ||
195 | bluezactive = checkBluezStatus(); | 195 | bluezactive = checkBluezStatus(); |
196 | bluezDiscoveryActive = checkBluezDiscoveryStatus(); | 196 | bluezDiscoveryActive = checkBluezDiscoveryStatus(); |
197 | 197 | ||
198 | if ((bluezactive != oldactive) || (bluezDiscoveryActive != olddiscovery)) { | 198 | if ((bluezactive != oldactive) || (bluezDiscoveryActive != olddiscovery)) { |
199 | update(); | 199 | update(); |
200 | } | 200 | } |
201 | } | 201 | } |
202 | 202 | ||
203 | /** | 203 | /** |
204 | * Implementation of the paint event | 204 | * Implementation of the paint event |
205 | * @param the QPaintEvent | 205 | * @param the QPaintEvent |
206 | */ | 206 | */ |
207 | void BluezApplet::paintEvent( QPaintEvent* ) { | 207 | void BluezApplet::paintEvent( QPaintEvent* ) { |
208 | QPainter p(this); | 208 | QPainter p(this); |
209 | qDebug("paint bluetooth pixmap"); | 209 | qDebug("paint bluetooth pixmap"); |
210 | 210 | ||
211 | if (bluezactive > 0) { | 211 | if (bluezactive > 0) { |
212 | p.drawPixmap( 0, 1, bluezOnPixmap ); | 212 | p.drawPixmap( 0, 1, bluezOnPixmap ); |
213 | } else { | 213 | } else { |
214 | p.drawPixmap( 0, 1, bluezOffPixmap ); | 214 | p.drawPixmap( 0, 1, bluezOffPixmap ); |
215 | } | 215 | } |
216 | 216 | ||
217 | if (bluezDiscoveryActive > 0) { | 217 | if (bluezDiscoveryActive > 0) { |
218 | p.drawPixmap( 0, 1, bluezDiscoveryOnPixmap ); | 218 | p.drawPixmap( 0, 1, bluezDiscoveryOnPixmap ); |
219 | } | 219 | } |
220 | } | 220 | } |
221 | }; | 221 | }; |
diff --git a/noncore/net/opietooth/applet/config.in b/noncore/net/opietooth/applet/config.in index 59fdeb4..ee37ed6 100644 --- a/noncore/net/opietooth/applet/config.in +++ b/noncore/net/opietooth/applet/config.in | |||
@@ -1,4 +1,4 @@ | |||
1 | config OPIETOOTH-APPLET | 1 | config OPIETOOTH-APPLET |
2 | boolean | 2 | boolean |
3 | default "y" | 3 | default "y" |
4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE && OPIETOOTH && LIBOPIETOOTH | 4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIECORE2 && OPIETOOTH && LIBOPIETOOTH |
diff --git a/noncore/net/opietooth/blue-pin/config.in b/noncore/net/opietooth/blue-pin/config.in index 4b9f3ca..93bc70c 100644 --- a/noncore/net/opietooth/blue-pin/config.in +++ b/noncore/net/opietooth/blue-pin/config.in | |||
@@ -1,4 +1,4 @@ | |||
1 | config BLUE-PIN | 1 | config BLUE-PIN |
2 | boolean "opie-bluepin (Bluetooth pin application)" | 2 | boolean "opie-bluepin (Bluetooth pin application)" |
3 | default "y" | 3 | default "y" |
4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE && OPIETOOTH | 4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIECORE2 && OPIETOOTH |
diff --git a/noncore/net/opietooth/config.in.in b/noncore/net/opietooth/config.in.in index 4f1b974..afb0891 100644 --- a/noncore/net/opietooth/config.in.in +++ b/noncore/net/opietooth/config.in.in | |||
@@ -1,7 +1,7 @@ | |||
1 | config OPIETOOTH | 1 | config OPIETOOTH |
2 | bool "Bluetooth support" | 2 | bool "Bluetooth support" |
3 | depends (LIBQPE || LIBQPE-X11) && LIBOPIE | 3 | depends (LIBQPE || LIBQPE-X11) && LIBOPIECORE2 |
4 | 4 | ||
5 | if OPIETOOTH | 5 | if OPIETOOTH |
6 | @sources@ | 6 | @sources@ |
7 | endif | 7 | endif |
diff --git a/noncore/net/opietooth/lib/config.in b/noncore/net/opietooth/lib/config.in index b966dce..7be2575 100644 --- a/noncore/net/opietooth/lib/config.in +++ b/noncore/net/opietooth/lib/config.in | |||
@@ -1,4 +1,4 @@ | |||
1 | config LIBOPIETOOTH | 1 | config LIBOPIETOOTH |
2 | boolean "libopietooth1 (Opie Bluetooth library)" | 2 | boolean "libopietooth1 (Opie Bluetooth library)" |
3 | default "y" | 3 | default "y" |
4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE && OPIETOOTH | 4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIECORE2 && OPIETOOTH |
diff --git a/noncore/net/opietooth/manager/config.in b/noncore/net/opietooth/manager/config.in index de9aa2e..2f06e37 100644 --- a/noncore/net/opietooth/manager/config.in +++ b/noncore/net/opietooth/manager/config.in | |||
@@ -1,4 +1,4 @@ | |||
1 | config OPIETOOTH-MANAGER | 1 | config OPIETOOTH-MANAGER |
2 | boolean "opie-bluetoothmanager (Bluetooth manager)" | 2 | boolean "opie-bluetoothmanager (Bluetooth manager)" |
3 | default "y" | 3 | default "y" |
4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE && OPIETOOTH && LIBOPIETOOTH | 4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIECORE2 && OPIETOOTH && LIBOPIETOOTH |
diff --git a/noncore/net/opietooth/manager/main.cpp b/noncore/net/opietooth/manager/main.cpp index a96f128..c7b59a2 100644 --- a/noncore/net/opietooth/manager/main.cpp +++ b/noncore/net/opietooth/manager/main.cpp | |||
@@ -1,27 +1,29 @@ | |||
1 | /* | 1 | /* |
2 | using namespace Opie::Core; | 2 | using namespace Opie::Core; |
3 | using namespace Opie::Core; | 3 | using namespace Opie::Core; |
4 | * main.cpp | 4 | * main.cpp |
5 | * | 5 | * |
6 | * --------------------- | 6 | * --------------------- |
7 | * | 7 | * |
8 | * begin : Sun 10 17:20:00 CEST 2002 | 8 | * begin : Sun 10 17:20:00 CEST 2002 |
9 | * copyright : (c) 2002 by Maximilian Reiß | 9 | * copyright : (c) 2002 by Maximilian Reiß |
10 | * email : max.reiss@gmx.de | 10 | * email : max.reiss@gmx.de |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | /*************************************************************************** | 13 | /*************************************************************************** |
14 | * * | 14 | * * |
15 | * This program is free software; you can redistribute it and/or modify * | 15 | * This program is free software; you can redistribute it and/or modify * |
16 | * it under the terms of the GNU General Public License as published by * | 16 | * it under the terms of the GNU General Public License as published by * |
17 | * the Free Software Foundation; either version 2 of the License, or * | 17 | * the Free Software Foundation; either version 2 of the License, or * |
18 | * (at your option) any later version. * | 18 | * (at your option) any later version. * |
19 | * * | 19 | * * |
20 | ***************************************************************************/ | 20 | ***************************************************************************/ |
21 | 21 | ||
22 | #include "bluebase.h" | 22 | #include "bluebase.h" |
23 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
24 | #include <opie2/oapplicationfactory.h> | 24 | #include <opie2/oapplicationfactory.h> |
25 | 25 | ||
26 | using namespace Opie::Core; | ||
27 | |||
26 | OPIE_EXPORT_APP( OApplicationFactory<OpieTooth::BlueBase> ) | 28 | OPIE_EXPORT_APP( OApplicationFactory<OpieTooth::BlueBase> ) |
27 | 29 | ||
diff --git a/noncore/net/opietooth/manager/manager.pro b/noncore/net/opietooth/manager/manager.pro index 005a2d7..e352398 100644 --- a/noncore/net/opietooth/manager/manager.pro +++ b/noncore/net/opietooth/manager/manager.pro | |||
@@ -1,30 +1,30 @@ | |||
1 | CONFIG = qt warn_on release quick-app | 1 | CONFIG = qt warn_on release quick-app |
2 | HEADERS = btconnectionitem.h btdeviceitem.h \ | 2 | HEADERS = btconnectionitem.h btdeviceitem.h \ |
3 | btserviceitem.h stdpopups.h \ | 3 | btserviceitem.h stdpopups.h \ |
4 | popuphelper.h bluebase.h \ | 4 | popuphelper.h bluebase.h \ |
5 | scandialog.h btlistitem.h \ | 5 | scandialog.h btlistitem.h \ |
6 | hciconfwrapper.h bticonloader.h \ | 6 | hciconfwrapper.h bticonloader.h \ |
7 | pppdialog.h obexdialog.h \ | 7 | pppdialog.h obexdialog.h \ |
8 | rfcommassigndialogimpl.h rfcommassigndialogitem.h \ | 8 | rfcommassigndialogimpl.h rfcommassigndialogitem.h \ |
9 | devicehandler.h rfcpopup.h obexpopup.h \ | 9 | devicehandler.h rfcpopup.h obexpopup.h \ |
10 | rfcommhelper.h panpopup.h dunpopup.h rfcommconfhandler.h | 10 | rfcommhelper.h panpopup.h dunpopup.h rfcommconfhandler.h |
11 | 11 | ||
12 | SOURCES = btconnectionitem.cpp btdeviceitem.cpp \ | 12 | SOURCES = btconnectionitem.cpp btdeviceitem.cpp \ |
13 | btserviceitem.cpp stdpopups.cpp \ | 13 | btserviceitem.cpp stdpopups.cpp \ |
14 | popuphelper.cpp main.cpp \ | 14 | popuphelper.cpp main.cpp \ |
15 | bluebase.cpp scandialog.cpp \ | 15 | bluebase.cpp scandialog.cpp \ |
16 | btlistitem.cpp hciconfwrapper.cpp \ | 16 | btlistitem.cpp hciconfwrapper.cpp \ |
17 | bticonloader.cpp pppdialog.cpp \ | 17 | bticonloader.cpp pppdialog.cpp \ |
18 | rfcommassigndialogimpl.cpp rfcommassigndialogitem.cpp \ | 18 | rfcommassigndialogimpl.cpp rfcommassigndialogitem.cpp \ |
19 | obexdialog.cpp devicehandler.cpp \ | 19 | obexdialog.cpp devicehandler.cpp \ |
20 | rfcpopup.cpp obexpopup.cpp \ | 20 | rfcpopup.cpp obexpopup.cpp \ |
21 | rfcommhelper.cpp panpopup.cpp dunpopup.cpp rfcommconfhandler.cpp | 21 | rfcommhelper.cpp panpopup.cpp dunpopup.cpp rfcommconfhandler.cpp |
22 | INCLUDEPATH += $(OPIEDIR)/include | 22 | INCLUDEPATH += $(OPIEDIR)/include |
23 | INCLUDEPATH += $(OPIEDIR)/noncore/net/opietooth/lib | 23 | INCLUDEPATH += $(OPIEDIR)/noncore/net/opietooth/lib |
24 | DEPENDPATH += $(OPIEDIR)/include | 24 | DEPENDPATH += $(OPIEDIR)/include |
25 | LIBS += -lqpe -lopietooth -lopie | 25 | LIBS += -lqpe -lopietooth -lopiecore2 |
26 | INTERFACES = bluetoothbase.ui devicedialog.ui rfcommassigndialogbase.ui rfcommdialogitembase.ui | 26 | INTERFACES = bluetoothbase.ui devicedialog.ui rfcommassigndialogbase.ui rfcommdialogitembase.ui |
27 | 27 | ||
28 | TARGET = bluetooth-manager | 28 | TARGET = bluetooth-manager |
29 | 29 | ||
30 | include ( $(OPIEDIR)/include.pro ) | 30 | include ( $(OPIEDIR)/include.pro ) |