33 #include <QtCore/qmap.h> 34 #include <QtCore/qobject.h> 35 #include <QtCore/qstring.h> 36 #include <QtCore/qmetatype.h> 37 #include <QtCore/qscopedpointer.h> 41 class IrcPalettePrivate;
46 Q_PROPERTY(
QString white READ white WRITE setWhite)
47 Q_PROPERTY(
QString black READ black WRITE setBlack)
48 Q_PROPERTY(
QString blue READ blue WRITE setBlue)
49 Q_PROPERTY(
QString green READ green WRITE setGreen)
50 Q_PROPERTY(
QString red READ red WRITE setRed)
51 Q_PROPERTY(
QString brown READ brown WRITE setBrown)
52 Q_PROPERTY(
QString purple READ purple WRITE setPurple)
53 Q_PROPERTY(
QString orange READ orange WRITE setOrange)
54 Q_PROPERTY(
QString yellow READ yellow WRITE setYellow)
55 Q_PROPERTY(
QString lightGreen READ lightGreen WRITE setLightGreen)
56 Q_PROPERTY(
QString cyan READ cyan WRITE setCyan)
57 Q_PROPERTY(
QString lightCyan READ lightCyan WRITE setLightCyan)
58 Q_PROPERTY(
QString lightBlue READ lightBlue WRITE setLightBlue)
59 Q_PROPERTY(
QString pink READ pink WRITE setPink)
60 Q_PROPERTY(
QString gray READ gray WRITE setGray)
61 Q_PROPERTY(
QString lightGray READ lightGray WRITE setLightGray)
67 void setColorNames(const
QMap<
int,
QString>& names);
70 void setColorName(
int color, const
QString& name);
73 void setWhite(const
QString& color);
76 void setBlack(const
QString& color);
79 void setBlue(const
QString& color);
82 void setGreen(const
QString& color);
85 void setRed(const
QString& color);
88 void setBrown(const
QString& color);
91 void setPurple(const
QString& color);
94 void setOrange(const
QString& color);
97 void setYellow(const
QString& color);
100 void setLightGreen(const
QString& color);
103 void setCyan(const
QString& color);
106 void setLightCyan(const
QString& color);
109 void setLightBlue(const
QString& color);
112 void setPink(const
QString& color);
115 void setGray(const
QString& color);
118 void setLightGray(const
QString& color);
122 explicit IrcPalette(
QObject* parent);
125 Q_DECLARE_PRIVATE(IrcPalette)
126 Q_DISABLE_COPY(IrcPalette)
131 Q_DECLARE_METATYPE(IRC_PREPEND_NAMESPACE(IrcPalette*))
133 #endif // IRCPALETTE_H Specifies a palette of IRC colors.
Definition: ircpalette.h:43
Provides methods for text formatting.
Definition: irctextformat.h:45