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

meter.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2003 by Hans Karlsson                                   *
00003  *   karlsson.h@home.se                                                      *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  ***************************************************************************/
00010 #include "meter.h"
00011 
00012 Meter::Meter( int  ix  , int iy, int iw, int ih)
00013 {
00014   x = ix;
00015   y = iy;
00016   width = iw;
00017   height = ih;
00018 }
00019 Meter::Meter()
00020 {
00021 }
00022 
00023 Meter::~Meter()
00024 {
00025 }
00026 
00027 void Meter::setSize(int ix, int iy, int iw, int ih)
00028 {
00029   x = ix;
00030   y = iy;
00031   width = iw;
00032   height = ih;
00033 
00034 }
00035 
00036 
00037 void Meter::setThemePath( QString path )
00038 {
00039   themePath = path;
00040 }
00041 
00042 int Meter::getX()
00043 {
00044   return x;
00045 }
00046 int Meter::getY()
00047 {
00048   return y;
00049 }
00050 int Meter::getWidth()
00051 {
00052   return width;
00053 }
00054 int Meter::getHeight()
00055 {
00056   return height;
00057 }
00058 

Generated on Mon May 16 13:59:20 2005 for karamba by  doxygen 1.3.9.1