summaryrefslogtreecommitdiff
path: root/libopie/otabwidget.cpp
authordrw <drw>2003-04-13 23:00:25 (UTC)
committer drw <drw>2003-04-13 23:00:25 (UTC)
commit377a172d8b497674d14d7e3580a008228f83d081 (patch) (side-by-side diff)
tree7a4fdb5986db9ce9b3b26c9c0b56ece9ec63a468 /libopie/otabwidget.cpp
parentf744559411664bc8c017bd642302ffe72dfbbb84 (diff)
downloadopie-377a172d8b497674d14d7e3580a008228f83d081.zip
opie-377a172d8b497674d14d7e3580a008228f83d081.tar.gz
opie-377a172d8b497674d14d7e3580a008228f83d081.tar.bz2
OTabWidget::getCurrentTab() is now OTabWidget::currentTab()
Diffstat (limited to 'libopie/otabwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/otabwidget.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libopie/otabwidget.cpp b/libopie/otabwidget.cpp
index a1fd2c0..05aafd4 100644
--- a/libopie/otabwidget.cpp
+++ b/libopie/otabwidget.cpp
@@ -80,3 +80,3 @@ OTabWidget::OTabWidget( QWidget *parent, const char *name, TabStyle s, TabPositi
- currentTab= 0x0;
+ currTab= 0x0;
}
@@ -149,4 +149,4 @@ void OTabWidget::removePage( QWidget *childwidget )
delete tab;
- currentTab = tabs.current();
- if ( !currentTab )
+ currTab = tabs.current();
+ if ( !currTab )
{
@@ -252,3 +252,3 @@ void OTabWidget::setTabStyle( TabStyle s )
currtab->iconset = new QIconSet( loadSmooth( tabinfo->icon() ) );
- if ( tabinfo == currentTab )
+ if ( tabinfo == currTab )
currtab->setText( tabinfo->label() );
@@ -337,5 +337,5 @@ void OTabWidget::selectTab( OTabInfo *tab )
{
- if ( currentTab )
+ if ( currTab )
{
- tabBar->tab( currentTab->id() )->setText( QString::null );
+ tabBar->tab( currTab->id() )->setText( QString::null );
setUpLayout();
@@ -356,3 +356,3 @@ void OTabWidget::selectTab( OTabInfo *tab )
- currentTab = tab;
+ currTab = tab;
}
@@ -400,7 +400,7 @@ void OTabWidget::resizeEvent( QResizeEvent * )
-int OTabWidget::getCurrentTab()
+int OTabWidget::currentTab()
{
- if ( currentTab )
+ if ( currTab )
{
- return currentTab->id();
+ return currTab->id();
}