summaryrefslogtreecommitdiff
path: root/libopie/otabwidget.cpp
Unidiff
Diffstat (limited to 'libopie/otabwidget.cpp') (more/less context) (show 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
80 80
81 currentTab= 0x0; 81 currTab= 0x0;
82} 82}
@@ -149,4 +149,4 @@ void OTabWidget::removePage( QWidget *childwidget )
149 delete tab; 149 delete tab;
150 currentTab = tabs.current(); 150 currTab = tabs.current();
151 if ( !currentTab ) 151 if ( !currTab )
152 { 152 {
@@ -252,3 +252,3 @@ void OTabWidget::setTabStyle( TabStyle s )
252 currtab->iconset = new QIconSet( loadSmooth( tabinfo->icon() ) ); 252 currtab->iconset = new QIconSet( loadSmooth( tabinfo->icon() ) );
253 if ( tabinfo == currentTab ) 253 if ( tabinfo == currTab )
254 currtab->setText( tabinfo->label() ); 254 currtab->setText( tabinfo->label() );
@@ -337,5 +337,5 @@ void OTabWidget::selectTab( OTabInfo *tab )
337 { 337 {
338 if ( currentTab ) 338 if ( currTab )
339 { 339 {
340 tabBar->tab( currentTab->id() )->setText( QString::null ); 340 tabBar->tab( currTab->id() )->setText( QString::null );
341 setUpLayout(); 341 setUpLayout();
@@ -356,3 +356,3 @@ void OTabWidget::selectTab( OTabInfo *tab )
356 356
357 currentTab = tab; 357 currTab = tab;
358} 358}
@@ -400,7 +400,7 @@ void OTabWidget::resizeEvent( QResizeEvent * )
400 400
401int OTabWidget::getCurrentTab() 401int OTabWidget::currentTab()
402{ 402{
403 if ( currentTab ) 403 if ( currTab )
404 { 404 {
405 return currentTab->id(); 405 return currTab->id();
406 } 406 }