Diffstat (limited to 'noncore/net/opietooth/manager/bluemanager.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bluemanager.cpp | 81 |
1 files changed, 81 insertions, 0 deletions
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 | */ | ||
55 | BlueManager::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 | */ | ||
66 | void BlueManager::draw() { | ||
67 | |||
68 | QTimer::singleShot( 20*1000, this, SLOT(draw() ) ); | ||
69 | } | ||
70 | |||
71 | |||
72 | void BlueManager::init() { | ||
73 | |||
74 | } | ||
75 | |||
76 | BlueManager::~BlueManager() { | ||
77 | } | ||
78 | |||
79 | |||
80 | |||
81 | |||