author | llornkcor <llornkcor> | 2002-10-20 15:49:18 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-10-20 15:49:18 (UTC) |
commit | 1a583682e8a49e65d5c478ab72dffb78d120c850 (patch) (side-by-side diff) | |
tree | f37a6beaad8a2807b71cbf596807d30644798466 /libopie/otabwidget.h | |
parent | 18ba3be9ca69c42476e310649e3068d2d5f8a03b (diff) | |
download | opie-1a583682e8a49e65d5c478ab72dffb78d120c850.zip opie-1a583682e8a49e65d5c478ab72dffb78d120c850.tar.gz opie-1a583682e8a49e65d5c478ab72dffb78d120c850.tar.bz2 |
added setCurrentTab and getCurrentTab using id for compatibilty
-rw-r--r-- | libopie/otabwidget.h | 15 |
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 @@ -169,13 +169,27 @@ public: */ void setCurrentTab( const QString & ); /** + * @fn setCurrentTab( int ) + * @brief Selects and brings to top the desired widget, by using id. + * + * @param tab id for widget to select. + */ + void setCurrentTab(int); + +/** * @fn sizeHint() * @brief Reimplemented for internal purposes. */ QSize sizeHint() const; +/** + * @fn getCurrentTab( ) + * @brief returns current tab id. + */ + int getCurrentTab(); + protected: /** @@ -218,8 +232,9 @@ private: * @brief Internal function to adjust layout. */ void setUpLayout(); + signals: /** * @fn currentChanegd( QWidget *widget ) * @brief This signal is emitted whenever the widget has changed. |