#ifndef _UISTYLE_H_
#define _UISTYLE_H_
-#ifndef SPUTDEV
-# include "old-uistyle.h"
-#else
-
#include <QDataStream>
#include <QTextCharFormat>
#include <QTextLayout>
};
struct StyledString {
- QString text;
- FormatList formats; // starting pos, ftypes
+ QString plainText;
+ FormatList formatList; // starting pos, ftypes
};
struct StyledMessage {
StyledString timestamp;
StyledString sender;
- StyledString text;
+ StyledString contents;
};
StyledString styleString(const QString &);
Q_DECLARE_METATYPE(UiStyle::FormatList);
-#endif // SPUTDEV
#endif