Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Picture.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           Picture.h  -  description
00003                              -------------------
00004     begin                : Thu Dec 30 1999
00005     copyright            : (C) 1999 by Jurrien Loonstra
00006     email                : j.h.loonstra@st.hanze.nl
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 #ifndef PICTURE_H
00018 #define PICTURE_H
00019 
00020 #include <qpixmap.h>
00021 
00022 class Picture {
00023 public: int width, height;
00024         void load(const char *name, int index=-1);
00025         QPixmap* getPixmap();
00026 private:
00027         QPixmap *pix;
00028 
00029         friend class UI;
00030 };
00031 
00032 #endif

Generated on Sat Nov 5 16:17:20 2005 for OPIE by  doxygen 1.4.2