summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-21 20:47:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-22 21:07:46 +0200
commit1002675c64315b75d5a2ff75431d8de8d52459d9 (patch)
treefb24d811e9238ae1a7c47b1b42dbcfb00f1b30cc /dbaccess
parent46dd214ab94181d3c552d86ec20b4a2c104fcc48 (diff)
rename SfxThumbnailView back to ThumbnailView
Change-Id: I07251905c3bf5bccb23c684d47ed34e79dde55fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104645 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/app/AppIconControl.cxx12
-rw-r--r--dbaccess/source/ui/app/AppIconControl.hxx2
2 files changed, 7 insertions, 7 deletions
diff --git a/dbaccess/source/ui/app/AppIconControl.cxx b/dbaccess/source/ui/app/AppIconControl.cxx
index 29a1c35a8d84..261855982604 100644
--- a/dbaccess/source/ui/app/AppIconControl.cxx
+++ b/dbaccess/source/ui/app/AppIconControl.cxx
@@ -57,7 +57,7 @@ public:
};
OApplicationIconControl::OApplicationIconControl(std::unique_ptr<weld::ScrolledWindow> xScroll)
- : SfxThumbnailView(std::move(xScroll), nullptr)
+ : ThumbnailView(std::move(xScroll), nullptr)
, m_pActionListener(nullptr)
, m_nMaxWidth(0)
, m_nMaxHeight(0)
@@ -126,7 +126,7 @@ void OApplicationIconControl::Resize()
// fill the full width of the allocated area and give two lines of space to
// center the title in
setItemDimensions(GetOutputSizePixel().Width(), m_nMaxHeight, GetTextHeight() * 2, 0);
- SfxThumbnailView::Resize();
+ ThumbnailView::Resize();
}
bool OApplicationIconControl::IsMnemonicChar(sal_Unicode cChar, ElementType& rType) const
@@ -165,12 +165,12 @@ bool OApplicationIconControl::DoKeyShortCut(const KeyEvent& rKEvt)
bool OApplicationIconControl::KeyInput(const KeyEvent& rKEvt)
{
- return DoKeyShortCut(rKEvt) || SfxThumbnailView::KeyInput(rKEvt);
+ return DoKeyShortCut(rKEvt) || ThumbnailView::KeyInput(rKEvt);
}
void OApplicationIconControl::SetDrawingArea(weld::DrawingArea* pDrawingArea)
{
- SfxThumbnailView::SetDrawingArea(pDrawingArea);
+ ThumbnailView::SetDrawingArea(pDrawingArea);
m_xDropTarget.reset(new OApplicationIconControlDropTarget(*this));
}
@@ -203,13 +203,13 @@ OApplicationIconControl::~OApplicationIconControl()
void OApplicationIconControl::GetFocus()
{
- SfxThumbnailView::GetFocus();
+ ThumbnailView::GetFocus();
Invalidate(); // redraw focus rect
}
void OApplicationIconControl::LoseFocus()
{
- SfxThumbnailView::LoseFocus();
+ ThumbnailView::LoseFocus();
Invalidate(); // redraw focus rect
}
diff --git a/dbaccess/source/ui/app/AppIconControl.hxx b/dbaccess/source/ui/app/AppIconControl.hxx
index 7ca11cef2659..91f81b71a038 100644
--- a/dbaccess/source/ui/app/AppIconControl.hxx
+++ b/dbaccess/source/ui/app/AppIconControl.hxx
@@ -33,7 +33,7 @@ namespace dbaui
class IconControl;
class OApplicationIconControlDropTarget;
- class OApplicationIconControl final : public SfxThumbnailView
+ class OApplicationIconControl final : public ThumbnailView
{
std::unique_ptr<OApplicationIconControlDropTarget> m_xDropTarget;
IControlActionListener* m_pActionListener;