-rw-r--r-- | libopie/otabwidget.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libopie/otabwidget.h b/libopie/otabwidget.h index 23fe774..bcd9a85 100644 --- a/libopie/otabwidget.h +++ b/libopie/otabwidget.h | |||
@@ -174,66 +174,65 @@ public: | |||
174 | 174 | ||
175 | /** | 175 | /** |
176 | * @fn setCurrentTab( const QString &tabname ) | 176 | * @fn setCurrentTab( const QString &tabname ) |
177 | * @brief Selects and brings to top the desired widget, by using label. | 177 | * @brief Selects and brings to top the desired widget, by using label. |
178 | * | 178 | * |
179 | * @param tabname Text label for widget to select. | 179 | * @param tabname Text label for widget to select. |
180 | */ | 180 | */ |
181 | void setCurrentTab( const QString & ); | 181 | void setCurrentTab( const QString & ); |
182 | 182 | ||
183 | /** | 183 | /** |
184 | * @fn setCurrentTab( int ) | 184 | * @fn setCurrentTab( int ) |
185 | * @brief Selects and brings to top the desired widget, by using id. | 185 | * @brief Selects and brings to top the desired widget, by using id. |
186 | * | 186 | * |
187 | * @param tab id for widget to select. | 187 | * @param tab id for widget to select. |
188 | */ | 188 | */ |
189 | void setCurrentTab(int); | 189 | void setCurrentTab(int); |
190 | 190 | ||
191 | /** | 191 | /** |
192 | * @fn sizeHint() | 192 | * @fn sizeHint() |
193 | * @brief Reimplemented for internal purposes. | 193 | * @brief Reimplemented for internal purposes. |
194 | */ | 194 | */ |
195 | QSize sizeHint() const; | 195 | QSize sizeHint() const; |
196 | 196 | ||
197 | /** | 197 | /** |
198 | * @fn getCurrentTab( ) | 198 | * @fn currentTab( ) |
199 | * @brief returns current tab id. | 199 | * @brief returns current tab id. |
200 | */ | 200 | */ |
201 | //FIXME TT coding style currentTab() -zecke | 201 | int currentTab(); |
202 | int getCurrentTab(); | ||
203 | 202 | ||
204 | 203 | ||
205 | protected: | 204 | protected: |
206 | 205 | ||
207 | /** | 206 | /** |
208 | * @fn resizeEvent( QResizeEvent * ) | 207 | * @fn resizeEvent( QResizeEvent * ) |
209 | * @brief Reimplemented for internal purposes. | 208 | * @brief Reimplemented for internal purposes. |
210 | */ | 209 | */ |
211 | void resizeEvent( QResizeEvent * ); | 210 | void resizeEvent( QResizeEvent * ); |
212 | 211 | ||
213 | private: | 212 | private: |
214 | OTabInfoList tabs; | 213 | OTabInfoList tabs; |
215 | OTabInfo *currentTab; | 214 | OTabInfo *currTab; |
216 | 215 | ||
217 | TabStyle tabBarStyle; | 216 | TabStyle tabBarStyle; |
218 | TabPosition tabBarPosition; | 217 | TabPosition tabBarPosition; |
219 | 218 | ||
220 | QWidgetStack *tabBarStack; | 219 | QWidgetStack *tabBarStack; |
221 | OTabBar *tabBar; | 220 | OTabBar *tabBar; |
222 | QComboBox *tabList; | 221 | QComboBox *tabList; |
223 | 222 | ||
224 | QWidgetStack *widgetStack; | 223 | QWidgetStack *widgetStack; |
225 | 224 | ||
226 | /** | 225 | /** |
227 | * @fn loadSmooth( const QString &name ) | 226 | * @fn loadSmooth( const QString &name ) |
228 | * @brief Loads icon for widget. | 227 | * @brief Loads icon for widget. |
229 | * | 228 | * |
230 | * @param name Name of icon image file. | 229 | * @param name Name of icon image file. |
231 | */ | 230 | */ |
232 | QPixmap loadSmooth( const QString & ); | 231 | QPixmap loadSmooth( const QString & ); |
233 | 232 | ||
234 | /** | 233 | /** |
235 | * @fn selectTab( OTabInfo *tab ) | 234 | * @fn selectTab( OTabInfo *tab ) |
236 | * @brief Internal function to select desired widget. | 235 | * @brief Internal function to select desired widget. |
237 | * | 236 | * |
238 | * @param tab Pointer to data for widget. | 237 | * @param tab Pointer to data for widget. |
239 | */ | 238 | */ |