odsstream
Loading...
Searching...
No Matches
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#pragma once
28
29#include <QDebug>
30
31#include <QObject>
32#include <QCoreApplication>
33#include "config.h"
34
35class Ods2Csv : public QObject
36{
37 Q_OBJECT
38
39 private:
40 QCoreApplication *app;
41
42 public:
43 explicit Ods2Csv(QObject *parent = 0);
47 void quit();
48
49 signals:
53 void finished();
54
55 public slots:
60 void run();
61
65 void aboutToQuitApp();
66};
67
Definition ods2csv.h:36
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