summaryrefslogtreecommitdiff
path: root/libopie2
authorclem <clem>2004-10-08 14:28:40 (UTC)
committer clem <clem>2004-10-08 14:28:40 (UTC)
commit057abc0180c8d821960d6957a8c3f64f0b86b229 (patch) (unidiff)
tree5aaadbd1924a89637ccf534ed91493b6406d8a5b /libopie2
parent0e41f335c0db28250216a5292a2b7bcee2a1cf4a (diff)
downloadopie-057abc0180c8d821960d6957a8c3f64f0b86b229.zip
opie-057abc0180c8d821960d6957a8c3f64f0b86b229.tar.gz
opie-057abc0180c8d821960d6957a8c3f64f0b86b229.tar.bz2
small doxygen doc fixes
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/okeyfilter.cpp8
-rw-r--r--libopie2/opieui/big-screen/omodalhelper.h2
-rw-r--r--libopie2/opieui/otabinfo.h5
3 files changed, 5 insertions, 10 deletions
diff --git a/libopie2/opiecore/okeyfilter.cpp b/libopie2/opiecore/okeyfilter.cpp
index a517333..61b7909 100644
--- a/libopie2/opiecore/okeyfilter.cpp
+++ b/libopie2/opiecore/okeyfilter.cpp
@@ -26,41 +26,41 @@ _;:, .> :=|. This program is free software; you can
26 Boston, MA 02111-1307, USA. 26 Boston, MA 02111-1307, USA.
27*/ 27*/
28 28
29#include "okeyfilter.h" 29#include "okeyfilter.h"
30#include "device/odevice.h" 30#include "device/odevice.h"
31#include "odebug.h" 31#include "odebug.h"
32 32
33namespace Opie { 33namespace Opie {
34namespace Core { 34namespace Core {
35 35
36class OKeyFilterPrivate:public OKeyFilter, QWSServer::KeyboardFilter 36class OKeyFilterPrivate:public OKeyFilter, QWSServer::KeyboardFilter
37{ 37{
38 static QValueList<QWSServer::KeyboardFilter*> filterList; 38 static QValueList<QWSServer::KeyboardFilter*> filterList;
39 static QValueList<QWSServer::KeyboardFilter*> preFilterList; 39 static QValueList<QWSServer::KeyboardFilter*> preFilterList;
40protected: 40protected:
41 OKeyFilterPrivate(const OKeyFilterPrivate&):OKeyFilter(),QWSServer::KeyboardFilter(){}; 41 OKeyFilterPrivate(const OKeyFilterPrivate&):OKeyFilter(),QWSServer::KeyboardFilter(){};
42 virtual void addPreHandler(QWSServer::KeyboardFilter*); 42 virtual void addPreHandler(QWSServer::KeyboardFilter* aFilter);
43 virtual void remPreHandler(QWSServer::KeyboardFilter*); 43 virtual void remPreHandler(QWSServer::KeyboardFilter* aFilter);
44 44
45public: 45public:
46 OKeyFilterPrivate(); 46 OKeyFilterPrivate();
47 virtual ~OKeyFilterPrivate(); 47 virtual ~OKeyFilterPrivate();
48 virtual bool filter( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat ); 48 virtual bool filter( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat );
49 virtual void addHandler(QWSServer::KeyboardFilter*); 49 virtual void addHandler(QWSServer::KeyboardFilter* aFilter);
50 virtual void remHandler(QWSServer::KeyboardFilter*); 50 virtual void remHandler(QWSServer::KeyboardFilter* aFilter);
51}; 51};
52 52
53QValueList<QWSServer::KeyboardFilter*> OKeyFilterPrivate::filterList; 53QValueList<QWSServer::KeyboardFilter*> OKeyFilterPrivate::filterList;
54QValueList<QWSServer::KeyboardFilter*> OKeyFilterPrivate::preFilterList; 54QValueList<QWSServer::KeyboardFilter*> OKeyFilterPrivate::preFilterList;
55 55
56OKeyFilter::OKeyFilter() 56OKeyFilter::OKeyFilter()
57{ 57{
58} 58}
59 59
60OKeyFilter::~OKeyFilter() 60OKeyFilter::~OKeyFilter()
61{ 61{
62} 62}
63 63
64OKeyFilter* OKeyFilter::inst() 64OKeyFilter* OKeyFilter::inst()
65{ 65{
66 static OKeyFilter*ofilter = 0; 66 static OKeyFilter*ofilter = 0;
diff --git a/libopie2/opieui/big-screen/omodalhelper.h b/libopie2/opieui/big-screen/omodalhelper.h
index 096cec4..ed6fee3 100644
--- a/libopie2/opieui/big-screen/omodalhelper.h
+++ b/libopie2/opieui/big-screen/omodalhelper.h
@@ -223,33 +223,33 @@ template<class Dialog, class Record, typename Id>
223OModalHelper<Dialog, Record, Id>::OModalHelper( enum Mode mode, QObject* parent ) 223OModalHelper<Dialog, Record, Id>::OModalHelper( enum Mode mode, QObject* parent )
224{ 224{
225 m_disabled = false; 225 m_disabled = false;
226 m_mode = mode; 226 m_mode = mode;
227 m_signal = new OModalHelperSignal( this, parent ); 227 m_signal = new OModalHelperSignal( this, parent );
228 m_controler = new OModalHelperControler( this, m_signal ); 228 m_controler = new OModalHelperControler( this, m_signal );
229} 229}
230 230
231 231
232/** 232/**
233 * This functions looks for your record and sees if it is 233 * This functions looks for your record and sees if it is
234 * handled with this helper. Note that done records 234 * handled with this helper. Note that done records
235 * will not be returned. 235 * will not be returned.
236 * 236 *
237 * @return true if the record is currenlty edited otherwise false 237 * @return true if the record is currenlty edited otherwise false
238 * 238 *
239 * @param Id The id which might be handled 239 * @param id The id which might be handled
240 */ 240 */
241template<class Dialog, class Record, typename Id> 241template<class Dialog, class Record, typename Id>
242bool OModalHelper<Dialog, Record, Id>::handles( Id id )const 242bool OModalHelper<Dialog, Record, Id>::handles( Id id )const
243{ 243{
244 if ( m_transactions.isEmpty() ) 244 if ( m_transactions.isEmpty() )
245 return false; 245 return false;
246 246
247 TransactionMap::ConstIterator it = m_transactions.begin(); 247 TransactionMap::ConstIterator it = m_transactions.begin();
248 for ( ; it != m_transactions.end(); ++it ) 248 for ( ; it != m_transactions.end(); ++it )
249 if ( it.data() == id ) 249 if ( it.data() == id )
250 return true; 250 return true;
251 251
252 return false; 252 return false;
253} 253}
254 254
255 255
diff --git a/libopie2/opieui/otabinfo.h b/libopie2/opieui/otabinfo.h
index 426c45a..d6d5abf 100644
--- a/libopie2/opieui/otabinfo.h
+++ b/libopie2/opieui/otabinfo.h
@@ -47,37 +47,32 @@ namespace Ui {
47 * of widgets added to the control. 47 * of widgets added to the control.
48 * 48 *
49 * OTabInfo provides the following information about a widget added to an 49 * OTabInfo provides the following information about a widget added to an
50 * OTabWidget control: 50 * OTabWidget control:
51 * 51 *
52 * ID - integer tab bar ID 52 * ID - integer tab bar ID
53 * Control - QWidget pointer to child widget 53 * Control - QWidget pointer to child widget
54 * Label - QString text label for OTabWidget selection control 54 * Label - QString text label for OTabWidget selection control
55 * Icon - QString name of icon file 55 * Icon - QString name of icon file
56 */ 56 */
57class OTabInfo 57class OTabInfo
58{ 58{
59public: 59public:
60 /** 60 /**
61 * @fn OTabInfo() 61 * @fn OTabInfo()
62 * @brief Object constructor. 62 * @brief Object constructor.
63 *
64 * @param parent Pointer to parent of this control.
65 * @param name Name of control.
66 * @param s Style of widget selection control.
67 * @param p Position of the widget selection control.
68 */ 63 */
69 OTabInfo() : i( -1 ), c( 0 ), p( 0 ), l( QString::null ) {} 64 OTabInfo() : i( -1 ), c( 0 ), p( 0 ), l( QString::null ) {}
70 65
71 /** 66 /**
72 * @fn OTabInfo( int id, QWidget *control, const QString &icon, const QString &label ) 67 * @fn OTabInfo( int id, QWidget *control, const QString &icon, const QString &label )
73 * @brief Object constructor. 68 * @brief Object constructor.
74 * 69 *
75 * @param id TabBar identifier for widget. 70 * @param id TabBar identifier for widget.
76 * @param control QWidget pointer to widget. 71 * @param control QWidget pointer to widget.
77 * @param icon QString name of icon file. 72 * @param icon QString name of icon file.
78 * @param label QString text label for OTabWidget selection control. 73 * @param label QString text label for OTabWidget selection control.
79 */ 74 */
80 OTabInfo( int id, QWidget *control, const QString &icon, const QString &label ) 75 OTabInfo( int id, QWidget *control, const QString &icon, const QString &label )
81 : i( id ), c( control ), p( icon ), l( label ) {} 76 : i( id ), c( control ), p( icon ), l( label ) {}
82 77
83 /** 78 /**