1 /*
2     Copyright © 2014-2019 by The qTox Project Contributors
3 
4     This file is part of qTox, a Qt-based graphical interface for Tox.
5 
6     qTox is libre software: you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation, either version 3 of the License, or
9     (at your option) any later version.
10 
11     qTox is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15 
16     You should have received a copy of the GNU General Public License
17     along with qTox.  If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 #include "chatlinecontent.h"
21 
setIndex(int r,int c)22 void ChatLineContent::setIndex(int r, int c)
23 {
24     row = r;
25     col = c;
26 }
27 
getColumn() const28 int ChatLineContent::getColumn() const
29 {
30     return col;
31 }
32 
getRow() const33 int ChatLineContent::getRow() const
34 {
35     return row;
36 }
37 
type() const38 int ChatLineContent::type() const
39 {
40     return GraphicsItemType::ChatLineContentType;
41 }
42 
selectionMouseMove(QPointF)43 void ChatLineContent::selectionMouseMove(QPointF)
44 {
45 }
46 
selectionStarted(QPointF)47 void ChatLineContent::selectionStarted(QPointF)
48 {
49 }
50 
selectionCleared()51 void ChatLineContent::selectionCleared()
52 {
53 }
54 
selectionDoubleClick(QPointF)55 void ChatLineContent::selectionDoubleClick(QPointF)
56 {
57 }
58 
selectionTripleClick(QPointF)59 void ChatLineContent::selectionTripleClick(QPointF)
60 {
61 }
62 
selectionFocusChanged(bool)63 void ChatLineContent::selectionFocusChanged(bool)
64 {
65 }
66 
isOverSelection(QPointF) const67 bool ChatLineContent::isOverSelection(QPointF) const
68 {
69     return false;
70 }
71 
getSelectedText() const72 QString ChatLineContent::getSelectedText() const
73 {
74     return QString();
75 }
76 
fontChanged(const QFont & font)77 void ChatLineContent::fontChanged(const QFont& font)
78 {
79     Q_UNUSED(font);
80 }
81 
getAscent() const82 qreal ChatLineContent::getAscent() const
83 {
84     return 0.0;
85 }
86 
visibilityChanged(bool)87 void ChatLineContent::visibilityChanged(bool)
88 {
89 }
90 
reloadTheme()91 void ChatLineContent::reloadTheme()
92 {
93 }
94 
getText() const95 QString ChatLineContent::getText() const
96 {
97     return QString();
98 }
99