-rw-r--r-- | libopie2/opieui/otabwidget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opieui/otabwidget.h b/libopie2/opieui/otabwidget.h index 6a64b7d..b3423e8 100644 --- a/libopie2/opieui/otabwidget.h +++ b/libopie2/opieui/otabwidget.h | |||
@@ -199,94 +199,94 @@ class OTabWidget : public QWidget | |||
199 | */ | 199 | */ |
200 | QSize sizeHint() const; | 200 | QSize sizeHint() const; |
201 | 201 | ||
202 | /** | 202 | /** |
203 | * @fn currentTab( ) | 203 | * @fn currentTab( ) |
204 | * @brief returns current tab id. | 204 | * @brief returns current tab id. |
205 | */ | 205 | */ |
206 | // ### make const | 206 | // ### make const |
207 | int currentTab()/* const */; | 207 | int currentTab()/* const */; |
208 | /** | 208 | /** |
209 | * @brief returns the current page of the active tab | 209 | * @brief returns the current page of the active tab |
210 | * | 210 | * |
211 | * @since 1.2 | 211 | * @since 1.2 |
212 | */ | 212 | */ |
213 | QWidget* currentWidget()const; | 213 | QWidget* currentWidget()const; |
214 | 214 | ||
215 | protected: | 215 | protected: |
216 | 216 | ||
217 | /** | 217 | /** |
218 | * @fn resizeEvent( QResizeEvent * ) | 218 | * @fn resizeEvent( QResizeEvent * ) |
219 | * @brief Reimplemented for internal purposes. | 219 | * @brief Reimplemented for internal purposes. |
220 | */ | 220 | */ |
221 | void resizeEvent( QResizeEvent * ); | 221 | void resizeEvent( QResizeEvent * ); |
222 | 222 | ||
223 | private: | 223 | private: |
224 | OTabInfoList tabs; | 224 | OTabInfoList tabs; |
225 | OTabInfo *currTab; | 225 | OTabInfo *currTab; |
226 | 226 | ||
227 | TabStyle tabBarStyle; | 227 | TabStyle tabBarStyle; |
228 | TabPosition tabBarPosition; | 228 | TabPosition tabBarPosition; |
229 | 229 | ||
230 | QWidgetStack *tabBarStack; | 230 | QWidgetStack *tabBarStack; |
231 | OTabBar *tabBar; | 231 | OTabBar *tabBar; |
232 | QComboBox *tabList; | 232 | QComboBox *tabList; |
233 | 233 | ||
234 | QWidgetStack *widgetStack; | 234 | QWidgetStack *widgetStack; |
235 | class Private; | 235 | class Private; |
236 | Private* d; | 236 | Private* d; |
237 | 237 | ||
238 | /** | 238 | /** |
239 | * @fn loadSmooth( const QString &name ) | 239 | * @fn loadSmooth( const QString &name ) |
240 | * @brief Loads icon for widget. | 240 | * @brief Loads icon for widget. |
241 | * | 241 | * |
242 | * @param name Name of icon image file. | 242 | * @param name Name of icon image file. |
243 | */ | 243 | */ |
244 | QPixmap loadSmooth( const QString & ); | 244 | QPixmap loadSmooth( const QString & ); |
245 | 245 | ||
246 | /** | 246 | /** |
247 | * @fn selectTab( OTabInfo *tab ) | 247 | * @fn selectTab( OTabInfo *tab ) |
248 | * @brief Internal function to select desired widget. | 248 | * @brief Internal function to select desired widget. |
249 | * | 249 | * |
250 | * @param tab Pointer to data for widget. | 250 | * @param tab Pointer to data for widget. |
251 | */ | 251 | */ |
252 | void selectTab( OTabInfo * ); | 252 | void selectTab( OTabInfo * ); |
253 | 253 | ||
254 | /** | 254 | /** |
255 | * @fn setUpLayout() | 255 | * @fn setUpLayout() |
256 | * @brief Internal function to adjust layout. | 256 | * @brief Internal function to adjust layout. |
257 | */ | 257 | */ |
258 | void setUpLayout(); | 258 | void setUpLayout(); |
259 | 259 | ||
260 | 260 | ||
261 | signals: | 261 | signals: |
262 | /** | 262 | /** |
263 | * @fn currentChanegd( QWidget *widget ) | 263 | * @fn currentChanged( QWidget *widget ) |
264 | * @brief This signal is emitted whenever the widget has changed. | 264 | * @brief This signal is emitted whenever the widget has changed. |
265 | * | 265 | * |
266 | * @param widget Pointer to new current widget. | 266 | * @param widget Pointer to new current widget. |
267 | */ | 267 | */ |
268 | void currentChanged( QWidget * ); | 268 | void currentChanged( QWidget * ); |
269 | 269 | ||
270 | private slots: | 270 | private slots: |
271 | 271 | ||
272 | /** | 272 | /** |
273 | * @fn slotTabBarSelected( int id ) | 273 | * @fn slotTabBarSelected( int id ) |
274 | * @brief Slot which is called when a tab is selected. | 274 | * @brief Slot which is called when a tab is selected. |
275 | * | 275 | * |
276 | * @param id ID of widget selected. | 276 | * @param id ID of widget selected. |
277 | */ | 277 | */ |
278 | void slotTabBarSelected( int ); | 278 | void slotTabBarSelected( int ); |
279 | 279 | ||
280 | /** | 280 | /** |
281 | * @fn slotTabListSelected( int index ) | 281 | * @fn slotTabListSelected( int index ) |
282 | * @brief Slot which is called when a drop down selection is made. | 282 | * @brief Slot which is called when a drop down selection is made. |
283 | * | 283 | * |
284 | * @param id Index of widget selected. | 284 | * @param id Index of widget selected. |
285 | */ | 285 | */ |
286 | void slotTabListSelected( int ); | 286 | void slotTabListSelected( int ); |
287 | }; | 287 | }; |
288 | 288 | ||
289 | } | 289 | } |
290 | } | 290 | } |
291 | 291 | ||
292 | #endif | 292 | #endif |