X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatline-old.h;h=ac95494b302b48c52292baab2587baa87df1f0f8;hp=b29aca2350f02dc382063bd2e6680bd39356acec;hb=2ae6793b7327ec1701b790eb4f15dc5b7afc6427;hpb=c90c9160da1123ce99460c9b3ceef58b1ad21bf2 diff --git a/src/qtui/chatline-old.h b/src/qtui/chatline-old.h index b29aca23..ac95494b 100644 --- a/src/qtui/chatline-old.h +++ b/src/qtui/chatline-old.h @@ -18,8 +18,8 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#ifndef _CHATLINE_H_ -#define _CHATLINE_H_ +#ifndef _CHATLINE_OLD_H_ +#define _CHATLINE_OLD_H_ #include @@ -29,7 +29,7 @@ //FIXME: chatline doku //!\brief Containing the layout and providing the rendering of a single message. -/** A ChatLine takes a Message object, +/** A ChatLineOld takes a Message object, * formats it (by turning the various message types into a human-readable form and afterwards pumping it through * our Style engine), and stores it as a number of QTextLayouts representing the three fields of a chat line * (timestamp, sender and text). These layouts already include any rendering information such as font, @@ -40,12 +40,12 @@ * per message) from the actual layouting and painting, we gain a lot of speed compared to the standard Qt rendering * functions. */ -class ChatLine : public QObject, public AbstractUiMsg { +class ChatLineOld : public QObject, public AbstractUiMsg { Q_OBJECT public: - ChatLine(Message message); - virtual ~ChatLine(); + ChatLineOld(Message message); + virtual ~ChatLineOld(); qreal layout(qreal tsWidth, qreal nickWidth, qreal textWidth); qreal height() const { return hght; }