30 #include "fileabstraction.h" 40 QString ImagefilePath;
50 Image(
const QString ImagefilePath_1):
51 QPixmap(ImagefilePath_1),ImagefilePath(ImagefilePath_1){}
Image(const QString ImagefilePath_1)
The constructor of the Image class.
Definition: image.h:50
Inherits the QPixmap class.
Definition: image.h:32
Image()
Class default constructor.
Definition: image.h:55
virtual QString getImageName() const
Returns only the image name (not the filepath)
Definition: image.cpp:6
virtual void setImageName(QString imageName)
Set the image filepath.
Definition: image.cpp:14
virtual QString getImageFilePath() const
Returns the image filepath.
Definition: image.cpp:22
virtual ~Image()
Class destructor.
Definition: image.h:59
virtual void setImageFilePath(QString filePath)
Sets the image filepath.
Definition: image.cpp:30
Inherits the QFile class.
Definition: fileabstraction.h:27