From d34e9bd43cab9fa296ee24dff173e86d5cf9954a Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 30 Aug 2003 20:26:05 +0000 Subject: Add comments about API changes when possible again Add currentWidget() method and mark it as since 1.2 --- (limited to 'libopie/otabwidget.cpp') 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; +} -- cgit v0.9.0.2