]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/qfontexample.h
Get rid of the static_casts.
[lyx.git] / src / frontends / qt2 / qfontexample.h
index 726410767f6a98dc1fdc97a794e4e04f863cd5f4..66a318ed48be7864ec238cf14921865abbcd3e17 100644 (file)
@@ -16,14 +16,14 @@ class QFontExample : public QWidget {
 public:
        QFontExample(QWidget * parent, const char * name)
                : QWidget(parent, name) {}
+
        void set(QFont const & font, QString const & text);
+
        virtual QSize sizeHint() const;
+
 protected:
        virtual void paintEvent(QPaintEvent * p);
+
 private:
        QFont font_;
        QString text_;