File indexing completed on 2024-04-21 04:32:07
0001 /* 0002 * Copyright (C) 2010-2015 by Stephen Allewell 0003 * steve.allewell@gmail.com 0004 * 0005 * This program is free software; you can redistribute it and/or modify 0006 * it under the terms of the GNU General Public License as published by 0007 * the Free Software Foundation; either version 2 of the License, or 0008 * (at your option) any later version. 0009 */ 0010 0011 #ifndef Floss_H 0012 #define Floss_H 0013 0014 #include <QColor> 0015 #include <QString> 0016 #include <QVariant> 0017 0018 class Floss 0019 { 0020 public: 0021 Floss(const QString &, const QString &, const QColor &); 0022 0023 const QString &name() const; 0024 const QString &description() const; 0025 const QColor &color() const; 0026 0027 void setName(const QString &); 0028 void setDescription(const QString &); 0029 void setColor(const QColor &); 0030 0031 private: 0032 QString m_name; 0033 QString m_description; 0034 QColor m_color; 0035 }; 0036 0037 #endif // Floss_H