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