~neon/grantlee/trunk

« back to all changes in this revision

Viewing changes to templates/lib/cachingloaderdecorator.h

  • Committer: Stephen Kelly
  • Date: 2014-09-22 11:05:05 UTC
  • Revision ID: git-v1:d7635489161c4defb4638e5f344880f65af58291
Remove typedefs for QSharedPointers from APIs.

The typedefs hide the semantic of memory management that is being
used, which is undesirable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
class GRANTLEE_TEMPLATES_EXPORT CachingLoaderDecorator : public AbstractTemplateLoader
65
65
{
66
66
public:
67
 
#ifndef Q_QDOC
68
 
  typedef QSharedPointer<CachingLoaderDecorator> Ptr;
69
 
#endif
70
 
 
71
67
  /**
72
68
    Constructor
73
69
  */
74
 
  CachingLoaderDecorator( Grantlee::AbstractTemplateLoader::Ptr loader );
 
70
  CachingLoaderDecorator( QSharedPointer<AbstractTemplateLoader> loader );
75
71
 
76
72
  /**
77
73
    Destructor