"Fossies" - the Fresh Open Source Software Archive

Member "cb2bib-2.0.1/src/c2bCollectionIndex.h" (12 Feb 2021, 965 Bytes) of package /linux/privat/cb2bib-2.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "c2bCollectionIndex.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 2.0.0_vs_2.0.1.

    1 /***************************************************************************
    2  *   Copyright (C) 2004-2021 by Pere Constans
    3  *   constans@molspaces.com
    4  *   cb2Bib version 2.0.1. Licensed under the GNU GPL version 3.
    5  *   See the LICENSE file that comes with this distribution.
    6  ***************************************************************************/
    7 #ifndef C2BCOLLECTIONINDEX_H
    8 #define C2BCOLLECTIONINDEX_H
    9 
   10 #include "ui_c2bLogWidget.h"
   11 
   12 #include <QDialog>
   13 #include <QProcess>
   14 
   15 
   16 class c2bCollectionIndex : public QDialog
   17 {
   18 
   19     Q_OBJECT
   20 
   21 public:
   22     explicit c2bCollectionIndex(QWidget* parentw = 0);
   23     ~c2bCollectionIndex();
   24 
   25     void index();
   26 
   27 
   28 private slots:
   29     void aborted();
   30     void addToLog();
   31     void help();
   32     void indexingEnded(int exit_code, QProcess::ExitStatus exit_status);
   33     void reject();
   34 
   35 
   36 private:
   37     QProcess* _indexerP;
   38     QPushButton* _buttonAbort;
   39     Ui::c2bLogWidget ui;
   40     void closeEvent(QCloseEvent* qevent);
   41 };
   42 
   43 #endif