-rw-r--r-- | libopie/otabwidget.cpp | 20 | ||||
-rw-r--r-- | libopie/otabwidget.h | 7 | ||||
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 2 | ||||
-rw-r--r-- | noncore/apps/advancedfm/advancedfmMenu.cpp | 2 |
4 files changed, 15 insertions, 16 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(); } diff --git a/libopie/otabwidget.h b/libopie/otabwidget.h index 23fe774..bcd9a85 100644 --- a/libopie/otabwidget.h +++ b/libopie/otabwidget.h @@ -197,7 +197,6 @@ public: /** - * @fn getCurrentTab( ) + * @fn currentTab( ) * @brief returns current tab id. */ - //FIXME TT coding style currentTab() -zecke - int getCurrentTab(); + int currentTab(); @@ -214,3 +213,3 @@ private: OTabInfoList tabs; - OTabInfo *currentTab; + OTabInfo *currTab; diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 1a5e131..41e83c7 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp @@ -349,3 +349,3 @@ void AdvancedFm::fillCombo(const QString ¤tPath) { -// qDebug("%d",TabWidget->getCurrentTab()); +// qDebug("%d",TabWidget->currentTab()); if ( whichTab == 1) diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp index eac13f6..93203cd 100644 --- a/noncore/apps/advancedfm/advancedfmMenu.cpp +++ b/noncore/apps/advancedfm/advancedfmMenu.cpp @@ -710,3 +710,3 @@ void AdvancedFm::selectAll() { -// if (TabWidget->getCurrentTab() == 0) { +// if (TabWidget->currentTab() == 0) { QListView *thisView = CurrentView(); |