umbrello: umbrello/dialogs/overwritedialog.h Source File

umbrello 2.39.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

overwritedialog.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2022 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef OVERWRITEDIALOG_H
7#define OVERWRITEDIALOG_H
8
9#include "singlepagedialogbase.h"
10
11class QCheckBox;
12
24 class OverwriteDialog: public SinglePageDialogBase
25{
26 Q_OBJECT
27public:
28 OverwriteDialog(const QString& fileName, const QString& outputDirectory,
29 bool applyToAllRemaining, QWidget* parent = 0);
30 ~OverwriteDialog();
31
32 bool applyToAllRemaining();
33
34 static const int No = SinglePageDialogBase::Apply; // "Apply" button is repurposed for "No"
35
36private:
37 QCheckBox* m_applyToAllRemaining;
38};
39
40#endif
OverwriteDialog
Definition overwritedialog.h:25
OverwriteDialog::~OverwriteDialog
~OverwriteDialog()
Definition overwritedialog.cpp:49
OverwriteDialog::OverwriteDialog
OverwriteDialog(const QString &fileName, const QString &outputDirectory, bool applyToAllRemaining, QWidget *parent=0)
Definition overwritedialog.cpp:23
OverwriteDialog::applyToAllRemaining
bool applyToAllRemaining()
Definition overwritedialog.cpp:56
OverwriteDialog::m_applyToAllRemaining
QCheckBox * m_applyToAllRemaining
Definition overwritedialog.h:37
OverwriteDialog::No
static const int No
Definition overwritedialog.h:34
SinglePageDialogBase
Definition singlepagedialogbase.h:23
SinglePageDialogBase::Apply
@ Apply
Definition singlepagedialogbase.h:30
singlepagedialogbase.h