00001 /* 00002 Situare - A location system for Facebook 00003 Copyright (C) 2010 Ixonos Plc. Authors: 00004 00005 Jukka Saastamoinen - jukka.saastamoinen@ixonos.com 00006 Jussi Laitinen - jussi.laitinen@ixonos.com 00007 Ville Tiensuu - ville.tiensuu@ixonos.com 00008 00009 Situare is free software; you can redistribute it and/or 00010 modify it under the terms of the GNU General Public License 00011 version 2 as published by the Free Software Foundation. 00012 00013 Situare is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with Situare; if not, write to the Free Software 00020 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 00021 USA. 00022 */ 00023 00024 #ifndef SITUAREUSER_H 00025 #define SITUAREUSER_H 00026 00027 #include <QLabel> 00028 #include <QPixmap> 00029 00035 class AvatarImage 00036 { 00037 /******************************************************************************* 00038 * MEMBER FUNCTIONS AND SLOTS 00039 ******************************************************************************/ 00040 public: 00044 enum ImageHeight { 00045 Large=100, 00046 Small=50 }; 00047 00054 static QPixmap create(const QPixmap &image, ImageHeight height); 00055 }; 00056 00057 #endif // AVATARIMAGE_H