| 1 | /* |
| 2 | * Copyright 2015 Canonical Ltd. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU Lesser General Public License as published by |
| 6 | * the Free Software Foundation; version 3. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU Lesser General Public License for more details. |
| 12 | * |
| 13 | * You should have received a copy of the GNU Lesser General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ |
| 16 | |
| 17 | #include "candidateinactivitytimer_p.h"cxx . . $ `<file>/src/LomiriGestures/candidateinactivitytimer_p.h`/ |
| 18 | |
| 19 | UG_NAMESPACE_BEGINcxx . . $ `src/LomiriGestures/lomirigesturesglobal.h:30:9`! |
| 20 | |
| 21 | CandidateInactivityTimercxx . . $ LomiriGestures/CandidateInactivityTimer#::CandidateInactivityTimercxx . . $ LomiriGestures/CandidateInactivityTimer#CandidateInactivityTimer(59872807b672b6a1).(int touchId, QQuickItemcxx . . $ QQuickItem# *candidate, |
| 22 | AbstractTimercxx . . $ LomiriGestures/AbstractTimer# *timer, QObjectcxx . . $ QObject# *parent) |
| 23 | : QObjectcxx . . $ QObject#QObject(749de1b6ae65bddd).(parent) |
| 24 | , m_timercxx . . $ LomiriGestures/CandidateInactivityTimer#m_timer.(timer) |
| 25 | , m_touchIdcxx . . $ LomiriGestures/CandidateInactivityTimer#m_touchId.(touchId) |
| 26 | , m_candidatecxx . . $ LomiriGestures/CandidateInactivityTimer#m_candidate.(candidate) |
| 27 | { |
| 28 | connectcxx . . $ QObject#connect(835f87066c895669).(m_timercxx . . $ LomiriGestures/CandidateInactivityTimer#m_timer., &AbstractTimercxx . . $ LomiriGestures/AbstractTimer#::timeoutcxx . . $ LomiriGestures/AbstractTimer#timeout(49f6e7a06ebc5aa8)., |
| 29 | this, &CandidateInactivityTimercxx . . $ LomiriGestures/CandidateInactivityTimer#::onTimeoutcxx . . $ LomiriGestures/CandidateInactivityTimer#onTimeout(49f6e7a06ebc5aa8).); |
| 30 | m_timercxx . . $ LomiriGestures/CandidateInactivityTimer#m_timer.->setIntervalcxx . . $ LomiriGestures/AbstractTimer#setInterval(d4f767463ce0a6b3).(durationMscxx . . $ LomiriGestures/CandidateInactivityTimer#durationMs.); |
| 31 | m_timercxx . . $ LomiriGestures/CandidateInactivityTimer#m_timer.->setSingleShotcxx . . $ LomiriGestures/AbstractTimer#setSingleShot(b45ddcbc8423892c).(true); |
| 32 | m_timercxx . . $ LomiriGestures/CandidateInactivityTimer#m_timer.->startcxx . . $ LomiriGestures/AbstractTimer#start(49f6e7a06ebc5aa8).(); |
| 33 | } |
| 34 | |
| 35 | CandidateInactivityTimercxx . . $ LomiriGestures/CandidateInactivityTimer#::~cxx . . $ LomiriGestures/CandidateInactivityTimer#`~CandidateInactivityTimer`(ced63f7c635d850d).CandidateInactivityTimercxx . . $ LomiriGestures/CandidateInactivityTimer#() |
| 36 | { |
| 37 | delete m_timercxx . . $ LomiriGestures/CandidateInactivityTimer#m_timer.; |
| 38 | } |
| 39 | |
| 40 | void CandidateInactivityTimercxx . . $ LomiriGestures/CandidateInactivityTimer#::onTimeoutcxx . . $ LomiriGestures/CandidateInactivityTimer#onTimeout(49f6e7a06ebc5aa8).() |
| 41 | { |
| 42 | qWarningcxx . . $ `<external>/10450329605257866924/qlogging.h:166:9`!("[TouchRegistry] Candidate for touch %d defaulted!", m_touchIdcxx . . $ LomiriGestures/CandidateInactivityTimer#m_touchId.); |
| 43 | Q_EMITcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:95:10`! candidateDefaultedcxx . . $ LomiriGestures/CandidateInactivityTimer#candidateDefaulted(1dd929642e598acc).(m_touchIdcxx . . $ LomiriGestures/CandidateInactivityTimer#m_touchId., m_candidatecxx . . $ LomiriGestures/CandidateInactivityTimer#m_candidate.); |
| 44 | } |
| 45 | |
| 46 | UG_NAMESPACE_ENDcxx . . $ `src/LomiriGestures/lomirigesturesglobal.h:31:9`! |