Logo Search packages:      
Sourcecode: qcomicbook version File versions  Download package

QString ImgDirSink::getName ( int  maxlen = 50  )  [virtual]

Returns abbreviated name of maxlen. This name is not reliable, eg. it can't be used as file or directory name. It is meant for viewing only.

maxlen maximum length of the name that will be returned
abbreviated comic book name

Reimplemented in QComicBook::ImgArchiveSink.

Definition at line 165 of file imgdirsink.cpp.

References dirpath.

        if (dirpath.length() < maxlen)
                return dirpath;
        QString tmpname = "..." + dirpath.right(maxlen-3);
        return tmpname;

Generated by  Doxygen 1.6.0   Back to index