]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/QLPainter.h
This commit is a big rework of the FontLoader/FontMetrics interaction. Only Qt4 for...
[features.git] / src / frontends / qt4 / QLPainter.h
index 291b337f3493c2561824d24d1ed22581df1c2a8e..f53b0e67c9323504fb59b21f1745b6b473079b5c 100644 (file)
@@ -125,7 +125,10 @@ public:
 
 private:
        /// draw small caps text
-       void smallCapsText(int x, int y,
+       /**
+       \return width of the drawn text.
+       */
+       int smallCapsText(int x, int y,
                QString const & str, LyXFont const & f);
 
        /// set pen parameters