Re: [Development] Single static list object to track something

2012-09-20 Thread Marc Mutz
On Friday September 21 2012, Majid Khan wrote: > Hi, > > I have a class that tracks strings so essentially TrackedStrings : > QStringList and this contains a list of strings that are being tracked (so > some function from some other class calls it's add(const QString& string). > I need this object

[Development] Single static list object to track something

2012-09-20 Thread Majid Khan
Hi, I have a class that tracks strings so essentially TrackedStrings : QStringList and this contains a list of strings that are being tracked (so some function from some other class calls it's add(const QString& string). I need this object as static because I want to access it from anywhere withou