6#include "QskDialogButton.h"
7#include "QskDialogButtonBox.h"
10QskDialogButton::QskDialogButton(
11 QskDialog::Action action, QQuickItem* parent )
18QskDialogButton::QskDialogButton( QQuickItem* parent )
23QskDialogButton::~QskDialogButton()
27void QskDialogButton::setAction( QskDialog::Action action )
29 if ( action != m_action )
34 Q_EMIT actionChanged();
38QskDialog::Action QskDialogButton::action()
const
45 switch(
static_cast< int >( event->type() ) )
47 case QEvent::LocaleChange:
48 case QEvent::StyleChange:
56void QskDialogButton::resetButton()
59 setText( skin->dialogButtonText( m_action ) );
62#include "moc_QskDialogButton.cpp"
virtual void changeEvent(QEvent *)
QskSkin * effectiveSkin() const