File indexing completed on 2024-04-28 04:02:51

0001 /***************************************************************************
0002                                dlgmapmovement.h
0003                              -------------------
0004     begin                : Tue Mar 18 2003
0005     copyright            : (C) 2003 by Kmud Developer Team
0006                            (C) 2007 Tomas Mecir <kmuddy@kmuddy.com>
0007     email                : kmud-devel@kmud.de
0008  ***************************************************************************/
0009 
0010 /***************************************************************************
0011  *                                                                         *
0012  *   This program is free software; you can redistribute it and/or modify  *
0013  *   it under the terms of the GNU General Public License as published by  *
0014  *   the Free Software Foundation; either version 2 of the License, or     *
0015  *   (at your option) any later version.                                   *
0016  *                                                                         *
0017  ***************************************************************************/
0018 
0019 #ifndef DLGMAPMOVEMENT_H
0020 #define DLGMAPMOVEMENT_H
0021 
0022 class CMapManager;
0023 
0024 #include "ui_dlgmapmovementbase.h"
0025 #include <QDialog>
0026 
0027 /**
0028   *@author Kmud Developer Team
0029   */
0030 
0031 class DlgMapMovement : public QDialog, public Ui::DlgMapMovementBase
0032 {
0033     Q_OBJECT
0034 public: 
0035     DlgMapMovement(CMapManager *mapManager, QWidget *parent);
0036     ~DlgMapMovement() override;
0037 
0038     void slotOkPressed();
0039 
0040 private slots:
0041     void slotValidCheckStateChanged(bool state);
0042 
0043     void slotAddClicked(void);
0044     void slotEditClicked(void);
0045     void slotRemoveClicked(void);
0046     
0047 private:
0048     /** A pointer to the map manager */
0049     CMapManager *m_mapManager;
0050     
0051 };
0052 
0053 #endif