~ubuntu-branches/ubuntu/wily/oxygen/wily

« back to all changes in this revision

Viewing changes to kdecoration/oxygensettingsprovider.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell, Scarlett Clark, Jonathan Riddell
  • Date: 2015-08-10 23:18:51 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20150810231851-wtw33zvkigya4f7t
Tags: 4:5.3.95-0ubuntu1
[ Scarlett Clark ]
* Vivid backport. 

[ Jonathan Riddell ]
* new upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 */
23
23
 
24
24
#include "oxygendecoration.h"
25
 
#include "oxygensettings.h"
26
25
#include "oxygen.h"
27
26
 
28
27
#include <KSharedConfig>
29
 
 
30
28
#include <QObject>
31
29
 
32
30
namespace Oxygen
33
31
{
34
32
 
 
33
    class DecoHelper;
 
34
    class ShadowCache;
 
35
 
35
36
    class SettingsProvider: public QObject
36
37
    {
37
38
 
45
46
        //* singleton
46
47
        static SettingsProvider *self();
47
48
 
 
49
        //* helper
 
50
        DecoHelper* helper( void ) const
 
51
        { return m_decoHelper; }
 
52
 
 
53
        //* shadow cache
 
54
        ShadowCache* shadowCache( void ) const
 
55
        { return m_shadowCache; }
 
56
 
48
57
        //* internal settings for given decoration
49
58
        InternalSettingsPtr internalSettings(const Decoration *) const;
50
59
 
67
76
        //* config object
68
77
        KSharedConfigPtr m_config;
69
78
 
 
79
        //* decoration helper
 
80
        DecoHelper* m_decoHelper = nullptr;
 
81
 
 
82
        //* shadow cache
 
83
        ShadowCache* m_shadowCache = nullptr;
 
84
 
70
85
        //* singleton
71
86
        static SettingsProvider *s_self;
72
87