summaryrefslogtreecommitdiffstats
path: root/src/outputlist.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-10-20 18:23:06 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-10-20 18:23:06 (GMT)
commitdc404b516e366ca10ad325d399ef0bd47d065863 (patch)
tree63a7ba72ad4f8318f818aebfef29beee5811c241 /src/outputlist.cpp
parent6bc4cd0ea321e784be64022fea5013e1b181a593 (diff)
downloadDoxygen-dc404b516e366ca10ad325d399ef0bd47d065863.zip
Doxygen-dc404b516e366ca10ad325d399ef0bd47d065863.tar.gz
Doxygen-dc404b516e366ca10ad325d399ef0bd47d065863.tar.bz2
Release-1.2.18-20021020
Diffstat (limited to 'src/outputlist.cpp')
-rw-r--r--src/outputlist.cpp68
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)
{