-rw-r--r-- | libopie/otabwidget.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libopie/otabwidget.h b/libopie/otabwidget.h index 74d683b..0aa9bb8 100644 --- a/libopie/otabwidget.h +++ b/libopie/otabwidget.h | |||
@@ -97,64 +97,74 @@ public: | |||
97 | * @param p Position of the widget selection control. | 97 | * @param p Position of the widget selection control. |
98 | * | 98 | * |
99 | * Constructs a new OTabWidget control with parent and name. The style and position parameters | 99 | * Constructs a new OTabWidget control with parent and name. The style and position parameters |
100 | * determine how the widget selection control will be displayed. | 100 | * determine how the widget selection control will be displayed. |
101 | */ | 101 | */ |
102 | OTabWidget( QWidget * = 0, const char * = 0, TabStyle = Global, TabPosition = Top ); | 102 | OTabWidget( QWidget * = 0, const char * = 0, TabStyle = Global, TabPosition = Top ); |
103 | 103 | ||
104 | /** | 104 | /** |
105 | * @fn ~OTabWidget() | 105 | * @fn ~OTabWidget() |
106 | * @brief Object destructor. | 106 | * @brief Object destructor. |
107 | */ | 107 | */ |
108 | ~OTabWidget(); | 108 | ~OTabWidget(); |
109 | 109 | ||
110 | /** | 110 | /** |
111 | * @fn addTab( QWidget *child, const QString &icon, const QString &label ) | 111 | * @fn addTab( QWidget *child, const QString &icon, const QString &label ) |
112 | * @brief Add new widget to control. | 112 | * @brief Add new widget to control. |
113 | * | 113 | * |
114 | * @param child Widget control. | 114 | * @param child Widget control. |
115 | * @param icon Path to icon. | 115 | * @param icon Path to icon. |
116 | * @param label Text label. | 116 | * @param label Text label. |
117 | */ | 117 | */ |
118 | void addTab( QWidget *, const QString &, const QString & ); | 118 | void addTab( QWidget *, const QString &, const QString & ); |
119 | 119 | ||
120 | /** | 120 | /** |
121 | * @fn removePage( QWidget *widget ) | 121 | * @fn removePage( QWidget *widget ) |
122 | * @brief Remove widget from control. Does not delete widget. | 122 | * @brief Remove widget from control. Does not delete widget. |
123 | * | 123 | * |
124 | * @param widget Widget control to be removed. | 124 | * @param widget Widget control to be removed. |
125 | */ | 125 | */ |
126 | void removePage( QWidget * ); | 126 | void removePage( QWidget * ); |
127 | 127 | ||
128 | /** | 128 | /** |
129 | * @fn changeTab( QWidget *widget, const QIconSet &icon, const QString &label ) | ||
130 | * @brief Change text and/or icon for existing tab | ||
131 | * | ||
132 | * @param child Widget control. | ||
133 | * @param icon Path to icon. | ||
134 | * @param label Text label. | ||
135 | */ | ||
136 | void changeTab( QWidget *, const QString &, const QString & ); | ||
137 | |||
138 | /** | ||
129 | * @fn tabStyle() | 139 | * @fn tabStyle() |
130 | * @brief Returns current widget selection control style. | 140 | * @brief Returns current widget selection control style. |
131 | */ | 141 | */ |
132 | TabStyle tabStyle() const; | 142 | TabStyle tabStyle() const; |
133 | 143 | ||
134 | /** | 144 | /** |
135 | * @fn setTabStyle( TabStyle s ) | 145 | * @fn setTabStyle( TabStyle s ) |
136 | * @brief Set the current widget selection control style. | 146 | * @brief Set the current widget selection control style. |
137 | * | 147 | * |
138 | * @param s New style to be used. | 148 | * @param s New style to be used. |
139 | */ | 149 | */ |
140 | void setTabStyle( TabStyle ); | 150 | void setTabStyle( TabStyle ); |
141 | 151 | ||
142 | /** | 152 | /** |
143 | * @fn tabPosition() | 153 | * @fn tabPosition() |
144 | * @brief Returns current widget selection control position. | 154 | * @brief Returns current widget selection control position. |
145 | */ | 155 | */ |
146 | TabPosition tabPosition() const; | 156 | TabPosition tabPosition() const; |
147 | 157 | ||
148 | /** | 158 | /** |
149 | * @fn setTabPosition( TabPosition p ) | 159 | * @fn setTabPosition( TabPosition p ) |
150 | * @brief Set the current widget selection control position. | 160 | * @brief Set the current widget selection control position. |
151 | * | 161 | * |
152 | * @param p New position of widget selection control. | 162 | * @param p New position of widget selection control. |
153 | */ | 163 | */ |
154 | void setTabPosition( TabPosition ); | 164 | void setTabPosition( TabPosition ); |
155 | 165 | ||
156 | /** | 166 | /** |
157 | * @fn setCurrentTab( QWidget *childwidget ) | 167 | * @fn setCurrentTab( QWidget *childwidget ) |
158 | * @brief Selects and brings to top the desired widget by using widget pointer. | 168 | * @brief Selects and brings to top the desired widget by using widget pointer. |
159 | * | 169 | * |
160 | * @param childwidget Widget to select. | 170 | * @param childwidget Widget to select. |