Marble
TimeControlWidget.cpp
29 connect(m_uiWidget->speedSlider, &QAbstractSlider::valueChanged, this, &TimeControlWidget::updateSpeedLabel);
30 connect(m_uiWidget->nowToolButton, &QAbstractButton::clicked, this, &TimeControlWidget::nowClicked);
31 connect(m_uiWidget->buttonBox->button(QDialogButtonBox::Apply), SIGNAL(clicked()), this, SLOT(apply()));
33 connect(m_uiWidget->buttonBox->button(QDialogButtonBox::Ok), &QAbstractButton::clicked, this, &TimeControlWidget::apply);
34 connect(m_uiWidget->buttonBox->button(QDialogButtonBox::Ok), &QAbstractButton::clicked, this, &QDialog::accept);
36 connect(m_clock, &MarbleClock::updateIntervalChanged, this, &TimeControlWidget::updateRefreshRate);
63 m_uiWidget->newDateTimeEdit->setDateTime(QDateTime::currentDateTime().toUTC().addSecs(m_clock->timezone()));
KGuiItem apply()
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
void clicked(bool checked)
void valueChanged(int value)
QDateTime addSecs(qint64 s) const const
QDateTime currentDateTime()
QDateTime toUTC() const const
virtual void accept()
virtual void reject()
void rejected()
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
virtual bool event(QEvent *event) override
void setupUi(QWidget *widget)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.