mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-14 22:41:41 -04:00
Create src/gui/{entry,group}/ and move corresponding files to these dirs.
This commit is contained in:
parent
b08d2d45b7
commit
7ebee78c75
29 changed files with 39 additions and 39 deletions
60
src/gui/group/EditGroupWidget.h
Normal file
60
src/gui/group/EditGroupWidget.h
Normal file
|
@ -0,0 +1,60 @@
|
|||
/*
|
||||
* Copyright (C) 2011 Felix Geyer <debfx@fobos.de>
|
||||
*
|
||||
* 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 or (at your option)
|
||||
* version 3 of the License.
|
||||
*
|
||||
* 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, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef KEEPASSX_EDITGROUPWIDGET_H
|
||||
#define KEEPASSX_EDITGROUPWIDGET_H
|
||||
|
||||
#include <QtCore/QScopedPointer>
|
||||
|
||||
#include "gui/EditWidget.h"
|
||||
#include "core/Group.h"
|
||||
|
||||
class EditWidgetIcons;
|
||||
|
||||
namespace Ui {
|
||||
class EditGroupWidgetMain;
|
||||
class EditWidget;
|
||||
}
|
||||
|
||||
class EditGroupWidget : public EditWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit EditGroupWidget(QWidget* parent = 0);
|
||||
~EditGroupWidget();
|
||||
|
||||
void loadGroup(Group* group, bool create, Database* database);
|
||||
|
||||
Q_SIGNALS:
|
||||
void editFinished(bool accepted);
|
||||
|
||||
private Q_SLOTS:
|
||||
void save();
|
||||
void cancel();
|
||||
|
||||
private:
|
||||
const QScopedPointer<Ui::EditGroupWidgetMain> m_mainUi;
|
||||
QWidget* const m_editGroupWidgetMain;
|
||||
EditWidgetIcons* const m_editGroupWidgetIcons;
|
||||
Group* m_group;
|
||||
Database* m_database;
|
||||
|
||||
Q_DISABLE_COPY(EditGroupWidget)
|
||||
};
|
||||
|
||||
#endif // KEEPASSX_EDITGROUPWIDGET_H
|
Loading…
Add table
Add a link
Reference in a new issue