1 /* 2 * Copyright (C) 2010-2015 by Stephen Allewell 3 * steve.allewell@gmail.com 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 */ 10 11 12 #ifndef Floss_H 13 #define Floss_H 14 15 16 #include <QColor> 17 #include <QString> 18 #include <QVariant> 19 20 21 class Floss 22 { 23 public: 24 Floss(const QString &, const QString &, const QColor &); 25 26 const QString &name() const; 27 const QString &description() const; 28 const QColor &color() const; 29 30 void setName(const QString &); 31 void setDescription(const QString &); 32 void setColor(const QColor &); 33 34 private: 35 QString m_name; 36 QString m_description; 37 QColor m_color; 38 }; 39 40 41 #endif // Floss_H 42