summaryrefslogtreecommitdiffstats
path: root/src/newui
diff options
context:
space:
mode:
Diffstat (limited to 'src/newui')
-rw-r--r--src/newui/button.cpp6
-rw-r--r--src/newui/buttonbar.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/newui/button.cpp b/src/newui/button.cpp
index 0d7cf9aa..1a433252 100644
--- a/src/newui/button.cpp
+++ b/src/newui/button.cpp
@@ -133,7 +133,7 @@ void Button::drawButton(TQPainter *p)
tqstyle().drawControl(TQStyle::CE_PushButton,&p2,this, TQRect(0,0,pm.width(),pm.height()), colorGroup(),flags);
- tqstyle().drawControl(TQStyle::CE_PushButtonLabel, &p2, this,
+ style().drawControl(TQStyle::CE_PushButtonLabel, &p2, this,
TQRect(0,0,pm.width(),pm.height()),
colorGroup(), flags, TQStyleOption());
@@ -211,7 +211,7 @@ TQSize Button::sizeHint(const TQString &text) const
h = TQMAX( h, ih );
}
if ( isMenuButton() )
- w += tqstyle().pixelMetric(TQStyle::PM_MenuButtonIndicator, this);
+ w += style().pixelMetric(TQStyle::PM_MenuButtonIndicator, this);
if ( pixmap() ) {
TQPixmap *pm = (TQPixmap *)pixmap();
w += pm->width();
@@ -229,7 +229,7 @@ TQSize Button::sizeHint(const TQString &text) const
h = TQMAX(h, sz.height());
}
- return (tqstyle().tqsizeFromContents(TQStyle::CT_ToolButton, this, TQSize(w, h)).
+ return (style().tqsizeFromContents(TQStyle::CT_ToolButton, this, TQSize(w, h)).
expandedTo(TQApplication::globalStrut()));
}
diff --git a/src/newui/buttonbar.h b/src/newui/buttonbar.h
index 0da55ecd..041c5bf4 100644
--- a/src/newui/buttonbar.h
+++ b/src/newui/buttonbar.h
@@ -32,7 +32,7 @@ namespace Ideal {
class Button;
class ButtonBar;
-/**@short A tqlayout for a ButtonBar class.
+/**@short A layout for a ButtonBar class.
Overrides minimumSize method to allow shrinking button bar buttons.*/
class ButtonLayout: public TQBoxLayout{