diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-02-16 14:01:14 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2014-02-16 14:01:14 -0600 |
commit | 8f21f464efbe8ecd8d33b200484071351bae6d68 (patch) | |
tree | a123073f1ff50153b78b5e67f2da409671ab3d47 | |
parent | 2a55786bbc3b6c2e246584268880e999f6a562e4 (diff) | |
download | kftpgrabber-8f21f464efbe8ecd8d33b200484071351bae6d68.tar.gz kftpgrabber-8f21f464efbe8ecd8d33b200484071351bae6d68.zip |
Fix unintended renaming
-rw-r--r-- | kftpgrabber/src/widgets/multitabbar.cpp | 8 | ||||
-rw-r--r-- | kftpgrabber/src/widgets/multitabbar.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kftpgrabber/src/widgets/multitabbar.cpp b/kftpgrabber/src/widgets/multitabbar.cpp index ecbad25..86530a4 100644 --- a/kftpgrabber/src/widgets/multitabbar.cpp +++ b/kftpgrabber/src/widgets/multitabbar.cpp @@ -379,7 +379,7 @@ int MultiTabBarInternal::appendTab(const TQPixmap &pic , int id, const TQString tab->installEventFilter(this); tab->showActiveTabText(m_showActiveTabTexts); - if (m_style == MultiTabBar::KONTQSBC) { + if (m_style == MultiTabBar::KONQSBC) { if (m_expandedTabSize < tab->neededSize()) { m_expandedTabSize = tab->neededSize(); @@ -677,7 +677,7 @@ void MultiTabBarTab::setState(bool b) void MultiTabBarTab::updateState() { - if ( m_style != MultiTabBar::KONTQSBC ) { + if ( m_style != MultiTabBar::KONQSBC ) { if ( ( m_style == MultiTabBar::KDEV3 ) || ( m_style == MultiTabBar::KDEV3ICON ) || ( m_style == MultiTabBar::AMAROK ) || ( isOn() ) ) { TQPushButton::setText( m_text ); } else { @@ -742,7 +742,7 @@ void MultiTabBarTab::drawButton(TQPainter *paint) { if (m_style == MultiTabBar::AMAROK) { drawButtonAmarok(paint); - } else if (m_style != MultiTabBar::KONTQSBC) { + } else if (m_style != MultiTabBar::KONQSBC) { drawButtonStyled(paint); } else { drawButtonClassic(paint); @@ -1021,7 +1021,7 @@ MultiTabBar::MultiTabBar( MultiTabBarMode bm, TQWidget *parent, const char *name setPosition( ( bm == MultiTabBar::Vertical ) ? MultiTabBar::Right : MultiTabBar::Bottom ); setStyle( VSNET ); // setStyle(KDEV3); - //setStyle(KONTQSBC); + //setStyle(KONQSBC); m_l->insertWidget( 0, m_internal ); m_l->insertWidget( 0, m_btnTabSep = new TQFrame( this ) ); m_btnTabSep->setFixedHeight( 4 ); diff --git a/kftpgrabber/src/widgets/multitabbar.h b/kftpgrabber/src/widgets/multitabbar.h index f5483a8..9cca7fb 100644 --- a/kftpgrabber/src/widgets/multitabbar.h +++ b/kftpgrabber/src/widgets/multitabbar.h @@ -76,11 +76,11 @@ public: /** * VSNET == Visual Studio .Net like (only show the text of active tabs * KDEV3 == Kdevelop 3 like (always show the text) - * KONTQSBC == konqy's classic sidebar style (unthemed), this one is disabled + * KONQSBC == konqy's classic sidebar style (unthemed), this one is disabled * at the moment, but will be renabled soon too * AMAROK == A nice clean style by the amaroK team */ - enum MultiTabBarStyle { VSNET = 0, KDEV3 = 1, KONTQSBC = 2, KDEV3ICON = 3, AMAROK = 4, STYLELAST = 0xffff }; + enum MultiTabBarStyle { VSNET = 0, KDEV3 = 1, KONQSBC = 2, KDEV3ICON = 3, AMAROK = 4, STYLELAST = 0xffff }; MultiTabBar(MultiTabBarMode bm, TQWidget *parent = 0, const char *name = 0); virtual ~MultiTabBar(); |