summaryrefslogtreecommitdiffstats
path: root/styles/dotnet
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:52:59 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:52:59 -0600
commit6b41ad2b1c1b934cf801bedd73f2358db1972378 (patch)
tree1ea88abc64a301fa863ebef50c845f628722c1d3 /styles/dotnet
parentf35eb5f602bee29af07ecaffe26cda71cea62b93 (diff)
downloadtdeartwork-6b41ad2b1c1b934cf801bedd73f2358db1972378.tar.gz
tdeartwork-6b41ad2b1c1b934cf801bedd73f2358db1972378.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'styles/dotnet')
-rw-r--r--styles/dotnet/dotnet.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/styles/dotnet/dotnet.cpp b/styles/dotnet/dotnet.cpp
index 227369cd..5972a0ce 100644
--- a/styles/dotnet/dotnet.cpp
+++ b/styles/dotnet/dotnet.cpp
@@ -857,7 +857,7 @@ void dotNETstyle::drawControl(TQ_ControlElement element,
case CE_TabBarTab: {
const TQTabBar *tb = (const TQTabBar *) widget;
bool cornerWidget = false;
- TQTabBar::Shape tbs = tb->tqshape();
+ TQTabBar::Shape tbs = tb->shape();
bool selected = flags & Style_Selected;
int x, x2, y, y2, w, h;
r.rect(&x, &y, &w, &h);
@@ -1794,8 +1794,8 @@ int dotNETstyle::pixelMetric(PixelMetric m, const TQWidget *widget) const
// ----
case PM_TabBarTabVSpace: {
const TQTabBar * tb = (const TQTabBar *) widget;
- if (tb->tqshape() == TQTabBar::RoundedAbove ||
- tb->tqshape() == TQTabBar::RoundedBelow)
+ if (tb->shape() == TQTabBar::RoundedAbove ||
+ tb->shape() == TQTabBar::RoundedBelow)
return 12;
else
return 0;
@@ -1803,8 +1803,8 @@ int dotNETstyle::pixelMetric(PixelMetric m, const TQWidget *widget) const
case PM_TabBarTabOverlap: {
const TQTabBar* tb = (const TQTabBar*)widget;
- if (tb->tqshape() != TQTabBar::RoundedAbove &&
- tb->tqshape() != TQTabBar::RoundedBelow)
+ if (tb->shape() != TQTabBar::RoundedAbove &&
+ tb->shape() != TQTabBar::RoundedBelow)
return 3; // Leave standard size alone
else
return 1; // Change size for our tabs only