X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatlinemodelitem.h;h=24f237e72f9d665ed1c994f02e40afa314d107a9;hp=2ff8d4e9ae8971c7d1b99427881a85c8bc416b43;hb=ddfb1d2574c4bffd180361a80df9b1cd584bb040;hpb=b65b9f7615165e8700a44d59b7275a55558dd45b diff --git a/src/qtui/chatlinemodelitem.h b/src/qtui/chatlinemodelitem.h index 2ff8d4e9..24f237e7 100644 --- a/src/qtui/chatlinemodelitem.h +++ b/src/qtui/chatlinemodelitem.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 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