File indexing completed on 2023-11-26 09:04:48
0001 /** 0002 * SPDX-FileCopyrightText: (C) 2010 Brian C. Milco <bcmilco@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef HISTORY_H 0008 #define HISTORY_H 0009 0010 #include <QUndoCommand> 0011 0012 class BasketScene; 0013 0014 class HistorySetBasket : public QUndoCommand 0015 { 0016 public: 0017 explicit HistorySetBasket(BasketScene *basket, QUndoCommand *parent = nullptr); 0018 void undo() override; 0019 void redo() override; 0020 0021 private: 0022 QString m_folderNameOld; 0023 QString m_folderNameNew; 0024 }; 0025 0026 #endif // HISTORY_H