summaryrefslogtreecommitdiff
path: root/libopie/otabwidget.h
Unidiff
Diffstat (limited to 'libopie/otabwidget.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie/otabwidget.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libopie/otabwidget.h b/libopie/otabwidget.h
index d61fe9e..74d683b 100644
--- a/libopie/otabwidget.h
+++ b/libopie/otabwidget.h
@@ -167,17 +167,31 @@ public:
167 * 167 *
168 * @param tabname Text label for widget to select. 168 * @param tabname Text label for widget to select.
169 */ 169 */
170 void setCurrentTab( const QString & ); 170 void setCurrentTab( const QString & );
171 171
172/** 172/**
173 * @fn setCurrentTab( int )
174 * @brief Selects and brings to top the desired widget, by using id.
175 *
176 * @param tab id for widget to select.
177 */
178 void setCurrentTab(int);
179
180/**
173 * @fn sizeHint() 181 * @fn sizeHint()
174 * @brief Reimplemented for internal purposes. 182 * @brief Reimplemented for internal purposes.
175 */ 183 */
176 QSize sizeHint() const; 184 QSize sizeHint() const;
177 185
186/**
187 * @fn getCurrentTab( )
188 * @brief returns current tab id.
189 */
190 int getCurrentTab();
191
178 192
179protected: 193protected:
180 194
181/** 195/**
182 * @fn resizeEvent( QResizeEvent * ) 196 * @fn resizeEvent( QResizeEvent * )
183 * @brief Reimplemented for internal purposes. 197 * @brief Reimplemented for internal purposes.
@@ -216,12 +230,13 @@ private:
216/** 230/**
217 * @fn setUpLayout() 231 * @fn setUpLayout()
218 * @brief Internal function to adjust layout. 232 * @brief Internal function to adjust layout.
219 */ 233 */
220 void setUpLayout(); 234 void setUpLayout();
221 235
236
222signals: 237signals:
223/** 238/**
224 * @fn currentChanegd( QWidget *widget ) 239 * @fn currentChanegd( QWidget *widget )
225 * @brief This signal is emitted whenever the widget has changed. 240 * @brief This signal is emitted whenever the widget has changed.
226 * 241 *
227 * @param widget Pointer to new current widget. 242 * @param widget Pointer to new current widget.