summaryrefslogtreecommitdiff
path: root/vcl/inc/qt5/Qt5Bitmap.hxx
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2021-09-28 15:02:47 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2021-09-29 13:50:16 +0200
commitdfd3fdfe664e214ca1bba72b96d19b89ff25e7bc (patch)
treef4e6afe4de72c808606e123e51baa19b02e63b1a /vcl/inc/qt5/Qt5Bitmap.hxx
parent894450d6ebbb2d5e063d72b971580d1b8c10a5e3 (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/inc/qt5/Qt5Bitmap.hxx')
-rw-r--r--vcl/inc/qt5/Qt5Bitmap.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/qt5/Qt5Bitmap.hxx b/vcl/inc/qt5/Qt5Bitmap.hxx
index 348001d72ee5..a15deab29460 100644
--- a/vcl/inc/qt5/Qt5Bitmap.hxx
+++ b/vcl/inc/qt5/Qt5Bitmap.hxx
@@ -25,14 +25,14 @@
class QImage;
-class Qt5Bitmap final : public SalBitmap
+class QtBitmap final : public SalBitmap
{
std::unique_ptr<QImage> m_pImage;
BitmapPalette m_aPalette;
public:
- Qt5Bitmap();
- Qt5Bitmap(const QImage& rQImage);
+ QtBitmap();
+ QtBitmap(const QImage& rQImage);
const QImage* GetQImage() const { return m_pImage.get(); }