X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Ffontutils.h;h=d7894e5c86bfaca343b446b7c83dcb940e5304e8;hb=cc9017d7466db69a72db245456ce0562ffff449b;hp=077b2d71dfd3edc0d945fa9adabb4d77be677f7b;hpb=2c530dd73ae4db20945c152334ab9897ec9b91af;p=minitube diff --git a/src/fontutils.h b/src/fontutils.h index 077b2d7..d7894e5 100644 --- a/src/fontutils.h +++ b/src/fontutils.h @@ -1,17 +1,38 @@ +/* $BEGIN_LICENSE + +This file is part of Minitube. +Copyright 2009, Flavio Tordini + +Minitube is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +Minitube is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with Minitube. If not, see . + +$END_LICENSE */ + #ifndef FONTUTILS_H #define FONTUTILS_H -#include +#include class FontUtils { public: - static const QFont small(); - static const QFont smallBold(); - static const QFont medium(); - static const QFont mediumBold(); - static const QFont big(); - static const QFont bigBold(); + static const QFont &small(); + static const QFont &smallBold(); + static const QFont &medium(); + static const QFont &mediumBold(); + static const QFont &big(); + static const QFont &bigBold(); + static QFont light(int pointSize); };