diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2021-09-28 15:02:47 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2021-09-29 13:50:16 +0200 |
commit | dfd3fdfe664e214ca1bba72b96d19b89ff25e7bc (patch) | |
tree | f4e6afe4de72c808606e123e51baa19b02e63b1a /vcl/qt5/Qt5Timer.cxx | |
parent | 894450d6ebbb2d5e063d72b971580d1b8c10a5e3 (diff) |
qt5: Remove "5" from class names in qt5 VCL plugin
Rename classes for the qt5 VCL plugin to no longer
contain the Qt version number "5" in them, e.g.
"Qt5Widget" -> "QtWidget".
Also, adapt some variable names and comments
accordingly.
The code will be used for an upcoming qt6 VCL plugin
as well, so a "Qt" prefix fits better than a "Qt5"
one.
Renaming the headers and source files will be done
in a separate commit to make tracking git history easier.
Change-Id: Idf422f82ca9dafbb70e9a64de9c8cfc4cc8c0909
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122805
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/qt5/Qt5Timer.cxx')
-rw-r--r-- | vcl/qt5/Qt5Timer.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/qt5/Qt5Timer.cxx b/vcl/qt5/Qt5Timer.cxx index bbc2800e868d..f52491d81cd0 100644 --- a/vcl/qt5/Qt5Timer.cxx +++ b/vcl/qt5/Qt5Timer.cxx @@ -26,7 +26,7 @@ #include <vcl/svapp.hxx> #include <sal/log.hxx> -Qt5Timer::Qt5Timer() +QtTimer::QtTimer() { m_aTimer.setSingleShot(true); m_aTimer.setTimerType(Qt::PreciseTimer); @@ -35,18 +35,18 @@ Qt5Timer::Qt5Timer() connect(this, SIGNAL(stopTimerSignal()), this, SLOT(stopTimer())); } -void Qt5Timer::timeoutActivated() +void QtTimer::timeoutActivated() { SolarMutexGuard aGuard; CallCallback(); } -void Qt5Timer::startTimer(int nMS) { m_aTimer.start(nMS); } +void QtTimer::startTimer(int nMS) { m_aTimer.start(nMS); } -void Qt5Timer::Start(sal_uInt64 nMS) { Q_EMIT startTimerSignal(nMS); } +void QtTimer::Start(sal_uInt64 nMS) { Q_EMIT startTimerSignal(nMS); } -void Qt5Timer::stopTimer() { m_aTimer.stop(); } +void QtTimer::stopTimer() { m_aTimer.stop(); } -void Qt5Timer::Stop() { Q_EMIT stopTimerSignal(); } +void QtTimer::Stop() { Q_EMIT stopTimerSignal(); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |