summaryrefslogtreecommitdiff
path: root/libopie/otabwidget.h
authorzecke <zecke>2003-08-30 20:26:05 (UTC)
committer zecke <zecke>2003-08-30 20:26:05 (UTC)
commitd34e9bd43cab9fa296ee24dff173e86d5cf9954a (patch) (side-by-side diff)
tree9bc1d141018c27c1e2d5c9bcb3d2501e12d2aafd /libopie/otabwidget.h
parent4c3a1de5289631db05b86a07092f0a334608dcf6 (diff)
downloadopie-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
Diffstat (limited to 'libopie/otabwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/otabwidget.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/libopie/otabwidget.h b/libopie/otabwidget.h
index c140c0b..acb9223 100644
--- a/libopie/otabwidget.h
+++ b/libopie/otabwidget.h
@@ -124,6 +124,7 @@ public:
*
* @param widget Widget control to be removed.
*/
+ /* ### Page vs. Tab.. yes the widget is a Page but then is addTab wrong -zecke */
void removePage( QWidget * );
/**
@@ -198,8 +199,14 @@ public:
* @fn currentTab( )
* @brief returns current tab id.
*/
- int currentTab();
-
+ // ### make const
+ int currentTab()/* const */;
+/**
+ * @brief returns the current page of the active tab
+ *
+ * @since 1.2
+ */
+ QWidget* currentWidget()const;
protected: