Kaydet (Commit) 941373f5 authored tarafından Katarina Behrens's avatar Katarina Behrens Kaydeden (comit) Thorsten Behrens

kde5: rename KDESalGraphics too

Change-Id: I1a1625428cca0be7ece5fb4604aaacef4967a405
üst 8b52adca
......@@ -367,7 +367,7 @@ SalGraphics* KDE5SalFrame::AcquireGraphics()
m_aGraphics[i].bInUse = true;
if( ! m_aGraphics[i].pGraphics )
{
m_aGraphics[i].pGraphics.reset( new KDESalGraphics );
m_aGraphics[i].pGraphics.reset( new KDE5SalGraphics );
m_aGraphics[i].pGraphics->Init( this, GetWindow(), GetScreenNumber() );
}
return m_aGraphics[i].pGraphics.get();
......
......@@ -70,7 +70,7 @@ QRect region2QRect( const tools::Rectangle& rControlRegion )
return QRect(rControlRegion.Left(), rControlRegion.Top(), rControlRegion.GetWidth(), rControlRegion.GetHeight());
}
bool KDESalGraphics::IsNativeControlSupported( ControlType type, ControlPart part )
bool KDE5SalGraphics::IsNativeControlSupported( ControlType type, ControlPart part )
{
switch (type)
{
......@@ -197,7 +197,7 @@ static QRegion XRegionToQRegion( Region xr )
}
#endif
bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
bool KDE5SalGraphics::drawNativeControl( ControlType type, ControlPart part,
const tools::Rectangle& rControlRegion, ControlState nControlState,
const ImplControlValue& value,
const OUString& )
......@@ -661,7 +661,7 @@ bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
return returnVal;
}
bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part,
bool KDE5SalGraphics::getNativeControlRegion( ControlType type, ControlPart part,
const tools::Rectangle& controlRegion, ControlState controlState,
const ImplControlValue& val,
const OUString&,
......@@ -974,7 +974,7 @@ bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part,
aPos was or was not inside the native widget specified by the
nType/nPart combination.
*/
bool KDESalGraphics::hitTestNativeControl( ControlType nType, ControlPart nPart,
bool KDE5SalGraphics::hitTestNativeControl( ControlType nType, ControlPart nPart,
const tools::Rectangle& rControlRegion, const Point& rPos,
bool& rIsInside )
{
......
......@@ -30,7 +30,7 @@
/**
* Handles native graphics requests and performs the needed drawing operations.
*/
class KDESalGraphics : public X11SalGraphics
class KDE5SalGraphics : public X11SalGraphics
{
public:
virtual bool IsNativeControlSupported( ControlType, ControlPart ) override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment