reformatted to Mozilla code style

This commit is contained in:
Jeremy Borgman
2020-09-04 20:16:33 -05:00
committed by borgmanJeremy
parent c0e2e48db4
commit c8d15205be
176 changed files with 12695 additions and 11269 deletions

View File

@@ -17,55 +17,78 @@
#include "abstractactiontool.h"
AbstractActionTool::AbstractActionTool(QObject *parent) : CaptureTool(parent) {
AbstractActionTool::AbstractActionTool(QObject* parent)
: CaptureTool(parent)
{}
}
bool AbstractActionTool::isValid() const {
return true;
}
bool AbstractActionTool::isSelectable() const {
return false;
}
bool AbstractActionTool::showMousePreview() const {
return false;
}
void AbstractActionTool::undo(QPixmap &pixmap) {
Q_UNUSED(pixmap);
}
void AbstractActionTool::process(QPainter &painter, const QPixmap &pixmap, bool recordUndo) {
Q_UNUSED(painter);
Q_UNUSED(pixmap);
Q_UNUSED(recordUndo);
}
void AbstractActionTool::paintMousePreview(
QPainter &painter, const CaptureContext &context)
bool
AbstractActionTool::isValid() const
{
Q_UNUSED(painter);
Q_UNUSED(context);
return true;
}
void AbstractActionTool::drawEnd(const QPoint &p) {
Q_UNUSED(p);
bool
AbstractActionTool::isSelectable() const
{
return false;
}
void AbstractActionTool::drawMove(const QPoint &p) {
Q_UNUSED(p);
bool
AbstractActionTool::showMousePreview() const
{
return false;
}
void AbstractActionTool::drawStart(const CaptureContext &context) {
Q_UNUSED(context);
void
AbstractActionTool::undo(QPixmap& pixmap)
{
Q_UNUSED(pixmap);
}
void AbstractActionTool::colorChanged(const QColor &c) {
Q_UNUSED(c);
void
AbstractActionTool::process(QPainter& painter,
const QPixmap& pixmap,
bool recordUndo)
{
Q_UNUSED(painter);
Q_UNUSED(pixmap);
Q_UNUSED(recordUndo);
}
void AbstractActionTool::thicknessChanged(const int th) {
Q_UNUSED(th);
void
AbstractActionTool::paintMousePreview(QPainter& painter,
const CaptureContext& context)
{
Q_UNUSED(painter);
Q_UNUSED(context);
}
void
AbstractActionTool::drawEnd(const QPoint& p)
{
Q_UNUSED(p);
}
void
AbstractActionTool::drawMove(const QPoint& p)
{
Q_UNUSED(p);
}
void
AbstractActionTool::drawStart(const CaptureContext& context)
{
Q_UNUSED(context);
}
void
AbstractActionTool::colorChanged(const QColor& c)
{
Q_UNUSED(c);
}
void
AbstractActionTool::thicknessChanged(const int th)
{
Q_UNUSED(th);
}