Krita Source Code Documentation
Loading...
Searching...
No Matches
KisMessageBoxWrapper.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 Halla Rempt <halla@valdyas.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef KISMESSAGEBOXWRAPPER_H
8#define KISMESSAGEBOXWRAPPER_H
9
10class QMessageBox;
11class QString;
12
13#include "kritaglobal_export.h"
14
18namespace KisMessageBoxWrapper {
19
20
31KRITAGLOBAL_EXPORT int doNotAskAgainMessageBoxWrapper(QMessageBox *messageBox, const QString &identifier);
32
33
34}
35
36#endif // KISMESSAGEBOXWRAPPER_H
int doNotAskAgainMessageBoxWrapper(QMessageBox *messageBox, const QString &identifier)
doNotAskAgainMessageBoxWrapper takes a messagebox and an identifier and adds a Do Not Ask Again check...