summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoTabBar.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:41 -0600
commit2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch)
tree88e6436b2e81d4e68313f02a9021054252e14cc4 /lib/kofficeui/KoTabBar.cpp
parentf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff)
downloadkoffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz
koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'lib/kofficeui/KoTabBar.cpp')
-rw-r--r--lib/kofficeui/KoTabBar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficeui/KoTabBar.cpp b/lib/kofficeui/KoTabBar.cpp
index a249084f..fe448916 100644
--- a/lib/kofficeui/KoTabBar.cpp
+++ b/lib/kofficeui/KoTabBar.cpp
@@ -37,7 +37,7 @@
// TODO
// improvement possibilities
// - use offscreen buffer to reduce flicker even more
-// - keep track of tabs, only (re)tqlayout when necessary
+// - keep track of tabs, only (re)layout when necessary
// - paint all tabs to buffer, show only by shifting
// - customizable button pixmaps
// - use TQStyle to paint the tabs & buttons (is it good/possible?)
@@ -57,7 +57,7 @@ public:
// read-only: no mouse drag, double-click, right-click
bool readOnly;
- // if true, tqlayout is from right to left
+ // if true, layout is from right to left
bool reverseLayout;
// list of all tabs, in order of appearance
@@ -724,7 +724,7 @@ void KoTabBar::resizeEvent( TQResizeEvent* )
TQSize KoTabBar::sizeHint() const
{
- return TQSize( 40, tqstyle().pixelMetric( TQStyle::PM_ScrollBarExtent, this ) );
+ return TQSize( 40, style().pixelMetric( TQStyle::PM_ScrollBarExtent, this ) );
}
void KoTabBar::renameTab( const TQString& old_name, const TQString& new_name )