X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatlinemodelitem.h;h=e48b1cd196db74e66aded26ef443920301e50196;hp=36e659c7152377384d28a469e9d666e83639d797;hb=ac7a58dd970833da2336f6ce035ec55515bac0f1;hpb=76db8cdfbeffaaba359c8e80cf2146da9e9e7f8a diff --git a/src/qtui/chatlinemodelitem.h b/src/qtui/chatlinemodelitem.h index 36e659c7..e48b1cd1 100644 --- a/src/qtui/chatlinemodelitem.h +++ b/src/qtui/chatlinemodelitem.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 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