File indexing completed on 2024-12-08 03:46:42
0001 /*************************************************************************** 0002 cmapcommand.h 0003 ------------------- 0004 begin : Fri Jun 7 2002 0005 copyright : (C) 2002 by Kmud Developer Team 0006 email : kmud-devel@kmud.de 0007 ***************************************************************************/ 0008 0009 /*************************************************************************** 0010 * * 0011 * This program is free software; you can redistribute it and/or modify * 0012 * it under the terms of the GNU General Public License as published by * 0013 * the Free Software Foundation; either version 2 of the License, or * 0014 * (at your option) any later version. * 0015 * * 0016 ***************************************************************************/ 0017 0018 #ifndef CMAPCOMMAND_H 0019 #define CMAPCOMMAND_H 0020 0021 #include <QUndoCommand> 0022 #include <QString> 0023 #include <kmuddy_export.h> 0024 0025 /** 0026 *@author Kmud Developer Team 0027 */ 0028 0029 class KMUDDY_EXPORT CMapCommand : public QUndoCommand 0030 { 0031 public: 0032 CMapCommand(QString name); 0033 ~CMapCommand() override; 0034 0035 QString name() const { return m_name; } 0036 0037 private: 0038 QString m_name; 0039 }; 0040 0041 #endif