diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 7c71ab86d1f7e387fc3df63b48df07231f111862 (patch) | |
tree | 30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /lib/kofficeui/KoTabBar.cpp | |
parent | afbfdc507bfaafc8824a9808311d57a9ece87510 (diff) | |
download | koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.tar.gz koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kofficeui/KoTabBar.cpp')
-rw-r--r-- | lib/kofficeui/KoTabBar.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/kofficeui/KoTabBar.cpp b/lib/kofficeui/KoTabBar.cpp index 002f3ebe..b2e7c94b 100644 --- a/lib/kofficeui/KoTabBar.cpp +++ b/lib/kofficeui/KoTabBar.cpp @@ -91,10 +91,10 @@ public: bool autoScroll; // calculate the bounding rectangle for each visible tab - void tqlayoutTabs(); + void layoutTabs(); // reposition scroll buttons - void tqlayoutButtons(); + void layoutButtons(); // find a tab whose bounding rectangle contains the pos // return -1 if no such tab is found @@ -176,7 +176,7 @@ static const char * arrow_right_xpm[] = { " "}; -void KoTabBarPrivate::tqlayoutTabs() +void KoTabBarPrivate::layoutTabs() { tabRects.clear(); @@ -308,7 +308,7 @@ void KoTabBarPrivate::drawMoveMarker( TQPainter& painter, int x, int y ) painter.setBrush( oldBrush ); } -void KoTabBarPrivate::tqlayoutButtons() +void KoTabBarPrivate::layoutButtons() { int bw = tabbar->height(); int w = tabbar->width(); @@ -375,7 +375,7 @@ KoTabBar::KoTabBar( TQWidget* tqparent, const char* name ) d->scrollForwardButton = new TQToolButton( this ); connect( d->scrollForwardButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( scrollForward() ) ); - d->tqlayoutButtons(); + d->layoutButtons(); d->updateButtons(); } @@ -437,8 +437,8 @@ void KoTabBar::setReverseLayout( bool reverse ) if( reverse != d->reverseLayout ) { d->reverseLayout = reverse; - d->tqlayoutTabs(); - d->tqlayoutButtons(); + d->layoutTabs(); + d->layoutButtons(); d->updateButtons(); update(); } @@ -505,7 +505,7 @@ void KoTabBar::scrollBack() d->firstTab--; if( d->firstTab < 1 ) d->firstTab = 1; - d->tqlayoutTabs(); + d->layoutTabs(); d->updateButtons(); update(); } @@ -519,7 +519,7 @@ void KoTabBar::scrollForward() if( d->firstTab > (int)d->tabs.count() ) d->firstTab = d->tabs.count(); - d->tqlayoutTabs(); + d->layoutTabs(); d->updateButtons(); update(); } @@ -530,7 +530,7 @@ void KoTabBar::scrollFirst() return; d->firstTab = 1; - d->tqlayoutTabs(); + d->layoutTabs(); d->updateButtons(); update(); } @@ -540,7 +540,7 @@ void KoTabBar::scrollLast() if ( !canScrollForward() ) return; - d->tqlayoutTabs(); + d->layoutTabs(); if( !d->reverseLayout ) { @@ -561,11 +561,11 @@ void KoTabBar::scrollLast() int x = d->tabRects[ d->tabRects.count()-1 ].x(); if( x > 0 ) break; d->firstTab++; - d->tqlayoutTabs(); + d->layoutTabs(); } } - d->tqlayoutTabs(); + d->layoutTabs(); d->updateButtons(); update(); } @@ -669,7 +669,7 @@ void KoTabBar::paintEvent( TQPaintEvent* ) if( !d->reverseLayout ) painter.translate( 5, 0 ); - d->tqlayoutTabs(); + d->layoutTabs(); d->updateButtons(); // draw first all non-active, visible tabs @@ -717,7 +717,7 @@ void KoTabBar::paintEvent( TQPaintEvent* ) void KoTabBar::resizeEvent( TQResizeEvent* ) { - d->tqlayoutButtons(); + d->layoutButtons(); d->updateButtons(); update(); } @@ -751,7 +751,7 @@ void KoTabBar::mousePressEvent( TQMouseEvent* ev ) return; } - d->tqlayoutTabs(); + d->layoutTabs(); TQPoint pos = ev->pos(); if( !d->reverseLayout ) pos = pos - TQPoint( d->offset,0 ); |