Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPageWidgetItem.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 SPDX-FileCopyrightText: 2000 Simon Hausmann <hausmann@kde.org>
3 SPDX-FileCopyrightText: 2000 2006 Martin Pfeiffer <hubipete@gmx.net>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#ifndef KOPAGEWIDGETITEM_H
9#define KOPAGEWIDGETITEM_H
10
11#include "kritawidgets_export.h"
12
13class QWidget;
14class QString;
15
16// This class can be implemented when we want to extend the
17// dialog with new, specific pages.
18class KRITAWIDGETS_EXPORT KoPageWidgetItem
19{
20public:
21 virtual ~KoPageWidgetItem() {}
22
23 virtual QWidget *widget() = 0;
24 virtual QString name() const = 0;
25 virtual QString iconName() const = 0;
26 virtual bool shouldDialogCloseBeVetoed() = 0;
27 virtual void apply() = 0;
28};
29
30
31#endif // KOPAGEWIDGETITEM_H
virtual QString iconName() const =0
virtual void apply()=0
virtual ~KoPageWidgetItem()
virtual QString name() const =0
virtual bool shouldDialogCloseBeVetoed()=0
virtual QWidget * widget()=0