From e7d3e1d0f3c75979c01ea6373ed3c80d0c986000 Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 10 Jan 2007 17:24:23 +0000 Subject: All of the files in this commit have an inheritance member function mismatch correction. None are serious, but all would have been improperly mislinked in the inheritance hierarchy if attempted to be used. --- (limited to 'inputmethods') diff --git a/inputmethods/handwriting/qimpenwidget.cpp b/inputmethods/handwriting/qimpenwidget.cpp index 8f8f582..7223e1a 100644 --- a/inputmethods/handwriting/qimpenwidget.cpp +++ b/inputmethods/handwriting/qimpenwidget.cpp @@ -282,7 +282,7 @@ bool QIMPenWidget::selectSet( QPoint p ) /*! Hopefully returns a sensible size. */ -QSize QIMPenWidget::sizeHint() +QSize QIMPenWidget::sizeHint() const { return QSize( TITLE_WIDTH * charSets.count(), 75 ); } diff --git a/inputmethods/handwriting/qimpenwidget.h b/inputmethods/handwriting/qimpenwidget.h index 98d7f5c..d156554 100644 --- a/inputmethods/handwriting/qimpenwidget.h +++ b/inputmethods/handwriting/qimpenwidget.h @@ -37,7 +37,7 @@ public: void changeCharSet( QIMPenCharSet *cs, int pos ); void clearCharSets(); void showCharacter( QIMPenChar *, int speed = 10 ); - virtual QSize sizeHint(); + virtual QSize sizeHint() const; public slots: void removeStroke(); -- cgit v0.9.0.2