53 lines
1.1 KiB
C++
53 lines
1.1 KiB
C++
/***************************************************************************
|
|
|
|
source::worx raDIYo
|
|
Copyright © 2020-2022 c.holzheuer
|
|
chris@sourceworx.org
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
#include <QtGlobal>
|
|
#include <QDebug>
|
|
|
|
#include <swdialhandler.h>
|
|
|
|
|
|
|
|
/**
|
|
* @brief Ist die Reaktion auf Rotarydials eingeschaltet?
|
|
*/
|
|
|
|
bool SWDialHandler::acceptDial()
|
|
{
|
|
return _acceptDial;
|
|
}
|
|
|
|
|
|
/**
|
|
* @brief Schaltet die Reaktion auf Rotarydials ein oder aus.
|
|
* @param acceptDial
|
|
*/
|
|
|
|
void SWDialHandler::setAcceptDial( bool acceptDial )
|
|
{
|
|
_acceptDial = acceptDial;
|
|
}
|
|
|
|
|
|
void SWDialHandler::onDialPushed()
|
|
{
|
|
qDebug() << "BASE SWDialHandler::onDialPushed";
|
|
}
|
|
|
|
|
|
void SWDialHandler::onDialDeltaChanged( int )
|
|
{
|
|
qDebug() << "BASE SWDialHandler::onDialDeltaChanged";
|
|
}
|