diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-10-20 18:23:06 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-10-20 18:23:06 (GMT) |
commit | 7c34dd2b1594925d0a012e9ba290bf9c80574db5 (patch) | |
tree | 63a7ba72ad4f8318f818aebfef29beee5811c241 /src/outputlist.cpp | |
parent | 2c6d31c8bf31028ba2f822c31f4812c2cecab306 (diff) | |
download | Doxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.zip Doxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.tar.gz Doxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.tar.bz2 |
Release-1.2.18-20021020
Diffstat (limited to 'src/outputlist.cpp')
-rw-r--r-- | src/outputlist.cpp | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/src/outputlist.cpp b/src/outputlist.cpp index b580a58..5826cca 100644 --- a/src/outputlist.cpp +++ b/src/outputlist.cpp @@ -36,23 +36,23 @@ OutputList::OutputList(bool) outputs->setAutoDelete(TRUE); } -OutputList::OutputList(const OutputList *olist) -{ - //printf("OutputList::OutputList() deep copy\n"); - outputs = new QList<OutputGenerator>; - outputs->setAutoDelete(TRUE); - - QList<OutputGenerator> *ol=olist->outputs; - OutputGenerator *og=ol->first(); - while (og) - { - OutputGenerator *ogc=og->copy(); - outputs->append(ogc); - if (og->isEnabled()) ogc->enable(); else ogc->disable(); - og=ol->next(); - } - //printf("OutputList::OutputList dst=%d res=%d\n",ol->count(),outputs->count()); -} +//OutputList::OutputList(const OutputList *olist) +//{ +// //printf("OutputList::OutputList() deep copy\n"); +// outputs = new QList<OutputGenerator>; +// outputs->setAutoDelete(TRUE); +// +// QList<OutputGenerator> *ol=olist->outputs; +// OutputGenerator *og=ol->first(); +// while (og) +// { +// OutputGenerator *ogc=og->copy(); +// outputs->append(ogc); +// if (og->isEnabled()) ogc->enable(); else ogc->disable(); +// og=ol->next(); +// } +// //printf("OutputList::OutputList dst=%d res=%d\n",ol->count(),outputs->count()); +//} OutputList::~OutputList() { @@ -60,23 +60,23 @@ OutputList::~OutputList() delete outputs; } -OutputList &OutputList::operator=(const OutputList &olist) -{ - if (this!=&olist) - { - QList<OutputGenerator> *ol=olist.outputs; - OutputGenerator *ogsrc=ol->first(); - OutputGenerator *ogdst=outputs->first(); - //printf("OutputList::operator= src=%d dst=%d\n",outputs->count(),ol->count()); - while (ogdst) - { - ogdst=ogsrc->copy(); - ogsrc=ol->next(); - ogdst=outputs->next(); - } - } - return *this; -} +//OutputList &OutputList::operator=(const OutputList &olist) +//{ +// if (this!=&olist) +// { +// QList<OutputGenerator> *ol=olist.outputs; +// OutputGenerator *ogsrc=ol->first(); +// OutputGenerator *ogdst=outputs->first(); +// //printf("OutputList::operator= src=%d dst=%d\n",outputs->count(),ol->count()); +// while (ogdst) +// { +// ogdst=ogsrc->copy(); +// ogsrc=ol->next(); +// ogdst=outputs->next(); +// } +// } +// return *this; +//} void OutputList::add(const OutputGenerator *og) { |