2 Situare - A location system for Facebook
3 Copyright (C) 2010 Ixonos Plc. Authors:
5 Jukka Saastamoinen - jukka.saastamoinen@ixonos.com
6 Jussi Laitinen - jussi.laitinen@ixonos.com
7 Ville Tiensuu - ville.tiensuu@ixonos.com
9 Situare is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License
11 version 2 as published by the Free Software Foundation.
13 Situare is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with Situare; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
31 * @brief AvatarImage class creates avatar images.
33 * @class AvatarImage avatarimage.h "ui/avatarimage.h"
37 /*******************************************************************************
38 * MEMBER FUNCTIONS AND SLOTS
39 ******************************************************************************/
42 * @brief ImageHeight used to separate friend and user images in function calls
49 * @brief Create avatar image from pixmap.
51 * @param image image to use in avatar image
52 * @param height used to scale image
54 static QPixmap create(const QPixmap &image, ImageHeight height);
57 #endif // AVATARIMAGE_H