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


Go to the documentation of this file.
 * This file is a part of QComicBook.
 * Copyright (C) 2005-2006 Pawel Stolowski <yogin@linux.bydg.org>
 * QComicBook is free software; you can redestribute it and/or modify it
 * under terms of GNU General Public License by Free Software Foundation.
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY. See GPL for more details.


/*! \file imgarchiver.h */

#include "imgarchivesink.h"
#include <qvaluelist.h>

namespace QComicBook
      class ImgArchiver: public ImgArchiveSink

                  void createProgress(int current, int total);
                  void createReady();
                  void createError(int code);
                  QProcess *pomp; ///< archiving process
                  QString tmpcreatpath;
                  QStringList newfiles; ///< list of new archive files
                  int newfilesnum; ///< newfiles count
                  int cmpcnt; ///< archiver output counter

                  virtual void doCleanup();

            protected slots:
                  void compressExited();
                  void compressStdoutReady();

                  ImgArchiver(const ImgDirSink &sink);
                  virtual ~ImgArchiver();
                  virtual void create(const QString &destname, ArchiveType type, QValueList<int> pages);


Generated by  Doxygen 1.6.0   Back to index