diff options
Diffstat (limited to 'kwin-styles/riscos/MaximiseButton.cpp')
-rw-r--r-- | kwin-styles/riscos/MaximiseButton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kwin-styles/riscos/MaximiseButton.cpp b/kwin-styles/riscos/MaximiseButton.cpp index ebfb6628..dcc1b52a 100644 --- a/kwin-styles/riscos/MaximiseButton.cpp +++ b/kwin-styles/riscos/MaximiseButton.cpp @@ -67,7 +67,7 @@ static const char * const unmaximise_xpm[] = { MaximiseButton::MaximiseButton(TQWidget * parent) : Button(parent, i18n("Maximize"), - (ButtonState)(LeftButton|MidButton|RightButton)), + (ButtonState)(Qt::LeftButton|Qt::MidButton|Qt::RightButton)), on_(false) { setPixmap(TQPixmap((const char **)maximise_xpm)); @@ -78,7 +78,7 @@ void MaximiseButton::setOn(bool on) on_ = on; setPixmap(on_ ? TQPixmap((const char **)unmaximise_xpm) : TQPixmap((const char **)maximise_xpm)); - repaint(); + tqrepaint(); TQToolTip::remove(this); TQToolTip::add(this, on_ ? i18n("Restore") : i18n("Maximize")); } |