X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatlinemodelitem.h;h=e48b1cd196db74e66aded26ef443920301e50196;hp=e651707f7d531e4ee93953b16d6cccc80d3d6a62;hb=ac7a58dd970833da2336f6ce035ec55515bac0f1;hpb=9d54503555534a2c554f09a33df6afa33d6308ec diff --git a/src/qtui/chatlinemodelitem.h b/src/qtui/chatlinemodelitem.h index e651707f..e48b1cd1 100644 --- a/src/qtui/chatlinemodelitem.h +++ b/src/qtui/chatlinemodelitem.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2016 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef CHATLINEMODELITEM_H_ -#define CHATLINEMODELITEM_H_ +#pragma once #include "messagemodel.h" @@ -58,7 +57,7 @@ private: QVariant contentsData(int role) const; QVariant backgroundBrush(UiStyle::FormatType subelement, bool selected = false) const; - quint32 messageLabel() const; + UiStyle::MessageLabel messageLabel() const; void computeWrapList() const; @@ -68,6 +67,3 @@ private: static unsigned char *TextBoundaryFinderBuffer; static int TextBoundaryFinderBufferSize; }; - - -#endif