~ubuntu-branches/ubuntu/utopic/kdevelop-php/utopic

« back to all changes in this revision

Viewing changes to duchain/declarations/functiondeclaration.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-12-20 14:59:02 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20101220145902-a6cmovse1qmue52p
Tags: 1.1.80-0ubuntu1
* New upstream release
* Build-dep on kdevplatform >= 1.1.80
* Get rid of l10n packages, not relevant in Ubuntu, put locale files into main package

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
FunctionDeclaration::FunctionDeclaration(const FunctionDeclaration& rhs)
30
30
        : KDevelop::FunctionDeclaration(*new FunctionDeclarationData(*rhs.d_func()))
31
31
{
32
 
    setSmartRange(rhs.smartRange(), DocumentRangeObject::DontOwn);
33
32
}
34
33
 
35
 
FunctionDeclaration::FunctionDeclaration(const KDevelop::SimpleRange& range, KDevelop::DUContext* context)
 
34
FunctionDeclaration::FunctionDeclaration(const KDevelop::RangeInRevision& range, KDevelop::DUContext* context)
36
35
        : KDevelop::FunctionDeclaration(*new FunctionDeclarationData, range)
37
36
{
38
37
    d_func_dynamic()->setClassId(this);
46
45
{
47
46
}
48
47
 
49
 
FunctionDeclaration::FunctionDeclaration(FunctionDeclarationData& data, const KDevelop::SimpleRange& range, KDevelop::DUContext* context)
 
48
FunctionDeclaration::FunctionDeclaration(FunctionDeclarationData& data, const KDevelop::RangeInRevision& range, KDevelop::DUContext* context)
50
49
        : KDevelop::FunctionDeclaration(data, range)
51
50
{
52
51
    if (context) {