source: trunk/doc/src/snippets/signalmapper/filereader.h@ 5

Last change on this file since 5 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 481 bytes
Line 
1#ifndef FILEREADER_H
2#define FILEREADER_H
3
4#include <QTextEdit>
5#include <QPushButton>
6#include <QSignalMapper>
7
8class FileReader : public QWidget
9{
10 Q_OBJECT
11
12public:
13 FileReader(QWidget *parent=0);
14 void readFromFile(QString filename);
15
16public slots:
17 void readFile(const QString &);
18
19private:
20 QTextEdit *textEdit;
21 QPushButton *taxFileButton;
22 QPushButton *accountFileButton;
23 QPushButton *reportFileButton;
24 QSignalMapper *signalMapper;
25};
26
27#endif
28
Note: See TracBrowser for help on using the repository browser.