odsstream
ods2csv.h
Go to the documentation of this file.
1/*
2 libodsstream is a library to read and write ODS documents as streams
3 Copyright (C) 2017 Olivier Langella <Olivier.Langella@moulon.inra.fr>
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18*/
27#ifndef ODS2CSV_H
28#define ODS2CSV_H
29
30#include <QDebug>
31
32#include <QObject>
33#include <QCoreApplication>
34#include "config.h"
35
36class Ods2Csv : public QObject
37{
38 Q_OBJECT
39
40 private:
41 QCoreApplication *app;
42
43 public:
44 explicit Ods2Csv(QObject *parent = 0);
48 void quit();
49
50 signals:
54 void finished();
55
56 public slots:
61 void run();
62
66 void aboutToQuitApp();
67};
68
69#endif // ODS2CSV_H
Definition: ods2csv.h:37
void finished()
Signal to finish, this is connected to Application Quit.
void quit()
Call this to quit application.
Definition: ods2csv.cpp:368
void aboutToQuitApp()
slot that get signal when that application is about to quit
Definition: ods2csv.cpp:379
void run()
Definition: ods2csv.cpp:209