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

QString ImgArchiveSink::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 from QComicBook::ImgDirSink.

Definition at line 212 of file imgarchivesink.cpp.

References archivename.

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

Generated by  Doxygen 1.6.0   Back to index