Commit 401f1a84 authored by Patrick Julien's avatar Patrick Julien

Prepare for memento switch

Fix warning

svn path=/trunk/koffice/; revision=264209
parent 8830e836
......@@ -8,7 +8,7 @@ libkiscore_la_LIBADD = tiles/libkistile.la helper/libkishelper.la builder/libkis
libkiscore_la_SOURCES = kis_paint_device.cc kis_layer.cc kis_channel.cc kis_mask.cc kis_image.cc kis_doc.cc\
kis_view.cc kis_factory.cc kis_pluginserver.cc kis_resourceserver.cc \
kis_brush.cc kis_krayon.cc kis_pattern.cc kis_nameserver.cc \
kis_painter.cc kis_tool_memento.cc kis_tool_factory.cc kis_cursor.cc kis_selection.cc kis_command.cc \
kis_painter.cc kis_tool_factory.cc kis_cursor.cc kis_selection.cc kis_command.cc \
kis_background.cc kis_global.cc kis_config.cc kis_tool.cc kis_resource.cc kis_resource_mediator.cc \
kis_guide.cc
......
/*
* Copyright (c) 2002 Patrick Julien <freak@codepimps.org>
* Copyright (c) 2003 Patrick Julien <freak@codepimps.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -16,13 +16,12 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "kis_tool_memento.h"
#if !defined KIS_MEMENTO_H_
#define KIS_MEMENTO_H_
KisToolMemento::KisToolMemento()
{
}
#include <qcstring.h>
KisToolMemento::~KisToolMemento()
{
}
typedef QByteArray KisMemento;
#endif // KIS_MEMENTO_H_
/*
* Copyright (c) 2002 Patrick Julien <freak@codepimps.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#if !defined KIS_TOOL_MEMENTO_H_
#define KIS_TOOL_MEMENTO_H_
#include <ksharedptr.h>
#include "kis_types.h"
class KisToolMemento : public KShared {
public:
KisToolMemento();
virtual ~KisToolMemento();
};
#endif // KIS_TOOL_MEMENTO_H_
......@@ -25,7 +25,6 @@
#include "kis_image.h"
#include "kis_paint_device.h"
#include "kis_view.h"
#include "kis_tool_memento.h"
#include "kis_strategy_move.h"
#include "kis_undo_adapter.h"
......
......@@ -16,7 +16,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "kdebug.h"
#include "kis_tool_memento.h"
#include "kis_tool_non_paint.h"
#include "kis_view.h"
......@@ -66,7 +65,7 @@ void KisToolNonPaint::mouseRelease(QMouseEvent *)
{
}
void KisToolNonPaint::tabletEvent(QTabletEvent *e)
void KisToolNonPaint::tabletEvent(QTabletEvent * /*e*/)
{
// kdDebug() << "received tablet event at position ("
// << e->pos().x()
......
......@@ -18,7 +18,6 @@
#include <kdebug.h>
#include <koColor.h>
#include "kis_tool_memento.h"
#include "kis_tool_paint.h"
#include "kis_view.h"
#include "kis_global.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment