6 #define RS_FONTLIST RS_FontList::instance()
11 * The global list of fonts. This is implemented as a singleton.
12 * Use RS_FontList::instance() to get a pointer to the object.
14 * @author Andrew Mustun
23 * @return Instance to the unique font list.
25 static RS_FontList * instance();
27 virtual ~RS_FontList();
33 virtual void removeFont(RS_Font * font);
34 RS_Font * requestFont(const QString & name);
35 RS_Font * firstFont();
38 friend std::ostream & operator<<(std::ostream & os, RS_FontList & l);
41 static RS_FontList * uniqueInstance;
44 //! fonts in the graphic
45 // Q3PtrList<RS_Font> fonts;
46 QList<RS_Font *> fonts;
47 QListIterator<RS_Font *> fontIterator;