diff options
Diffstat (limited to 'ksokoban/ModalLabel.cpp')
-rw-r--r-- | ksokoban/ModalLabel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksokoban/ModalLabel.cpp b/ksokoban/ModalLabel.cpp index 47d4c49b..560c4b9d 100644 --- a/ksokoban/ModalLabel.cpp +++ b/ksokoban/ModalLabel.cpp @@ -28,9 +28,9 @@ #include "ModalLabel.moc" -ModalLabel::ModalLabel(const TQString &text, TQWidget *tqparent, +ModalLabel::ModalLabel(const TQString &text, TQWidget *parent, const char *name, WFlags f) - : TQLabel(text, tqparent, name, f) { + : TQLabel(text, parent, name, f) { TQFont font(KGlobalSettings::generalFont().family(), 24, TQFont::Bold); TQFontMetrics fontMet(font); @@ -61,7 +61,7 @@ ModalLabel::ModalLabel(const TQString &text, TQWidget *tqparent, setFrameStyle (TQFrame::Panel | TQFrame::Raised); setLineWidth (4); setFont (font); - move (tqparent->width ()/2 - width/2, tqparent->height ()/2 - height/2); + move (parent->width ()/2 - width/2, parent->height ()/2 - height/2); resize (width, height); show (); @@ -107,9 +107,9 @@ ModalLabel::eventFilter (TQObject *, TQEvent *e) { } void -ModalLabel::message (const TQString &text, TQWidget *tqparent) { +ModalLabel::message (const TQString &text, TQWidget *parent) { KApplication *app = KApplication::kApplication (); - ModalLabel cl (text, tqparent); + ModalLabel cl (text, parent); while (!cl.completed_) app->processOneEvent (); } |