alkimia  8.0.3
alkfinancequoteprocess.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright 2004 Ace Jones <acejones@users.sourceforge.net> *
3  * Copyright 2004 Thomas Baumgart <thb@net-bembel.de> *
4  * *
5  * This file is part of libalkimia. *
6  * *
7  * libalkimia is free software; you can redistribute it and/or *
8  * modify it under the terms of the GNU General Public License *
9  * as published by the Free Software Foundation; either version 2.1 of *
10  * the License or (at your option) version 3 or any later version. *
11  * *
12  * libalkimia is distributed in the hope that it will be useful, *
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15  * GNU General Public License for more details. *
16  * *
17  * You should have received a copy of the GNU General Public License *
18  * along with this program. If not, see <http://www.gnu.org/licenses/> *
19  ***************************************************************************/
20 
21 #ifndef ALKFINANCEQUOTEPROCESS_H
22 #define ALKFINANCEQUOTEPROCESS_H
23 
24 #include <alkimia/alk_export.h>
25 
26 #include <KProcess>
27 
36 class ALK_EXPORT AlkFinanceQuoteProcess : public KProcess
37 {
38  Q_OBJECT
39 public:
41  void launch(const QString &scriptPath);
42  bool isFinished() const;
43  const QStringList getSourceList() const;
44  const QString crypticName(const QString &niceName) const;
45  const QString niceName(const QString &crypticName) const;
46 
47 public slots:
48  void slotReceivedDataFromFilter();
49  void slotProcessExited();
50 
51 private:
52  class Private;
53  Private *const d;
54 };
55 
56 #endif // ALKFINANCEQUOTEPROCESS_H