summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp98
-rw-r--r--noncore/net/opietooth/manager/bluebase.h40
-rw-r--r--noncore/net/opietooth/manager/bluebase.obin0 -> 4152 bytes
-rw-r--r--noncore/net/opietooth/manager/bluemanager.cpp81
-rw-r--r--noncore/net/opietooth/manager/bluemanager.h41
-rw-r--r--noncore/net/opietooth/manager/bluetoothbase.ui416
-rw-r--r--noncore/net/opietooth/manager/devicedialog.ui250
-rw-r--r--noncore/net/opietooth/manager/main.cpp36
-rw-r--r--noncore/net/opietooth/manager/manager.pro12
-rw-r--r--noncore/net/opietooth/manager/opie-toothmanager.control10
-rw-r--r--noncore/net/opietooth/manager/scandialog.ui155
11 files changed, 1139 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp
new file mode 100644
index 0000000..8ba5e0e
--- a/dev/null
+++ b/noncore/net/opietooth/manager/bluebase.cpp
@@ -0,0 +1,98 @@
1/*
2 * bluebase.cpp *
3 * ---------------------
4 *
5 * begin : Sun 10 17:20:00 CEST 2002
6 * copyright : (c) 2002 by Maximilian Reiß
7 * email : max.reiss@gmx.de
8 *
9 */
10/***************************************************************************
11 * *
12 * This program is free software; you can redistribute it and/or modify *
13 * it under the terms of the GNU General Public License as published by *
14 * the Free Software Foundation; either version 2 of the License, or *
15 * (at your option) any later version. *
16 * *
17 ***************************************************************************/
18
19#include "bluebase.h"
20
21#include <qframe.h>
22#include <qlabel.h>
23#include <qpushbutton.h>
24#include <qlayout.h>
25#include <qvariant.h>
26#include <qwhatsthis.h>
27#include <qimage.h>
28#include <qpixmap.h>
29#include <qtabwidget.h>
30#include <qscrollview.h>
31#include <qvbox.h>
32#include <qapplication.h>
33#include <qcheckbox.h>
34
35#include <qpe/resource.h>
36
37BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl )
38 : QWidget( parent, name, fl ) {
39
40 QWidget *d = QApplication::desktop();
41 int w=d->width();
42 int h=d->height();
43 resize( w , h );
44
45
46 QVBoxLayout * TopLayout = new QVBoxLayout(this);
47 TabWidget = new QTabWidget( this, "TabWidget" );
48 TopLayout->addWidget(TabWidget);
49 TabWidget->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, TabWidget->sizePolicy().hasHeightForWidth() ) );
50 TabWidget->setAutoMask( FALSE );
51 TabWidget->setTabShape( QTabWidget::Rounded );
52
53 Tab = new QWidget( TabWidget, "tab" );
54
55 QVBoxLayout * Layout = new QVBoxLayout(Tab);
56
57 Test = new QLabel( Tab, "test");
58 ScanButton = new QPushButton(Tab, "scanbutton");
59
60 Layout->addWidget(Test);
61 Layout->addWidget(ScanButton);
62
63
64 TabWidget->insertTab( Tab, tr( "Geräte" ) );
65
66
67 TabConn = new QWidget( TabWidget, "tab3" );
68
69 TabWidget->insertTab( TabConn, tr("Connections") );
70
71 TabConf = new QWidget( TabWidget, "tab2" );
72
73 AuthCheckBox = new QCheckBox (TabConf, "auth" );
74 QLabel *AuthLabel = new QLabel( TabConf, "authlabel" );
75 AuthLabel->setText( tr("enable authentification"));
76
77 CryptCheckBox = new QCheckBox (TabConf, "crypt");
78 QLabel *CryptLabel = new QLabel ( TabConf, "cryptlabel");
79 CryptLabel->setText(tr("enable encryption"));
80
81
82 TabWidget->insertTab( TabConf, tr("Configuration"));
83
84
85
86 QPalette pal = this->palette();
87 QColor col = pal.color(QPalette::Active, QColorGroup::Background);
88 pal.setColor(QPalette::Active, QColorGroup::Button, col);
89 pal.setColor(QPalette::Inactive, QColorGroup::Button, col);
90 pal.setColor(QPalette::Normal, QColorGroup::Button, col);
91 pal.setColor(QPalette::Disabled, QColorGroup::Button, col);
92 this->setPalette(pal);
93}
94
95
96BlueBase::~BlueBase(){
97}
98
diff --git a/noncore/net/opietooth/manager/bluebase.h b/noncore/net/opietooth/manager/bluebase.h
new file mode 100644
index 0000000..e2b013e
--- a/dev/null
+++ b/noncore/net/opietooth/manager/bluebase.h
@@ -0,0 +1,40 @@
1
2#ifndef BLUEBASE_H
3#define BLUEBASE_H
4
5#include <qvariant.h>
6#include <qwidget.h>
7#include <qscrollview.h>
8#include <qsplitter.h>
9
10class QVBox;
11class QHBoxLayout;
12class QGridLayout;
13class QFrame;
14class QLabel;
15class QPushButton;
16class QTabWidget;
17class QCheckBox;
18
19class BlueBase : public QWidget
20{
21 Q_OBJECT
22
23public:
24 BlueBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
25 ~BlueBase();
26
27
28
29protected:
30 QTabWidget *TabWidget;
31 QWidget *Tab;
32 QWidget *TabConf;
33 QWidget *TabConn;
34 QCheckBox *AuthCheckBox;
35 QCheckBox *CryptCheckBox;
36 QLabel *Test;
37 QPushButton *ScanButton;
38};
39
40#endif
diff --git a/noncore/net/opietooth/manager/bluebase.o b/noncore/net/opietooth/manager/bluebase.o
new file mode 100644
index 0000000..4a30d6e
--- a/dev/null
+++ b/noncore/net/opietooth/manager/bluebase.o
Binary files differ
diff --git a/noncore/net/opietooth/manager/bluemanager.cpp b/noncore/net/opietooth/manager/bluemanager.cpp
new file mode 100644
index 0000000..ede510f
--- a/dev/null
+++ b/noncore/net/opietooth/manager/bluemanager.cpp
@@ -0,0 +1,81 @@
1/*
2 * today.cpp : main class
3 *
4 * ---------------------
5 *
6 * begin : Sun 10 17:20:00 CEST 2002
7 * copyright : (c) 2002 by Maximilian Reiß
8 * email : max.reiss@gmx.de
9 *
10 */
11/***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. *
17 * *
18 ***************************************************************************/
19
20#include "bluemanager.h"
21
22#include <qpe/timestring.h>
23#include <qpe/config.h>
24#include <qpe/qcopenvelope_qws.h>
25//#include <qpe/qprocess.h>
26#include <qpe/resource.h>
27#include <qpe/contact.h>
28#include <qpe/global.h>
29#include <qpe/qpeapplication.h>
30
31#include <qdir.h>
32#include <qfile.h>
33#include <qdatetime.h>
34#include <qtextstream.h>
35#include <qcheckbox.h>
36#include <qspinbox.h>
37#include <qpushbutton.h>
38#include <qlabel.h>
39#include <qtimer.h>
40#include <qpixmap.h>
41//#include <qfileinfo.h>
42#include <qlayout.h>
43#include <qtl.h>
44
45
46//#include <iostream.h>
47#include <unistd.h>
48#include <stdlib.h>
49
50
51/*
52 * Constructs a Example which is a child of 'parent', with the
53 * name 'name' and widget flags set to 'f'
54 */
55BlueManager::BlueManager( QWidget* parent, const char* name, WFlags fl )
56 : BluetoothBase( parent, name, fl ) {
57
58
59 draw();
60}
61
62
63/*
64 * Repaint method. Reread all fields.
65 */
66void BlueManager::draw() {
67
68 QTimer::singleShot( 20*1000, this, SLOT(draw() ) );
69}
70
71
72void BlueManager::init() {
73
74}
75
76BlueManager::~BlueManager() {
77}
78
79
80
81
diff --git a/noncore/net/opietooth/manager/bluemanager.h b/noncore/net/opietooth/manager/bluemanager.h
new file mode 100644
index 0000000..bec6d59
--- a/dev/null
+++ b/noncore/net/opietooth/manager/bluemanager.h
@@ -0,0 +1,41 @@
1/*
2 * bluemanager.h
3 *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 ***************************************************************************/
11
12
13#ifndef BLUEMANAGER_H
14#define BLUEMANAGER_H
15
16#include <qdatetime.h>
17#include <qlist.h>
18
19#include "bluetoothbase.h"
20
21class QVBoxLayout;
22
23class BlueManager : public BluetoothBase {
24 Q_OBJECT
25
26 public:
27 BlueManager( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
28 ~BlueManager();
29
30 private slots:
31 void draw();
32 private:
33 void init();
34 private slots:
35 // void channelReceived(const QCString &msg, const QByteArray & data);
36
37 private:
38};
39
40
41#endif
diff --git a/noncore/net/opietooth/manager/bluetoothbase.ui b/noncore/net/opietooth/manager/bluetoothbase.ui
new file mode 100644
index 0000000..61cb95f
--- a/dev/null
+++ b/noncore/net/opietooth/manager/bluetoothbase.ui
@@ -0,0 +1,416 @@
1<!DOCTYPE UI><UI>
2<class>BluetoothBase</class>
3<widget>
4 <class>QWidget</class>
5 <property stdset="1">
6 <name>name</name>
7 <cstring>BluetoothBase</cstring>
8 </property>
9 <property stdset="1">
10 <name>geometry</name>
11 <rect>
12 <x>0</x>
13 <y>0</y>
14 <width>596</width>
15 <height>480</height>
16 </rect>
17 </property>
18 <property stdset="1">
19 <name>caption</name>
20 <string>Form1</string>
21 </property>
22 <widget>
23 <class>QTabWidget</class>
24 <property stdset="1">
25 <name>name</name>
26 <cstring>Status</cstring>
27 </property>
28 <property stdset="1">
29 <name>geometry</name>
30 <rect>
31 <x>0</x>
32 <y>0</y>
33 <width>260</width>
34 <height>350</height>
35 </rect>
36 </property>
37 <widget>
38 <class>QWidget</class>
39 <property stdset="1">
40 <name>name</name>
41 <cstring>tab</cstring>
42 </property>
43 <attribute>
44 <name>title</name>
45 <string>Devices</string>
46 </attribute>
47 <widget>
48 <class>QPushButton</class>
49 <property stdset="1">
50 <name>name</name>
51 <cstring>PushButton2</cstring>
52 </property>
53 <property stdset="1">
54 <name>geometry</name>
55 <rect>
56 <x>50</x>
57 <y>260</y>
58 <width>154</width>
59 <height>31</height>
60 </rect>
61 </property>
62 <property stdset="1">
63 <name>sizePolicy</name>
64 <sizepolicy>
65 <hsizetype>0</hsizetype>
66 <vsizetype>0</vsizetype>
67 </sizepolicy>
68 </property>
69 <property stdset="1">
70 <name>text</name>
71 <string>Scan for Devices</string>
72 </property>
73 </widget>
74 <spacer>
75 <property>
76 <name>name</name>
77 <cstring>Spacer3</cstring>
78 </property>
79 <property stdset="1">
80 <name>orientation</name>
81 <enum>Vertical</enum>
82 </property>
83 <property stdset="1">
84 <name>sizeType</name>
85 <enum>Expanding</enum>
86 </property>
87 <property>
88 <name>sizeHint</name>
89 <size>
90 <width>20</width>
91 <height>20</height>
92 </size>
93 </property>
94 </spacer>
95 <spacer>
96 <property>
97 <name>name</name>
98 <cstring>Spacer1</cstring>
99 </property>
100 <property stdset="1">
101 <name>orientation</name>
102 <enum>Vertical</enum>
103 </property>
104 <property stdset="1">
105 <name>sizeType</name>
106 <enum>Fixed</enum>
107 </property>
108 <property>
109 <name>sizeHint</name>
110 <size>
111 <width>20</width>
112 <height>20</height>
113 </size>
114 </property>
115 </spacer>
116 <widget>
117 <class>QListView</class>
118 <column>
119 <property>
120 <name>text</name>
121 <string>Active</string>
122 </property>
123 <property>
124 <name>clickable</name>
125 <bool>true</bool>
126 </property>
127 <property>
128 <name>resizeable</name>
129 <bool>true</bool>
130 </property>
131 </column>
132 <column>
133 <property>
134 <name>text</name>
135 <string>Device Name</string>
136 </property>
137 <property>
138 <name>clickable</name>
139 <bool>true</bool>
140 </property>
141 <property>
142 <name>resizeable</name>
143 <bool>true</bool>
144 </property>
145 </column>
146 <column>
147 <property>
148 <name>text</name>
149 <string>Type</string>
150 </property>
151 <property>
152 <name>clickable</name>
153 <bool>true</bool>
154 </property>
155 <property>
156 <name>resizeable</name>
157 <bool>true</bool>
158 </property>
159 </column>
160 <property stdset="1">
161 <name>name</name>
162 <cstring>ListView2</cstring>
163 </property>
164 <property stdset="1">
165 <name>geometry</name>
166 <rect>
167 <x>8</x>
168 <y>3</y>
169 <width>240</width>
170 <height>140</height>
171 </rect>
172 </property>
173 </widget>
174 </widget>
175 <widget>
176 <class>QWidget</class>
177 <property stdset="1">
178 <name>name</name>
179 <cstring>tab</cstring>
180 </property>
181 <attribute>
182 <name>title</name>
183 <string>Connections</string>
184 </attribute>
185 <widget>
186 <class>QListView</class>
187 <column>
188 <property>
189 <name>text</name>
190 <string>Device Name</string>
191 </property>
192 <property>
193 <name>clickable</name>
194 <bool>true</bool>
195 </property>
196 <property>
197 <name>resizeable</name>
198 <bool>true</bool>
199 </property>
200 </column>
201 <column>
202 <property>
203 <name>text</name>
204 <string>Connection type</string>
205 </property>
206 <property>
207 <name>clickable</name>
208 <bool>true</bool>
209 </property>
210 <property>
211 <name>resizeable</name>
212 <bool>true</bool>
213 </property>
214 </column>
215 <property stdset="1">
216 <name>name</name>
217 <cstring>ListView4</cstring>
218 </property>
219 <property stdset="1">
220 <name>geometry</name>
221 <rect>
222 <x>8</x>
223 <y>3</y>
224 <width>241</width>
225 <height>301</height>
226 </rect>
227 </property>
228 </widget>
229 </widget>
230 <widget>
231 <class>QWidget</class>
232 <property stdset="1">
233 <name>name</name>
234 <cstring>tab</cstring>
235 </property>
236 <attribute>
237 <name>title</name>
238 <string>Config</string>
239 </attribute>
240 <widget>
241 <class>QLabel</class>
242 <property stdset="1">
243 <name>name</name>
244 <cstring>TextLabel6</cstring>
245 </property>
246 <property stdset="1">
247 <name>geometry</name>
248 <rect>
249 <x>10</x>
250 <y>20</y>
251 <width>121</width>
252 <height>20</height>
253 </rect>
254 </property>
255 <property stdset="1">
256 <name>text</name>
257 <string>Device Name</string>
258 </property>
259 </widget>
260 <widget>
261 <class>QLabel</class>
262 <property stdset="1">
263 <name>name</name>
264 <cstring>TextLabel7</cstring>
265 </property>
266 <property stdset="1">
267 <name>geometry</name>
268 <rect>
269 <x>10</x>
270 <y>50</y>
271 <width>120</width>
272 <height>20</height>
273 </rect>
274 </property>
275 <property stdset="1">
276 <name>text</name>
277 <string>Default Passkey</string>
278 </property>
279 </widget>
280 <widget>
281 <class>QLineEdit</class>
282 <property stdset="1">
283 <name>name</name>
284 <cstring>LineEdit4</cstring>
285 </property>
286 <property stdset="1">
287 <name>geometry</name>
288 <rect>
289 <x>128</x>
290 <y>53</y>
291 <width>120</width>
292 <height>22</height>
293 </rect>
294 </property>
295 </widget>
296 <widget>
297 <class>QLineEdit</class>
298 <property stdset="1">
299 <name>name</name>
300 <cstring>LineEdit5</cstring>
301 </property>
302 <property stdset="1">
303 <name>geometry</name>
304 <rect>
305 <x>128</x>
306 <y>13</y>
307 <width>120</width>
308 <height>22</height>
309 </rect>
310 </property>
311 </widget>
312 <widget>
313 <class>QLayoutWidget</class>
314 <property stdset="1">
315 <name>name</name>
316 <cstring>Layout5</cstring>
317 </property>
318 <property stdset="1">
319 <name>geometry</name>
320 <rect>
321 <x>10</x>
322 <y>100</y>
323 <width>188</width>
324 <height>104</height>
325 </rect>
326 </property>
327 <vbox>
328 <property stdset="1">
329 <name>margin</name>
330 <number>0</number>
331 </property>
332 <property stdset="1">
333 <name>spacing</name>
334 <number>6</number>
335 </property>
336 <widget>
337 <class>QCheckBox</class>
338 <property stdset="1">
339 <name>name</name>
340 <cstring>CheckBox1</cstring>
341 </property>
342 <property stdset="1">
343 <name>text</name>
344 <string>enable authentification</string>
345 </property>
346 </widget>
347 <widget>
348 <class>QCheckBox</class>
349 <property stdset="1">
350 <name>name</name>
351 <cstring>CheckBox2</cstring>
352 </property>
353 <property stdset="1">
354 <name>text</name>
355 <string>enable encryption</string>
356 </property>
357 </widget>
358 <widget>
359 <class>QCheckBox</class>
360 <property stdset="1">
361 <name>name</name>
362 <cstring>CheckBox5</cstring>
363 </property>
364 <property stdset="1">
365 <name>text</name>
366 <string>Enable Page scan</string>
367 </property>
368 </widget>
369 <widget>
370 <class>QCheckBox</class>
371 <property stdset="1">
372 <name>name</name>
373 <cstring>CheckBox6</cstring>
374 </property>
375 <property stdset="1">
376 <name>text</name>
377 <string>Enable Inquiry scan</string>
378 </property>
379 </widget>
380 </vbox>
381 </widget>
382 </widget>
383 <widget>
384 <class>QWidget</class>
385 <property stdset="1">
386 <name>name</name>
387 <cstring>tab</cstring>
388 </property>
389 <attribute>
390 <name>title</name>
391 <string>Status</string>
392 </attribute>
393 <widget>
394 <class>QLabel</class>
395 <property stdset="1">
396 <name>name</name>
397 <cstring>StutusLabel</cstring>
398 </property>
399 <property stdset="1">
400 <name>geometry</name>
401 <rect>
402 <x>10</x>
403 <y>10</y>
404 <width>240</width>
405 <height>300</height>
406 </rect>
407 </property>
408 <property stdset="1">
409 <name>text</name>
410 <string>Status Label</string>
411 </property>
412 </widget>
413 </widget>
414 </widget>
415</widget>
416</UI>
diff --git a/noncore/net/opietooth/manager/devicedialog.ui b/noncore/net/opietooth/manager/devicedialog.ui
new file mode 100644
index 0000000..121fdf0
--- a/dev/null
+++ b/noncore/net/opietooth/manager/devicedialog.ui
@@ -0,0 +1,250 @@
1<!DOCTYPE UI><UI>
2<class>Form2</class>
3<widget>
4 <class>QDialog</class>
5 <property stdset="1">
6 <name>name</name>
7 <cstring>Form2</cstring>
8 </property>
9 <property stdset="1">
10 <name>geometry</name>
11 <rect>
12 <x>0</x>
13 <y>0</y>
14 <width>592</width>
15 <height>480</height>
16 </rect>
17 </property>
18 <property stdset="1">
19 <name>caption</name>
20 <string>Form2</string>
21 </property>
22 <widget>
23 <class>QLabel</class>
24 <property stdset="1">
25 <name>name</name>
26 <cstring>TextLabel4</cstring>
27 </property>
28 <property stdset="1">
29 <name>geometry</name>
30 <rect>
31 <x>0</x>
32 <y>0</y>
33 <width>170</width>
34 <height>20</height>
35 </rect>
36 </property>
37 <property stdset="1">
38 <name>text</name>
39 <string>Devicename</string>
40 </property>
41 </widget>
42 <widget>
43 <class>QTabWidget</class>
44 <property stdset="1">
45 <name>name</name>
46 <cstring>TabWidget7</cstring>
47 </property>
48 <property stdset="1">
49 <name>geometry</name>
50 <rect>
51 <x>0</x>
52 <y>20</y>
53 <width>240</width>
54 <height>290</height>
55 </rect>
56 </property>
57 <widget>
58 <class>QWidget</class>
59 <property stdset="1">
60 <name>name</name>
61 <cstring>tab</cstring>
62 </property>
63 <attribute>
64 <name>title</name>
65 <string>Services</string>
66 </attribute>
67 <widget>
68 <class>QPushButton</class>
69 <property stdset="1">
70 <name>name</name>
71 <cstring>PushButton5</cstring>
72 </property>
73 <property stdset="1">
74 <name>geometry</name>
75 <rect>
76 <x>50</x>
77 <y>200</y>
78 <width>129</width>
79 <height>31</height>
80 </rect>
81 </property>
82 <property stdset="1">
83 <name>text</name>
84 <string>change settings</string>
85 </property>
86 </widget>
87 <widget>
88 <class>QListView</class>
89 <column>
90 <property>
91 <name>text</name>
92 <string>active</string>
93 </property>
94 <property>
95 <name>clickable</name>
96 <bool>true</bool>
97 </property>
98 <property>
99 <name>resizeable</name>
100 <bool>true</bool>
101 </property>
102 </column>
103 <column>
104 <property>
105 <name>text</name>
106 <string>service name</string>
107 </property>
108 <property>
109 <name>clickable</name>
110 <bool>true</bool>
111 </property>
112 <property>
113 <name>resizeable</name>
114 <bool>true</bool>
115 </property>
116 </column>
117 <property stdset="1">
118 <name>name</name>
119 <cstring>ListView1</cstring>
120 </property>
121 <property stdset="1">
122 <name>geometry</name>
123 <rect>
124 <x>10</x>
125 <y>10</y>
126 <width>220</width>
127 <height>180</height>
128 </rect>
129 </property>
130 </widget>
131 </widget>
132 <widget>
133 <class>QWidget</class>
134 <property stdset="1">
135 <name>name</name>
136 <cstring>tab</cstring>
137 </property>
138 <attribute>
139 <name>title</name>
140 <string>Settings</string>
141 </attribute>
142 <widget>
143 <class>QLabel</class>
144 <property stdset="1">
145 <name>name</name>
146 <cstring>TextLabel5</cstring>
147 </property>
148 <property stdset="1">
149 <name>geometry</name>
150 <rect>
151 <x>10</x>
152 <y>0</y>
153 <width>110</width>
154 <height>50</height>
155 </rect>
156 </property>
157 <property stdset="1">
158 <name>text</name>
159 <string>Change device
160name</string>
161 </property>
162 </widget>
163 <widget>
164 <class>QLabel</class>
165 <property stdset="1">
166 <name>name</name>
167 <cstring>TextLabel8</cstring>
168 </property>
169 <property stdset="1">
170 <name>geometry</name>
171 <rect>
172 <x>8</x>
173 <y>53</y>
174 <width>100</width>
175 <height>40</height>
176 </rect>
177 </property>
178 <property stdset="1">
179 <name>text</name>
180 <string>Default PIN
181Code</string>
182 </property>
183 </widget>
184 <widget>
185 <class>QLineEdit</class>
186 <property stdset="1">
187 <name>name</name>
188 <cstring>LineEdit1</cstring>
189 </property>
190 <property stdset="1">
191 <name>geometry</name>
192 <rect>
193 <x>120</x>
194 <y>10</y>
195 <width>110</width>
196 <height>22</height>
197 </rect>
198 </property>
199 </widget>
200 <widget>
201 <class>QLineEdit</class>
202 <property stdset="1">
203 <name>name</name>
204 <cstring>LineEdit6</cstring>
205 </property>
206 <property stdset="1">
207 <name>geometry</name>
208 <rect>
209 <x>120</x>
210 <y>50</y>
211 <width>110</width>
212 <height>22</height>
213 </rect>
214 </property>
215 </widget>
216 </widget>
217 <widget>
218 <class>QWidget</class>
219 <property stdset="1">
220 <name>name</name>
221 <cstring>tab</cstring>
222 </property>
223 <attribute>
224 <name>title</name>
225 <string>Information</string>
226 </attribute>
227 <widget>
228 <class>QLabel</class>
229 <property stdset="1">
230 <name>name</name>
231 <cstring>DeviceInfoLabel</cstring>
232 </property>
233 <property stdset="1">
234 <name>geometry</name>
235 <rect>
236 <x>18</x>
237 <y>13</y>
238 <width>210</width>
239 <height>230</height>
240 </rect>
241 </property>
242 <property stdset="1">
243 <name>text</name>
244 <string>TextLabel9</string>
245 </property>
246 </widget>
247 </widget>
248 </widget>
249</widget>
250</UI>
diff --git a/noncore/net/opietooth/manager/main.cpp b/noncore/net/opietooth/manager/main.cpp
new file mode 100644
index 0000000..c7ccf23
--- a/dev/null
+++ b/noncore/net/opietooth/manager/main.cpp
@@ -0,0 +1,36 @@
1/*
2 * main.cpp
3 *
4 * ---------------------
5 *
6 * begin : Sun 10 17:20:00 CEST 2002
7 * copyright : (c) 2002 by Maximilian Reiß
8 * email : max.reiss@gmx.de
9 *
10 */
11/***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. *
17 * *
18 ***************************************************************************/
19
20#include "bluemanager.h"
21#include <qpe/qpeapplication.h>
22
23QPEApplication *BluetoothApp;
24
25int main( int argc, char ** argv )
26{
27 QPEApplication a(argc, argv);
28 BluetoothApp=&a;
29
30 BlueManager t;
31
32 t.setCaption( BlueManager::tr("Bluetooth Manager") );
33 a.showMainWidget(&t);
34
35 return a.exec();
36}
diff --git a/noncore/net/opietooth/manager/manager.pro b/noncore/net/opietooth/manager/manager.pro
new file mode 100644
index 0000000..3cb308c
--- a/dev/null
+++ b/noncore/net/opietooth/manager/manager.pro
@@ -0,0 +1,12 @@
1 TEMPLATE= app
2 #CONFIG = qt warn_on debug
3 CONFIG = qt warn_on release
4 HEADERS = bluemanager.h
5 SOURCES = main.cpp bluemanager.cpp
6
7 INCLUDEPATH+= $(OPIEDIR)/include
8 DEPENDPATH+= $(OPIEDIR)/include
9LIBS += -lqpe
10INTERFACES = bluetoothbase.ui devicedialog.ui scandialog.ui
11 TARGET = bluetooth-manager
12 DESTDIR = $(OPIEDIR)/bin
diff --git a/noncore/net/opietooth/manager/opie-toothmanager.control b/noncore/net/opietooth/manager/opie-toothmanager.control
new file mode 100644
index 0000000..75dcfc9
--- a/dev/null
+++ b/noncore/net/opietooth/manager/opie-toothmanager.control
@@ -0,0 +1,10 @@
1Files: bin/bluetooth-manager apps/Settings/bluetooth-manager.desktop pics/bluetooth/*
2Priority: optional
3Section: opie/applications
4Maintainer: Maximilian Reiß <max.reiss@gmx.de>
5Architecture: arm
6Version: 0.3.4-$SUB_VERSION
7Depends: opie-base ($QPE_VERSION)
8License: GPL
9Description: Bluetooth Manager application
10
diff --git a/noncore/net/opietooth/manager/scandialog.ui b/noncore/net/opietooth/manager/scandialog.ui
new file mode 100644
index 0000000..c8d018f
--- a/dev/null
+++ b/noncore/net/opietooth/manager/scandialog.ui
@@ -0,0 +1,155 @@
1<!DOCTYPE UI><UI>
2<class>Form3</class>
3<widget>
4 <class>QDialog</class>
5 <property stdset="1">
6 <name>name</name>
7 <cstring>Form3</cstring>
8 </property>
9 <property stdset="1">
10 <name>geometry</name>
11 <rect>
12 <x>0</x>
13 <y>0</y>
14 <width>368</width>
15 <height>392</height>
16 </rect>
17 </property>
18 <property stdset="1">
19 <name>caption</name>
20 <string>Form3</string>
21 </property>
22 <widget>
23 <class>QFrame</class>
24 <property stdset="1">
25 <name>name</name>
26 <cstring>Frame7</cstring>
27 </property>
28 <property stdset="1">
29 <name>geometry</name>
30 <rect>
31 <x>0</x>
32 <y>0</y>
33 <width>240</width>
34 <height>331</height>
35 </rect>
36 </property>
37 <property stdset="1">
38 <name>frameShape</name>
39 <enum>StyledPanel</enum>
40 </property>
41 <property stdset="1">
42 <name>frameShadow</name>
43 <enum>Raised</enum>
44 </property>
45 <widget>
46 <class>QLayoutWidget</class>
47 <property stdset="1">
48 <name>name</name>
49 <cstring>Layout11</cstring>
50 </property>
51 <property stdset="1">
52 <name>geometry</name>
53 <rect>
54 <x>10</x>
55 <y>9</y>
56 <width>221</width>
57 <height>310</height>
58 </rect>
59 </property>
60 <grid>
61 <property stdset="1">
62 <name>margin</name>
63 <number>0</number>
64 </property>
65 <property stdset="1">
66 <name>spacing</name>
67 <number>6</number>
68 </property>
69 <widget row="1" column="0" rowspan="1" colspan="2" >
70 <class>QLabel</class>
71 <property stdset="1">
72 <name>name</name>
73 <cstring>TextLabel10</cstring>
74 </property>
75 <property stdset="1">
76 <name>text</name>
77 <string>ersetzen durch qprogressbar</string>
78 </property>
79 </widget>
80 <widget row="2" column="0" >
81 <class>QPushButton</class>
82 <property stdset="1">
83 <name>name</name>
84 <cstring>PushButton13</cstring>
85 </property>
86 <property stdset="1">
87 <name>text</name>
88 <string>Start</string>
89 </property>
90 </widget>
91 <widget row="2" column="1" >
92 <class>QPushButton</class>
93 <property stdset="1">
94 <name>name</name>
95 <cstring>PushButton6</cstring>
96 </property>
97 <property stdset="1">
98 <name>text</name>
99 <string>Stop</string>
100 </property>
101 </widget>
102 <widget row="0" column="0" rowspan="1" colspan="2" >
103 <class>QListView</class>
104 <column>
105 <property>
106 <name>text</name>
107 <string>In List</string>
108 </property>
109 <property>
110 <name>clickable</name>
111 <bool>true</bool>
112 </property>
113 <property>
114 <name>resizeable</name>
115 <bool>true</bool>
116 </property>
117 </column>
118 <column>
119 <property>
120 <name>text</name>
121 <string>Device Name</string>
122 </property>
123 <property>
124 <name>clickable</name>
125 <bool>true</bool>
126 </property>
127 <property>
128 <name>resizeable</name>
129 <bool>true</bool>
130 </property>
131 </column>
132 <column>
133 <property>
134 <name>text</name>
135 <string>Type</string>
136 </property>
137 <property>
138 <name>clickable</name>
139 <bool>true</bool>
140 </property>
141 <property>
142 <name>resizeable</name>
143 <bool>true</bool>
144 </property>
145 </column>
146 <property stdset="1">
147 <name>name</name>
148 <cstring>ListView1</cstring>
149 </property>
150 </widget>
151 </grid>
152 </widget>
153 </widget>
154</widget>
155</UI>