getting rid of tons of warnings

This commit is contained in:
confuseh
2017-01-18 13:48:42 +00:00
parent 528f539fca
commit 5eb7349b57
13 changed files with 98 additions and 69 deletions
+15 -15
View File
@@ -19,84 +19,84 @@ public:
const Word &
getWord() const
{
return m_word;
return this->m_word;
}
int
getWidth() const
{
return width;
return this->width;
}
int
getHeight() const
{
return height;
return this->height;
}
int
getX() const
{
return x;
return this->x;
}
int
getY() const
{
return y;
return this->y;
}
void
setPosition(int x, int y)
{
x = x;
y = y;
this->x = x;
this->y = y;
}
void
setY(int y)
{
y = y;
this->y = y;
}
int
getRight() const
{
return x + width;
return this->x + this->width;
}
int
getBottom() const
{
return y + height;
return this->y + this->height;
}
QRect
getRect() const
{
return QRect(x, y, width, height);
return QRect(this->x, this->y, this->width, this->height);
}
const QString
getCopyText() const
{
return copyText;
return this->copyText;
}
int
hasTrailingSpace() const
{
return _trailingSpace;
return this->_trailingSpace;
}
const QString &
getText() const
{
return text;
return this->text;
}
private:
Word &m_word;
Word& m_word;
QString copyText;
QString text;