Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Public Member Functions | Private Attributes
SCFontsIterator Struct Reference

#include <scfonts.h>

List of all members.

Public Member Functions

 SCFontsIterator (SCFonts &fonts)
ScFace & current ()
QString currentKey () const
bool hasNext () const
ScFace & next ()

Private Attributes

QMap< QString, ScFace >::Iterator it
QMap< QString, ScFace >::Iterator end_it

Detailed Description

Definition at line 88 of file scfonts.h.


Constructor & Destructor Documentation

SCFontsIterator::SCFontsIterator ( SCFonts &  fonts) [inline]

Definition at line 90 of file scfonts.h.

                                      : it(fonts.begin()), end_it(fonts.end()) 
       {}

Member Function Documentation

ScFace& SCFontsIterator::current ( ) [inline]

Definition at line 92 of file scfonts.h.

{ return *it; }

Here is the caller graph for this function:

QString SCFontsIterator::currentKey ( ) const [inline]

Definition at line 93 of file scfonts.h.

{ return it.key(); }

Here is the caller graph for this function:

bool SCFontsIterator::hasNext ( ) const [inline]

Definition at line 94 of file scfonts.h.

{ return it != end_it; }

Here is the caller graph for this function:

ScFace& SCFontsIterator::next ( ) [inline]

Definition at line 95 of file scfonts.h.

{ ++it; return current(); }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

QMap<QString,ScFace>::Iterator SCFontsIterator::end_it [private]

Definition at line 98 of file scfonts.h.

QMap<QString,ScFace>::Iterator SCFontsIterator::it [private]

Definition at line 98 of file scfonts.h.


The documentation for this struct was generated from the following file: