"Fossies" - the Fresh Open Source Software Archive

Member "cb2bib-2.0.1/src/c2bCoreCiter.h" (12 Feb 2021, 929 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 "c2bCoreCiter.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 C2BCORECITER_H
    8 #define C2BCORECITER_H
    9 
   10 #include <QObject>
   11 #include <QWidget>
   12 
   13 
   14 class settings;
   15 
   16 
   17 class c2bCoreCiter : public QObject
   18 {
   19 
   20     Q_OBJECT
   21 
   22 public:
   23     explicit c2bCoreCiter(QWidget* parentw = 0);
   24     ~c2bCoreCiter();
   25 
   26     void cite(const QStringList& keys);
   27 
   28 
   29 public slots:
   30     void setLyXPipe();
   31 
   32 
   33 private:
   34     void _cite_to_clipboard(const QStringList& keys) const;
   35     void _cite_to_lyx_pipe(const QStringList& keys) const;
   36 
   37     QRegExp _citeids;
   38     QString _command;
   39     QString _lyxpipe;
   40     QWidget* _parentWP;
   41     settings* _settingsP;
   42 };
   43 
   44 #endif