summaryrefslogtreecommitdiffstats
path: root/kommander/editor/styledbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/editor/styledbutton.cpp')
-rw-r--r--kommander/editor/styledbutton.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kommander/editor/styledbutton.cpp b/kommander/editor/styledbutton.cpp
index 55c8945f..c35ce642 100644
--- a/kommander/editor/styledbutton.cpp
+++ b/kommander/editor/styledbutton.cpp
@@ -38,7 +38,7 @@ StyledButton::StyledButton(TQWidget* parent, const char* name)
setMinimumSize( minimumSizeHint() );
setAcceptDrops( true );
- connect( this, TQT_SIGNAL(clicked()), TQT_SLOT(onEditor()));
+ connect( this, TQ_SIGNAL(clicked()), TQ_SLOT(onEditor()));
setEditor( ColorEditor );
}
@@ -145,12 +145,12 @@ void StyledButton::resizeEvent( TQResizeEvent* e )
void StyledButton::drawButton( TQPainter *paint )
{
- style().tqdrawPrimitive(TQStyle::PE_ButtonBevel, paint, rect(), colorGroup(),
+ style().drawPrimitive(TQStyle::PE_ButtonBevel, paint, rect(), colorGroup(),
isDown() ? TQStyle::Style_Sunken : TQStyle::Style_Raised);
drawButtonLabel(paint);
if (hasFocus())
- style().tqdrawPrimitive(TQStyle::PE_FocusRect, paint,
+ style().drawPrimitive(TQStyle::PE_FocusRect, paint,
style().subRect(TQStyle::SR_PushButtonFocusRect, this),
colorGroup(), TQStyle::Style_Default);
}