author | zecke <zecke> | 2003-08-30 20:26:05 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-08-30 20:26:05 (UTC) |
commit | d34e9bd43cab9fa296ee24dff173e86d5cf9954a (patch) (side-by-side diff) | |
tree | 9bc1d141018c27c1e2d5c9bcb3d2501e12d2aafd /libopie/otabwidget.cpp | |
parent | 4c3a1de5289631db05b86a07092f0a334608dcf6 (diff) | |
download | opie-d34e9bd43cab9fa296ee24dff173e86d5cf9954a.zip opie-d34e9bd43cab9fa296ee24dff173e86d5cf9954a.tar.gz opie-d34e9bd43cab9fa296ee24dff173e86d5cf9954a.tar.bz2 |
Add comments about API changes when possible again
Add currentWidget() method and mark it as since 1.2
-rw-r--r-- | libopie/otabwidget.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libopie/otabwidget.cpp b/libopie/otabwidget.cpp index fe2c60f..1b8c085 100644 --- a/libopie/otabwidget.cpp +++ b/libopie/otabwidget.cpp @@ -408,3 +408,12 @@ int OTabWidget::currentTab() return -1; } +QWidget* OTabWidget::currentWidget()const +{ + if ( currTab ) + { + return currTab->control(); + } + + return 0; +} |