summaryrefslogtreecommitdiff
path: root/libopie2/opieui/otabwidget.h
Unidiff
Diffstat (limited to 'libopie2/opieui/otabwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/otabwidget.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/libopie2/opieui/otabwidget.h b/libopie2/opieui/otabwidget.h
index 51d1c6d..c7d32c2 100644
--- a/libopie2/opieui/otabwidget.h
+++ b/libopie2/opieui/otabwidget.h
@@ -1,10 +1,9 @@
1/* 1/*
2                This file is part of the Opie Project 2                 This file is part of the Opie Project
3 3              Copyright (C) 2002 Dan Williams <williamsdr@acm.org>
4              Copyright (c) 2002 Dan Williams <williamsdr@acm.org>
5 =. 4 =.
6 .=l. 5 .=l.
7           .>+-= 6           .>+-=
8 _;:,     .>    :=|. This program is free software; you can 7 _;:,     .>    :=|. This program is free software; you can
9.> <`_,   >  .   <= redistribute it and/or modify it under 8.> <`_,   >  .   <= redistribute it and/or modify it under
10:`=1 )Y*s>-.--   : the terms of the GNU Library General Public 9:`=1 )Y*s>-.--   : the terms of the GNU Library General Public
@@ -66,14 +65,14 @@ class OTabBar;
66 * children into it, set up geometry management for it, and use addTab() 65 * children into it, set up geometry management for it, and use addTab()
67 * to add the widget. 66 * to add the widget.
68 */ 67 */
69class OTabWidget : public QWidget 68class OTabWidget : public QWidget
70{ 69{
71 Q_OBJECT 70 Q_OBJECT
72public: 71
73 72 public:
74/** 73/**
75 * @enum TabStyle 74 * @enum TabStyle
76 * @brief Defines how the widget selection control is displayed. 75 * @brief Defines how the widget selection control is displayed.
77 * 76 *
78 * Valid values: 77 * Valid values:
79 * - Global: use globally selected options (qpe.conf - TabStyle & TabPosition) 78 * - Global: use globally selected options (qpe.conf - TabStyle & TabPosition)
@@ -104,13 +103,12 @@ public:
104 * @param s Style of widget selection control. 103 * @param s Style of widget selection control.
105 * @param p Position of the widget selection control. 104 * @param p Position of the widget selection control.
106 * 105 *
107 * Constructs a new OTabWidget control with parent and name. The style and position parameters 106 * Constructs a new OTabWidget control with parent and name. The style and position parameters
108 * determine how the widget selection control will be displayed. 107 * determine how the widget selection control will be displayed.
109 */ 108 */
110 // FIXME WFlags? -zecke
111 OTabWidget( QWidget * = 0, const char * = 0, TabStyle = Global, TabPosition = Top ); 109 OTabWidget( QWidget * = 0, const char * = 0, TabStyle = Global, TabPosition = Top );
112 110
113/** 111/**
114 * @fn ~OTabWidget() 112 * @fn ~OTabWidget()
115 * @brief Object destructor. 113 * @brief Object destructor.
116 */ 114 */
@@ -259,22 +257,22 @@ private:
259 * @fn setUpLayout() 257 * @fn setUpLayout()
260 * @brief Internal function to adjust layout. 258 * @brief Internal function to adjust layout.
261 */ 259 */
262 void setUpLayout(); 260 void setUpLayout();
263 261
264 262
265signals: 263 signals:
266/** 264/**
267 * @fn currentChanegd( QWidget *widget ) 265 * @fn currentChanegd( QWidget *widget )
268 * @brief This signal is emitted whenever the widget has changed. 266 * @brief This signal is emitted whenever the widget has changed.
269 * 267 *
270 * @param widget Pointer to new current widget. 268 * @param widget Pointer to new current widget.
271 */ 269 */
272 void currentChanged( QWidget * ); 270 void currentChanged( QWidget * );
273 271
274private slots: 272 private slots:
275 273
276/** 274/**
277 * @fn slotTabBarSelected( int id ) 275 * @fn slotTabBarSelected( int id )
278 * @brief Slot which is called when a tab is selected. 276 * @brief Slot which is called when a tab is selected.
279 * 277 *
280 * @param id ID of widget selected. 278 * @param id ID of widget selected.