umbrello: umbrello/dialogs/overwritedialog.h Source File

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

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 = nullptr);
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::~OverwriteDialog
~OverwriteDialog()
Definition overwritedialog.cpp:49
OverwriteDialog::applyToAllRemaining
bool applyToAllRemaining()
Definition overwritedialog.cpp:56
OverwriteDialog::OverwriteDialog
OverwriteDialog(const QString &fileName, const QString &outputDirectory, bool applyToAllRemaining, QWidget *parent=nullptr)
Definition overwritedialog.cpp:23
OverwriteDialog::m_applyToAllRemaining
QCheckBox * m_applyToAllRemaining
Definition overwritedialog.h:37
OverwriteDialog::No
static const int No
Definition overwritedialog.h:34
SinglePageDialogBase::SinglePageDialogBase
SinglePageDialogBase(QWidget *parent, bool withApplyButton=false, bool withSearchButton=false)
Definition singlepagedialogbase.cpp:23
SinglePageDialogBase::Apply
@ Apply
Definition singlepagedialogbase.h:30
singlepagedialogbase.h