summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/README57
-rw-r--r--libopie2/ROADMAP7
-rw-r--r--libopie2/STATUS68
-rw-r--r--libopie2/opiecore/config.in2
-rw-r--r--libopie2/opiedb/config.in2
-rw-r--r--libopie2/opiemm/config.in2
-rw-r--r--libopie2/opiepim/config.in2
-rw-r--r--libopie2/opieui/config.in2
-rw-r--r--libopie2/opieui/otimepicker.h4
9 files changed, 28 insertions, 118 deletions
diff --git a/libopie2/README b/libopie2/README
index daf6b27..5643d25 100644
--- a/libopie2/README
+++ b/libopie2/README
@@ -1,188 +1,165 @@
1/******************************************************************** 1/********************************************************************
2/* This is an overview of the opielibs2 project 2/* This is an overview of the opielibs2 project
3/********************************************************************/ 3/********************************************************************/
4 4
5 Origin: opielibs is about creating classes to 5 Origin: opielibs is about creating classes to
6 * optimize Qt classes for the embedded environment 6 * optimize Qt classes for the embedded environment
7 * provide sophisticated abstractions for developers 7 * provide sophisticated abstractions for developers
8 * provide complete documentation and working examples 8 * provide complete documentation and working examples
9 * provide end users with a common look and feel 9 * provide end users with a common look and feel
10 * reduce memory footprint through sharing code 10 * reduce memory footprint through sharing code
11 * reduce possible bugs through reusing tested code 11 * reduce possible bugs through reusing tested code
12 * improve the architecture of applications with design patterns
12 13
13-------------------------------------------------------- 14--------------------------------------------------------
140. Building 150. Building
15-------------------------------------------------------- 16--------------------------------------------------------
16 17
17* for QPE run: 18* for QPE run:
18 qmake libopie2.pro 19 qmake libopie2.pro
19 make 20 make
20 21
21OR (even better) 22OR (even better)
22 cd $OPIEDIR 23 cd $OPIEDIR
23 make menuconfig 24 make menuconfig
24 make -k 25 make -k
25 26
26* for QT/X11 run: 27* for QT/X11 run:
27 qmake "platform=x11" libopie2.pro 28 qmake "platform=x11" libopie2.pro
28 make 29 make
29 30
30Make sure you have set $PLATFORM=x86-linux 31Make sure you have set $PLATFORM=x86-linux
31 32
32-------------------------------------------------------- 33--------------------------------------------------------
331. General Overview 341. General Overview
34-------------------------------------------------------- 35--------------------------------------------------------
35 36
36libopie is functionally seperated into the following libraries: 37libopie is functionally seperated into the following libraries:
37 - libopiecore 38 - libopiecore
38 - libopieui 39 - libopieui
39 - libopiepim 40 - libopiepim
40 - libopiedb 41 - libopiedb
41 - libopienet 42 - libopienet
42 - libopiemm 43 - libopiemm
43 44
441.1 Contents of libopiecore [ opiecore ] 451.1 Contents of libopiecore [ opiecore ]
45-------------------------------------------------------- 46--------------------------------------------------------
46 47
48 - oapplication
49 - ostorage
50
47 - odbgstream 51 - odbgstream
48 - ondbgstream 52 - ondbgstream
49 53
50 - oprocctrl 54 - oprocctrl
51 - oprocess 55 - oprocess
52 - odevice 56 - odevice
53 - odevicebutton 57 - odevicebutton
54 58
55 - oconfig 59 - oconfig
56 - oconfiggroupsaver 60 - oconfiggroupsaver
57 61
58 - ocompletionbase
59 - ocompletion
60 - ocomptreenodelist
61 - ocomptreenode
62 - ocompletionwrapper
63
64 - oglobal 62 - oglobal
65 - oglobalsettings 63 - oglobalsettings
66 64
67 - osortableitem
68 - osortablevaluelist
69
701.2 Contents of libopieui [ opieui ] 651.2 Contents of libopieui [ opieui ]
71-------------------------------------------------------- 66--------------------------------------------------------
72 67
73 - oapplication
74
75 - ofiledialog 68 - ofiledialog
76 - colordialog
77 - oclickablelabel 69 - oclickablelabel
78 - ocolorbutton 70 - ocolorbutton
79 - colorpopupmenu
80 - otabinfo 71 - otabinfo
81 - otabbar 72 - otabbar
82 - otabwidget 73 - otabwidget
83 - ofontmenu 74 - ofontmenu
84 - ofontselector 75 - ofontselector
85 - ofileview 76 - ofileview
86 - oticker 77 - oticker
87 78
88 - olistview 79 - olistview
89 - olistviewitem 80 - olistviewitem
90 - oversatileview 81 - oversatileview
91 - oversatileviewitem 82 - oversatileviewitem
92 - ocompletionbox
93 - olineedit
94 - ocombobox
95 - ohistorycombo
96 83
97 - omessagebox 84 - omessagebox
98 - odialogbase 85 - odialogbase
99 86
100 - todayconfigwidget (rather into opiepim?) 87 - okeyconfigwidget
101 - orecurrancewidget (rather into opiepim?) 88 - otaskbarapplet
102 - otimepicker (rather into opiepim?) 89 - otimepicker
103 90
1041.3 Contents of libopiepim [ opiepim ] 911.3 Contents of libopiepim [ opiepim ]
105-------------------------------------------------------- 92--------------------------------------------------------
106 93
107 - ocheckitem 94...
108 - todayplugininterface
109
110THIS STUFF IS OUTDATED/DEPRICATED AND SCHOULD NOT
111BE MOVED IN THE NEW LIBRARY !!
112USE THE CLASSES IN libopie/pim INSTEAD !(eilers)
113
114 - todoresource
115 - todoevent
116 - todovcalresource
117 95
1181.4 Contents of libopiedb [ opiedb ] 961.4 Contents of libopiedb [ opiedb ]
119-------------------------------------------------------- 97--------------------------------------------------------
120 98
121 - xmltree 99...
122
123THIS STUFF IS OUTDATED/DEPRICATED AND SCHOULD NOT
124BE MOVED IN THE NEW LIBRARY !!
125USE THE CLASSES IN libopie/pim INSTEAD !(eilers)
126 - tododb
127 100
1281.5 Contents of libopienet [ opienet ] 1011.5 Contents of libopienet [ opienet ]
129-------------------------------------------------------- 102--------------------------------------------------------
130 103
131 - onetwork 104 - onetwork
132 - onetworkinterface 105 - onetworkinterface
133 - owirelessnetworkinterface 106 - owirelessnetworkinterface
134 - ochannelhopper 107 - ochannelhopper
135 108
136 - omonitoring 109 - omonitoring
137 - ociscomonitoring 110 - ociscomonitoring
138 - owlanngmonitoring 111 - owlanngmonitoring
139 - ohostapmonitoring 112 - ohostapmonitoring
140 - oorinocomonitoring 113 - oorinocomonitoring
141 114
142 - opacketcapturer 115 - opacketcapturer
143 - opacket 116 - opacket
144 - oethernetpacket 117 - oethernetpacket
145 - owavelanpacket 118 - owavelanpacket
146 - ollcpacket 119 - ollcpacket
147 - oippacket 120 - oippacket
148 - oudppacket 121 - oudppacket
149 - otcppacket 122 - otcppacket
150 123
151 <libmail stuff>
152 <libbend stuff>
153 <libftp stuff>
154
1551.6 Contents of libopiemm [ opiemm ] 1241.6 Contents of libopiemm [ opiemm ]
156-------------------------------------------------------- 125--------------------------------------------------------
157 126
158 - osoundsystem 127 - osoundsystem
159 - oaudiointerface 128 - oaudiointerface
160 - osoundserver 129 - osoundserver
161 130
162-------------------------------------------------------- 131--------------------------------------------------------
1632.0 Feature Description 1322.0 Feature Description
164-------------------------------------------------------- 133--------------------------------------------------------
165 134
1662.1 libopiecore 1352.1 libopiecore
167 136
168... 137...
169 138
1702.2 libopieui 1392.2 libopieui
171 140
172... 141...
173 142
1742.3 libopiepim 1432.3 libopiepim
175 144
176... 145...
177 146
1782.4 libopiedb 1472.4 libopiedb
179 148
180... 149...
181 150
1822.5 libopienet 1512.5 libopienet
183 152
184... 153...
185 154
1862.6 libopiemm 1552.6 libopiemm
187 156
188... 157...
158
159--------------------------------------------------------
1603.0 Usage
161--------------------------------------------------------
162
1633.1 Namespaces
164
165
diff --git a/libopie2/ROADMAP b/libopie2/ROADMAP
index 966b67d..1685ba2 100644
--- a/libopie2/ROADMAP
+++ b/libopie2/ROADMAP
@@ -1,6 +1,7 @@
1 [done] * import current status of opiecore, opienet and opieui 1 [done] * import current status of opiecore, opienet and opieui
2 * add contents of libopie1 to libopie2 and functionally split it 2 [done] * add contents of libopie1 to libopie2 and functionally split it
3 * make libopie2 a drop-in-replacement for libopie1 3 [done] * make libopie2 a drop-in-replacement for libopie1
4 * add doxygen documentation to all classes 4 * add doxygen documentation to all classes
5 * backport qt3-only stuff (?) 5 * add functionality from libqpe to libopie2
6 * make libopie2 a drop-in-replacement for libqpe1
6 7
diff --git a/libopie2/STATUS b/libopie2/STATUS
deleted file mode 100644
index eb3442c..0000000
--- a/libopie2/STATUS
+++ b/dev/null
@@ -1,68 +0,0 @@
1
2==================================================================
3March 2003 - Initial checkin into the Opie CVS:
4==================================================================
5
6So, this is what I have been working on over the last months.
7It's a part of what I think could migrate into our next generation
8opielibs.
9Of course this won't happen after we released Opie 1.0 and switched
10to Qt3-Embedded and gcc 3.
11
12Right now, there is content only in opiecore, opienet and opieui.
13A good part of code has been adapted from the kdelibs, which overall
14are pretty good however in details of heterogenous quality. I'm also
15not sure if all I ported should be kept, e.g. the pixmapeffect stuff
16seems unnecesary to me. However, we should not forget that Opie will
17make its debut on more powerful devices with greater display
18resolution, e.g. the Sharp C700, so we shouldn't limit ourselves in
19what should go into the libraries.
20
21Generally spoken, a lot of things are still very rough and messy,
22but I will keep improving this. Some details about what is usable
23and what is not follows:
24(everything compiles of course, otherwise I wouldn't have checked in :-)
25
26[-----------]
27[ opiecore ]
28[-----------]
29oapplication, oconfig, oglobal seem to be usable yet, oglobalsettings
30is still very messy and should be revised. A lot more thinking about how
31we should keep opie preferences, especially when moving to multi-user, has to be made.
32This will affect what goes into oglobalsettings and what configuration data
33format we will use. If we switch to Qt3 we will have to decide if we stay
34with OConfig deriving from Config or rewrite it using QSettings.
35
36[-----------]
37[ opiedb ]
38[-----------]
39There is nothing here yet. The sqlite stuff should be here.
40
41[-----------]
42[ opienet ]
43[-----------]
44onetwork*, omonitoring* and the opacket stuff are pretty usable and not
45very far from being complete. documentation for these will come...
46Over the next days, opie-wellenreiter, opie-wirelessapplet and the
47forthcoming new opie-networkapplet will be using the
48new network classes.
49I think all the other network libraries spread throught opie, e.g.
50libbend, libmail, ftplib should be revised and become part of
51opienet eventually.
52
53[-----------]
54[ opiepim ]
55[-----------]
56Nothing here yet. The stuff currently in libopie/pim should be here.
57
58[-----------]
59[ opieui ]
60[-----------]
61Pretty messy yet, but some things are usable. Unfortunately, the UI
62stuff is very hard to backport to Qt2, so some things only work
63if compiled against Qt3, especially all the popupcompletion stuff.
64OListView however works nice and is currently used in opie-wellenreiter.
65
66==================================================================
67October 2002 - Started work on cornucopia aka opielib2
68================================================================== \ No newline at end of file
diff --git a/libopie2/opiecore/config.in b/libopie2/opiecore/config.in
index f4483a2..0acde26 100644
--- a/libopie2/opiecore/config.in
+++ b/libopie2/opiecore/config.in
@@ -1,6 +1,6 @@
1 config LIBOPIE2CORE 1 config LIBOPIE2CORE
2 boolean "libopie2core (application, configuration and debug related classes)" 2 boolean "libopie2core (application, configuration and debug related classes)"
3 default "n" 3 default "y"
4 depends ( LIBQPE || LIBQPE-X11 ) 4 depends ( LIBQPE || LIBQPE-X11 )
5 comment "libopie2core needs a libqpe (yet)" 5 comment "libopie2core needs a libqpe (yet)"
6 depends !( LIBQPE || LIBQPE-X11 ) 6 depends !( LIBQPE || LIBQPE-X11 )
diff --git a/libopie2/opiedb/config.in b/libopie2/opiedb/config.in
index 0205a83..8039f9c 100644
--- a/libopie2/opiedb/config.in
+++ b/libopie2/opiedb/config.in
@@ -1,7 +1,7 @@
1 config LIBOPIE2DB 1 config LIBOPIE2DB
2 boolean "libopie2db (database related classes)" 2 boolean "libopie2db (database related classes)"
3 default "n" 3 default "y"
4 depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE 4 depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE
5 comment "libopie2db needs a libqpe and libopie2core" 5 comment "libopie2db needs a libqpe and libopie2core"
6 depends !(( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE) 6 depends !(( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE)
7 7
diff --git a/libopie2/opiemm/config.in b/libopie2/opiemm/config.in
index c95d14b..c32e06c 100644
--- a/libopie2/opiemm/config.in
+++ b/libopie2/opiemm/config.in
@@ -1,7 +1,7 @@
1 config LIBOPIE2MM 1 config LIBOPIE2MM
2 boolean "libopie2mm (audio and video related classes)" 2 boolean "libopie2mm (audio and video related classes)"
3 default "n" 3 default "y"
4 depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE 4 depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE
5 comment "libopie2mm needs a libqpe and libopie2core" 5 comment "libopie2mm needs a libqpe and libopie2core"
6 depends !(( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE) 6 depends !(( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE)
7 7
diff --git a/libopie2/opiepim/config.in b/libopie2/opiepim/config.in
index 2c920bb..33ef9b2 100644
--- a/libopie2/opiepim/config.in
+++ b/libopie2/opiepim/config.in
@@ -1,21 +1,21 @@
1 config LIBOPIE2PIM 1 config LIBOPIE2PIM
2 boolean "libopie2pim (pim related classes)" 2 boolean "libopie2pim (pim related classes)"
3 default "n" 3 default "y"
4 depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE 4 depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE
5 comment "libopie2pim needs a libqpe and libopie2core" 5 comment "libopie2pim needs a libqpe and libopie2core"
6 depends !(( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE ) 6 depends !(( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE )
7 7
8 config SQL_PIM_BACKEND 8 config SQL_PIM_BACKEND
9 boolean "Enable SQL Backend for libopie2pim" 9 boolean "Enable SQL Backend for libopie2pim"
10 default n 10 default n
11 help 11 help
12 This adds the SQL-Support, using SQLite. Which database is used 12 This adds the SQL-Support, using SQLite. Which database is used
13 by the backends is defined by the file "pimaccess.conf" in the 13 by the backends is defined by the file "pimaccess.conf" in the
14 directory "Settings". 14 directory "Settings".
15 There currently do exist to groups "[contact]" and "[todo]". You can 15 There currently do exist to groups "[contact]" and "[todo]". You can
16 select the used backend by the variable "usebackend=<type>", where 16 select the used backend by the variable "usebackend=<type>", where
17 <type> is "sql" or "xml". "xml" is the default ! 17 <type> is "sql" or "xml". "xml" is the default !
18 Important: The SQLite-library "libsqlite.so" must be installed ! 18 Important: The SQLite-library "libsqlite.so" must be installed !
19 depends ( LIBOPIE2DB ) 19 depends ( LIBOPIE2DB )
20 comment "SQL-Support needs libopie2db (and libsqlite)" 20 comment "SQL-Support needs libopie2db (and libsqlite)"
21 depends !( LIBOPIE2DB ) 21 depends !( LIBOPIE2DB )
diff --git a/libopie2/opieui/config.in b/libopie2/opieui/config.in
index d40b5d9..9d157a5 100644
--- a/libopie2/opieui/config.in
+++ b/libopie2/opieui/config.in
@@ -1,7 +1,7 @@
1 config LIBOPIE2UI 1 config LIBOPIE2UI
2 boolean "libopie2ui (user interface related classes)" 2 boolean "libopie2ui (user interface related classes)"
3 default "n" 3 default "y"
4 depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE 4 depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE
5 comment "libopie2ui needs a libqpe and libopie2core" 5 comment "libopie2ui needs a libqpe and libopie2core"
6 depends !(( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE) 6 depends !(( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE)
7 7
diff --git a/libopie2/opieui/otimepicker.h b/libopie2/opieui/otimepicker.h
index fb20781..894fbef 100644
--- a/libopie2/opieui/otimepicker.h
+++ b/libopie2/opieui/otimepicker.h
@@ -1,83 +1,83 @@
1/* 1/*
2 This file is part of the Opie Project 2 This file is part of the Opie Project
3 Copyright (C) Stefan Eilers <eilers.stefan@epost.de> 3 Copyright (C) Stefan Eilers <eilers.stefan@epost.de>
4 =. Copyright (C) The Opie Team <opie-devel@handhelds.org> 4 =. Copyright (C) The Opie Team <opie-devel@handhelds.org>
5 .=l. 5 .=l.
6           .>+-= 6           .>+-=
7 _;:,     .>    :=|. This program is free software; you can 7 _;:,     .>    :=|. This program is free software; you can
8.> <`_,   >  .   <= redistribute it and/or modify it under 8.> <`_,   >  .   <= redistribute it and/or modify it under
9:`=1 )Y*s>-.--   : the terms of the GNU Library General Public 9:`=1 )Y*s>-.--   : the terms of the GNU Library General Public
10.="- .-=="i,     .._ License as published by the Free Software 10.="- .-=="i,     .._ License as published by the Free Software
11 - .   .-<_>     .<> Foundation; either version 2 of the License, 11 - .   .-<_>     .<> Foundation; either version 2 of the License,
12     ._= =}       : or (at your option) any later version. 12     ._= =}       : or (at your option) any later version.
13    .%`+i>       _;_. 13    .%`+i>       _;_.
14    .i_,=:_.      -<s. This program is distributed in the hope that 14    .i_,=:_.      -<s. This program is distributed in the hope that
15     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY; 15     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
16    : ..    .:,     . . . without even the implied warranty of 16    : ..    .:,     . . . without even the implied warranty of
17    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 17    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
18  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU 18  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
19..}^=.=       =       ; Library General Public License for more 19..}^=.=       =       ; Library General Public License for more
20++=   -.     .`     .: details. 20++=   -.     .`     .: details.
21 :     =  ...= . :.=- 21 :     =  ...= . :.=-
22 -.   .:....=;==+<; You should have received a copy of the GNU 22 -.   .:....=;==+<; You should have received a copy of the GNU
23  -_. . .   )=.  = Library General Public License along with 23  -_. . .   )=.  = Library General Public License along with
24    --        :-=` this library; see the file COPYING.LIB. 24    --        :-=` this library; see the file COPYING.LIB.
25 If not, write to the Free Software Foundation, 25 If not, write to the Free Software Foundation,
26 Inc., 59 Temple Place - Suite 330, 26 Inc., 59 Temple Place - Suite 330,
27 Boston, MA 02111-1307, USA. 27 Boston, MA 02111-1307, USA.
28*/ 28*/
29 29
30#ifndef OTIMEPICKER_H 30#ifndef OTIMEPICKER_H
31#define OTIMEPICKER_H 31#define OTIMEPICKER_H
32 32
33/* OPIE */ 33/* OPIE */
34#include <opie2/oclickablelabel.h> 34#include "oclickablelabel.h"
35#include <opie2/otimepickerbase.h> 35#include "otimepickerbase.h"
36 36
37/* QT */ 37/* QT */
38#include <qwidget.h> 38#include <qwidget.h>
39#include <qvaluelist.h> 39#include <qvaluelist.h>
40#include <qdatetime.h> 40#include <qdatetime.h>
41#include <qdialog.h> 41#include <qdialog.h>
42 42
43 43
44namespace Opie { 44namespace Opie {
45namespace Ui { 45namespace Ui {
46 46
47/** 47/**
48 * A class to pick time. It uses clickable labels 48 * A class to pick time. It uses clickable labels
49 * internally to allow a quick selection of a time. 49 * internally to allow a quick selection of a time.
50 * A time can be selected by two clicks of a user 50 * A time can be selected by two clicks of a user
51 * 51 *
52 * @short A widget to quickly pick a QTime 52 * @short A widget to quickly pick a QTime
53 * @version 1.0 53 * @version 1.0
54 * @see QWidget 54 * @see QWidget
55 * @see QTime 55 * @see QTime
56 * @author Hakan Ardo, Stefan Eilers 56 * @author Hakan Ardo, Stefan Eilers
57 */ 57 */
58class OTimePicker : public QWidget 58class OTimePicker : public QWidget
59{ 59{
60 Q_OBJECT 60 Q_OBJECT
61 61
62public: 62public:
63 OTimePicker(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); 63 OTimePicker(QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
64 64
65public slots: 65public slots:
66 void setHour(int h); 66 void setHour(int h);
67 void setMinute(int m); 67 void setMinute(int m);
68 void setTime( const QTime& ); 68 void setTime( const QTime& );
69 void setTime( int h, int m ); 69 void setTime( int h, int m );
70 70
71public: 71public:
72 QTime time()const; 72 QTime time()const;
73 73
74private: 74private:
75 QValueList<OClickableLabel *> hourLst; 75 QValueList<OClickableLabel *> hourLst;
76 QValueList<OClickableLabel *> minuteLst; 76 QValueList<OClickableLabel *> minuteLst;
77 QTime tm; 77 QTime tm;
78 struct Private; 78 struct Private;
79 Private *d; 79 Private *d;
80 80
81private slots: 81private slots:
82 void slotHour(bool b); 82 void slotHour(bool b);
83 void slotMinute(bool b); 83 void slotMinute(bool b);