KParts
9#include "partactivateevent.h"
13class KParts::PartActivateEventPrivate
16 PartActivateEventPrivate(
bool activated, Part *part, QWidget *widget)
17 : m_bActivated(activated)
22 const bool m_bActivated;
24 QWidget *
const m_widget;
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-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:58:23 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.