X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtopia%2Fchatwidget.h;h=052adc4656d1d06e78d6fdb89b267f072510cafd;hp=07de94ff6954270f025f0fc909def601165b1307;hb=52cba0963e0714f4d58296a20d02164b57f9f4ba;hpb=52380175425bdab29f825c9cd17a0e4c1952c2db diff --git a/src/qtopia/chatwidget.h b/src/qtopia/chatwidget.h index 07de94ff..052adc46 100644 --- a/src/qtopia/chatwidget.h +++ b/src/qtopia/chatwidget.h @@ -1,11 +1,11 @@ /*************************************************************************** - * Copyright (C) 2005-07 by The Quassel IRC Development Team * + * Copyright (C) 2005-08 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * + * (at your option) version 3. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * @@ -23,6 +23,7 @@ #include #include "chatline.h" +#include "qtopiauistyle.h" #include "quasselui.h" class ChatWidget : public QTextEdit { @@ -32,15 +33,17 @@ class ChatWidget : public QTextEdit { ChatWidget(QWidget *parent = 0); public slots: - void setContents(QList); + void setContents(QList); void appendMsg(AbstractUiMsg *); void prependMsg(AbstractUiMsg *); - void prependChatLine(ChatLine *); - void appendChatLine(ChatLine *); - void prependChatLines(QList); - void appendChatLines(QList); + void prependChatLine(ChatLineOld *); + void appendChatLine(ChatLineOld *); + void prependChatLines(QList); + void appendChatLines(QList); private: + void insertChatLine(ChatLineOld *); + void insertStyledText(const QtopiaUiStyle::StyledText &);