clean-up headers to make shadow cache and configuration decoration independent.

This commit is contained in:
Hugo Pereira Da Costa 2011-02-23 09:46:17 +01:00
parent 4f12f43d5d
commit b35d3c7b65
3 changed files with 5 additions and 6 deletions

View file

@ -40,7 +40,7 @@ namespace Oxygen
{ return x*x; }
//_______________________________________________________
ShadowCache::ShadowCache( DecoHelper& helper ):
ShadowCache::ShadowCache( Helper& helper ):
helper_( helper ),
activeShadowConfiguration_( ShadowConfiguration( QPalette::Active ) ),
inactiveShadowConfiguration_( ShadowConfiguration( QPalette::Inactive ) )

View file

@ -28,7 +28,7 @@
//////////////////////////////////////////////////////////////////////////////
#include "oxygenshadowconfiguration.h"
#include "oxygendecohelper.h"
#include "oxygenhelper.h"
#include <cmath>
#include <QtCore/QCache>
@ -42,7 +42,7 @@ namespace Oxygen
public:
//! constructor
ShadowCache( DecoHelper& );
ShadowCache( Helper& );
//! destructor
virtual ~ShadowCache( void )
@ -172,7 +172,7 @@ namespace Oxygen
protected:
DecoHelper& helper( void ) const
Helper& helper( void ) const
{ return helper_; }
//! square utility function
@ -238,7 +238,7 @@ namespace Oxygen
private:
//! helper
DecoHelper& helper_;
Helper& helper_;
//! defines overlap between shadows and body
enum { overlap = 4 };

View file

@ -27,7 +27,6 @@
#include "oxygenshadowconfiguration.h"
#include <cassert>
#include <kdecoration.h>
namespace Oxygen
{