projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing the old ChatWidget and related stuff from CMakeLists.txt
[quassel.git]
/
src
/
qtui
/
chatline-old.h
diff --git
a/src/qtui/chatline-old.h
b/src/qtui/chatline-old.h
index
ac95494
..
b2b9445
100644
(file)
--- a/
src/qtui/chatline-old.h
+++ b/
src/qtui/chatline-old.h
@@
-44,7
+44,7
@@
class ChatLineOld : public QObject, public AbstractUiMsg {
Q_OBJECT
public:
Q_OBJECT
public:
- ChatLineOld(
Message
message);
+ ChatLineOld(
const Message &
message);
virtual ~ChatLineOld();
qreal layout(qreal tsWidth, qreal nickWidth, qreal textWidth);
virtual ~ChatLineOld();
qreal layout(qreal tsWidth, qreal nickWidth, qreal textWidth);
@@
-70,7
+70,7
@@
class ChatLineOld : public QObject, public AbstractUiMsg {
qreal hght;
Message msg;
qreal tsWidth, senderWidth, textWidth;
qreal hght;
Message msg;
qreal tsWidth, senderWidth, textWidth;
- UiStyle::StyledText styledTimeStamp, styledSender, styled
Text
;
+ UiStyle::StyledText styledTimeStamp, styledSender, styled
Contents
;
struct FormatRange {
int start;
struct FormatRange {
int start;
@@
-104,7
+104,10
@@
class ChatLineOld : public QObject, public AbstractUiMsg {
int selectionStart, selectionEnd;
void formatMsg(Message);
void precomputeLine();
int selectionStart, selectionEnd;
void formatMsg(Message);
void precomputeLine();
- QList<FormatRange> calcFormatRanges(UiStyle::StyledText, QTextLayout::FormatRange additional = QTextLayout::FormatRange());
+ QList<FormatRange> calcFormatRanges(const UiStyle::StyledText &);
+ QList<FormatRange> calcFormatRanges(const UiStyle::StyledText &, const QTextLayout::FormatRange &additional);
+
+ static QColor _highlightColor;
};
#endif
};
#endif