more visual improvements

This commit is contained in:
Max-Wilhelm Bruker 2011-07-05 22:40:03 +02:00
parent fccc91818d
commit 09d0e65d1d
4 changed files with 25 additions and 11 deletions

View file

@ -12,13 +12,14 @@ class QMouseEvent;
class ChatView : public QTextBrowser {
Q_OBJECT;
private:
QString lastSender;
bool evenNumber;
QString ownName;
bool showTimestamps;
QTextFragment getFragmentUnderMouse(const QPoint &pos) const;
QString getCardNameUnderMouse(QTextFragment frag) const;
QString getCardNameUnderMouse(const QPoint &pos) const;
QTextCursor prepareBlock();
QTextCursor prepareBlock(bool same = false);
private slots:
void openLink(const QUrl &link);
public: