Problem encountered in writing a class which extends QList

Jens Zurheide jens.zurheide at
Fri Mar 1 18:49:57 GMT 2002

>#ifndef RULE_H
>#define RULE_H
>#include <qlist.h>
>class Rule : public QList {
Isn't QList a template class?

This would require something like (no guarantee for the syntax!)
  class Rule : public QList<typename T> {

>From a design point of view making the inheritance private might be worth 
thinking about.

>     Rule();
>     ~Rule();
>#include "rule.h"

to unsubscribe from this list send an email to kdevelop-request at with the following body:
unsubscribe »your-email-address«

More information about the KDevelop mailing list