Documentation
[yamf.git] / yamf / model / command / modifysymbol.h
blobd6188e4a7f6864125acdedcb960a2021d0147555
1 /***************************************************************************
2 * Copyright (C) 2007 David Cuadrado *
3 * krawek@gmail.com *
4 * *
5 * This library is free software; you can redistribute it and/or *
6 * modify it under the terms of the GNU Lesser General Public *
7 * License as published by the Free Software Foundation; either *
8 * version 2.1 of the License, or (at your option) any later version. *
9 * *
10 * This library is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
13 * Lesser General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU Lesser General Public *
16 * License along with this library; if not, write to the Free Software *
17 * Foundation, Inc., *
18 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *
19 ***************************************************************************/
23 #ifndef YAMF_COMMANDMODIFYSYMBOL_H
24 #define YAMF_COMMANDMODIFYSYMBOL_H
26 #include <yamf/model/command/modifyitem.h>
28 namespace YAMF {
30 namespace Model{
31 class LibraryItem;
34 namespace Command {
36 /**
37 * @ingroup model
38 * @~spanish
39 * @brief Esta clase provee de un comando para modificar las propiedades de un objeto de la biblioteca.
40 * @author David Cuadrado <krawek@gmail.com>
42 class ModifySymbol : public YAMF::Command::Base
44 public:
45 ModifySymbol(Model::LibraryItem *item, QUndoCommand *parent = 0);
46 ~ModifySymbol();
48 QString toXml() const;
50 protected:
51 virtual void execute();
52 virtual void unexecute();
54 private:
55 struct Private;
56 Private *const d;
63 #endif