~ubuntu-branches/ubuntu/quantal/kdevplatform/quantal-proposed

« back to all changes in this revision

Viewing changes to language/duchain/aliasdeclaration.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Bhargav Mangipudi
  • Date: 2010-12-16 19:31:23 UTC
  • mfrom: (0.3.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20101216193123-xe2keh5754zwsn1t
Tags: 1.1.80-0ubuntu1
* New upstream release
  - kdevplatform2-libs is now kdevplatform3-libs due to ABI changes
  - Update kdevplatform3-libs.install to include l10n files
  - Update kdevplatform-dev.install
* Removed localization packages

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include "ducontext.h"
22
22
#include "duchainregister.h"
23
23
#include "types/delayedtype.h"
 
24
#include <editor/rangeinrevision.h>
24
25
 
25
26
namespace KDevelop
26
27
{
29
30
 
30
31
AliasDeclaration::AliasDeclaration(const AliasDeclaration& rhs) 
31
32
  : ClassMemberDeclaration(*new AliasDeclarationData(*rhs.d_func())) {
32
 
  setSmartRange(rhs.smartRange(), DocumentRangeObject::DontOwn);
33
33
}
34
34
 
35
 
AliasDeclaration::AliasDeclaration(const SimpleRange& range, DUContext* context)
 
35
AliasDeclaration::AliasDeclaration(const RangeInRevision& range, DUContext* context)
36
36
  : ClassMemberDeclaration(*new AliasDeclarationData, range)
37
37
{
38
38
  d_func_dynamic()->setClassId(this);