equal
deleted
inserted
replaced
1 /****************************************************************************** |
1 /****************************************************************************** |
2 * |
2 * |
3 * |
3 * |
4 * |
4 * |
5 * |
5 * |
6 * Copyright (C) 1997-2008 by Dimitri van Heesch. |
6 * Copyright (C) 1997-2010 by Dimitri van Heesch. |
7 * |
7 * |
8 * Permission to use, copy, modify, and distribute this software and its |
8 * Permission to use, copy, modify, and distribute this software and its |
9 * documentation under the terms of the GNU General Public License is hereby |
9 * documentation under the terms of the GNU General Public License is hereby |
10 * granted. No representations are made about the suitability of this software |
10 * granted. No representations are made about the suitability of this software |
11 * for any purpose. It is provided "as is" without express or implied warranty. |
11 * for any purpose. It is provided "as is" without express or implied warranty. |
515 { |
515 { |
516 public: |
516 public: |
517 DocCopy(DocNode *parent,const QString &link,bool copyBrief,bool copyDetails) |
517 DocCopy(DocNode *parent,const QString &link,bool copyBrief,bool copyDetails) |
518 : m_parent(parent), m_link(link), |
518 : m_parent(parent), m_link(link), |
519 m_copyBrief(copyBrief), m_copyDetails(copyDetails) { } |
519 m_copyBrief(copyBrief), m_copyDetails(copyDetails) { } |
520 Kind kind() const { return Kind_IndexEntry; } |
520 Kind kind() const { return Kind_Copy; } |
521 QString link() const { return m_link; } |
521 QString link() const { return m_link; } |
522 DocNode *parent() const { return m_parent; } |
522 DocNode *parent() const { return m_parent; } |
523 void accept(DocVisitor *v) { CompAccept<DocCopy>::accept(this,v); } |
523 void accept(DocVisitor *v) { CompAccept<DocCopy>::accept(this,v); } |
524 void parse(); |
524 void parse(); |
525 |
525 |