umbrello: umbrello/dialogs/pages/dialogpagebase.h Source File

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

dialogpagebase.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2014-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef DIALOGPAGEBASE_H
12 #define DIALOGPAGEBASE_H
13
14 // qt class includes
15 #include <QWidget>
16
24 class DialogPageBase : public QWidget
25 {
26 Q_OBJECT
27 public:
28 explicit DialogPageBase(QWidget *parent);
29 virtual ~DialogPageBase();
30 virtual bool isModified();
31
32 protected:
33 bool m_isModified;
34 virtual void keyPressEvent(QKeyEvent *event);
35 };
36
37 #endif
DialogPageBase
Definition: dialogpagebase.h:25
DialogPageBase::m_isModified
bool m_isModified
Definition: dialogpagebase.h:33
DialogPageBase::~DialogPageBase
virtual ~DialogPageBase()
Definition: dialogpagebase.cpp:26
DialogPageBase::DialogPageBase
DialogPageBase(QWidget *parent)
Definition: dialogpagebase.cpp:20
DialogPageBase::keyPressEvent
virtual void keyPressEvent(QKeyEvent *event)
Definition: dialogpagebase.cpp:46
DialogPageBase::isModified
virtual bool isModified()
Definition: dialogpagebase.cpp:37