-rw-r--r-- | libopie/otabwidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie/otabwidget.h b/libopie/otabwidget.h index a67fe06..c140c0b 100644 --- a/libopie/otabwidget.h +++ b/libopie/otabwidget.h | |||
@@ -192,64 +192,66 @@ public: | |||
192 | * @fn sizeHint()const | 192 | * @fn sizeHint()const |
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 currentTab( ) | 198 | * @fn currentTab( ) |
199 | * @brief returns current tab id. | 199 | * @brief returns current tab id. |
200 | */ | 200 | */ |
201 | int currentTab(); | 201 | int currentTab(); |
202 | 202 | ||
203 | 203 | ||
204 | protected: | 204 | protected: |
205 | 205 | ||
206 | /** | 206 | /** |
207 | * @fn resizeEvent( QResizeEvent * ) | 207 | * @fn resizeEvent( QResizeEvent * ) |
208 | * @brief Reimplemented for internal purposes. | 208 | * @brief Reimplemented for internal purposes. |
209 | */ | 209 | */ |
210 | void resizeEvent( QResizeEvent * ); | 210 | void resizeEvent( QResizeEvent * ); |
211 | 211 | ||
212 | private: | 212 | private: |
213 | OTabInfoList tabs; | 213 | OTabInfoList tabs; |
214 | OTabInfo *currTab; | 214 | OTabInfo *currTab; |
215 | 215 | ||
216 | TabStyle tabBarStyle; | 216 | TabStyle tabBarStyle; |
217 | TabPosition tabBarPosition; | 217 | TabPosition tabBarPosition; |
218 | 218 | ||
219 | QWidgetStack *tabBarStack; | 219 | QWidgetStack *tabBarStack; |
220 | OTabBar *tabBar; | 220 | OTabBar *tabBar; |
221 | QComboBox *tabList; | 221 | QComboBox *tabList; |
222 | 222 | ||
223 | QWidgetStack *widgetStack; | 223 | QWidgetStack *widgetStack; |
224 | class Private; | ||
225 | Private* d; | ||
224 | 226 | ||
225 | /** | 227 | /** |
226 | * @fn loadSmooth( const QString &name ) | 228 | * @fn loadSmooth( const QString &name ) |
227 | * @brief Loads icon for widget. | 229 | * @brief Loads icon for widget. |
228 | * | 230 | * |
229 | * @param name Name of icon image file. | 231 | * @param name Name of icon image file. |
230 | */ | 232 | */ |
231 | QPixmap loadSmooth( const QString & ); | 233 | QPixmap loadSmooth( const QString & ); |
232 | 234 | ||
233 | /** | 235 | /** |
234 | * @fn selectTab( OTabInfo *tab ) | 236 | * @fn selectTab( OTabInfo *tab ) |
235 | * @brief Internal function to select desired widget. | 237 | * @brief Internal function to select desired widget. |
236 | * | 238 | * |
237 | * @param tab Pointer to data for widget. | 239 | * @param tab Pointer to data for widget. |
238 | */ | 240 | */ |
239 | void selectTab( OTabInfo * ); | 241 | void selectTab( OTabInfo * ); |
240 | 242 | ||
241 | /** | 243 | /** |
242 | * @fn setUpLayout() | 244 | * @fn setUpLayout() |
243 | * @brief Internal function to adjust layout. | 245 | * @brief Internal function to adjust layout. |
244 | */ | 246 | */ |
245 | void setUpLayout(); | 247 | void setUpLayout(); |
246 | 248 | ||
247 | 249 | ||
248 | signals: | 250 | signals: |
249 | /** | 251 | /** |
250 | * @fn currentChanegd( QWidget *widget ) | 252 | * @fn currentChanegd( QWidget *widget ) |
251 | * @brief This signal is emitted whenever the widget has changed. | 253 | * @brief This signal is emitted whenever the widget has changed. |
252 | * | 254 | * |
253 | * @param widget Pointer to new current widget. | 255 | * @param widget Pointer to new current widget. |
254 | */ | 256 | */ |
255 | void currentChanged( QWidget * ); | 257 | void currentChanged( QWidget * ); |