summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/otabwidget.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libopie2/opieui/otabwidget.h b/libopie2/opieui/otabwidget.h
index c7d32c2..092f22c 100644
--- a/libopie2/opieui/otabwidget.h
+++ b/libopie2/opieui/otabwidget.h
@@ -55,33 +55,33 @@ class OTabBar;
55 * @brief The OTabWidget class provides a stack of widgets. 55 * @brief The OTabWidget class provides a stack of widgets.
56 * 56 *
57 * OTabWidget is a derivation of TrollTech's QTabWidget which provides 57 * OTabWidget is a derivation of TrollTech's QTabWidget which provides
58 * a stack of widgets. Widgets can be selected using either a tab bar or 58 * a stack of widgets. Widgets can be selected using either a tab bar or
59 * drop down list box. 59 * drop down list box.
60 * 60 *
61 * The normal way to use OTabWidget is to do the following in the 61 * The normal way to use OTabWidget is to do the following in the
62 * constructor: 62 * constructor:
63 * - Create a OTabWidget. 63 * - Create a OTabWidget.
64 * - Create a QWidget for each of the pages in the control, insert 64 * - Create a QWidget for each of the pages in the control, insert
65 * 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()
66 * to add the widget. 66 * to add the widget.
67 */ 67 */
68class OTabWidget : public QWidget 68class OTabWidget : public QWidget
69{ 69{
70 Q_OBJECT 70 Q_OBJECT
71 71
72 public: 72 public:
73/** 73/**
74 * @enum TabStyle 74 * @enum TabStyle
75 * @brief Defines how the widget selection control is displayed. 75 * @brief Defines how the widget selection control is displayed.
76 * 76 *
77 * Valid values: 77 * Valid values:
78 * - Global: use globally selected options (qpe.conf - TabStyle & TabPosition) 78 * - Global: use globally selected options (qpe.conf - TabStyle & TabPosition)
79 * - TextTab: Tabbed widget selection with text labels 79 * - TextTab: Tabbed widget selection with text labels
80 * - IconTab: Tabbed widget selection with icon labels, text label for active widget 80 * - IconTab: Tabbed widget selection with icon labels, text label for active widget
81 * (similar to Opie launcher) 81 * (similar to Opie launcher)
82 * - TextList: Drop down list widget selection with text labels 82 * - TextList: Drop down list widget selection with text labels
83 * - IconList: Drop down list widget selection with icon & text labels 83 * - IconList: Drop down list widget selection with icon & text labels
84 */ 84 */
85 enum TabStyle { Global, TextTab, IconTab, TextList, IconList }; 85 enum TabStyle { Global, TextTab, IconTab, TextList, IconList };
86 86
87/** 87/**
@@ -117,33 +117,32 @@ class OTabWidget : public QWidget
117/** 117/**
118 * @fn addTab( QWidget *child, const QString &icon, const QString &label ) 118 * @fn addTab( QWidget *child, const QString &icon, const QString &label )
119 * @brief Add new widget to control. 119 * @brief Add new widget to control.
120 * 120 *
121 * @param child Widget control. 121 * @param child Widget control.
122 * @param icon Path to icon. 122 * @param icon Path to icon.
123 * @param label Text label. 123 * @param label Text label.
124 */ 124 */
125 void addTab( QWidget *, const QString &, const QString & ); 125 void addTab( QWidget *, const QString &, const QString & );
126 126
127/** 127/**
128 * @fn removePage( QWidget *widget ) 128 * @fn removePage( QWidget *widget )
129 * @brief Remove widget from control. Does not delete widget. 129 * @brief Remove widget from control. Does not delete widget.
130 * 130 *
131 * @param widget Widget control to be removed. 131 * @param widget Widget control to be removed.
132 */ 132 */
133 /* ### Page vs. Tab.. yes the widget is a Page but then is addTab wrong -zecke */
134 void removePage( QWidget * ); 133 void removePage( QWidget * );
135 134
136/** 135/**
137 * @fn changeTab( QWidget *widget, const QString &icon, const QString &label ) 136 * @fn changeTab( QWidget *widget, const QString &icon, const QString &label )
138 * @brief Change text and/or icon for existing tab 137 * @brief Change text and/or icon for existing tab
139 * 138 *
140 * @param child Widget control. 139 * @param child Widget control.
141 * @param icon Path to icon. 140 * @param icon Path to icon.
142 * @param label Text label. 141 * @param label Text label.
143 */ 142 */
144 void changeTab( QWidget *, const QString &, const QString & ); 143 void changeTab( QWidget *, const QString &, const QString & );
145 144
146/** 145/**
147 * @fn tabStyle()const 146 * @fn tabStyle()const
148 * @brief Returns current widget selection control style. 147 * @brief Returns current widget selection control style.
149 */ 148 */