9#include "partactivateevent.h"
13class KParts::PartActivateEventPrivate
16 PartActivateEventPrivate(
bool activated,
Part *part,
QWidget *widget)
17 : m_bActivated(activated)
22 const bool m_bActivated;
29PartActivateEvent::PartActivateEvent(
bool activated,
Part *part,
QWidget *widget)
30 :
QEvent(partActivateEvent)
31 , d(new PartActivateEventPrivate(activated, part, widget))
35PartActivateEvent::~PartActivateEvent() =
default;
37bool PartActivateEvent::activated()
const
39 return d->m_bActivated;
42Part *PartActivateEvent::part()
const
47QWidget *PartActivateEvent::widget()
const
52bool PartActivateEvent::test(
const QEvent *event)
54 return event->type() == partActivateEvent;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 12:00:53 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.