BiblioteQ: Source/biblioteq_generic_thread.h Source File

BiblioteQ

biblioteq_generic_thread.h
1 #ifndef _BIBLIOTEQ_GENERIC_THREAD_H_
2 #define _BIBLIOTEQ_GENERIC_THREAD_H_
3
4 #include <QStringList>
5 #include <QThread>
6
7 class biblioteq;
8
9 class biblioteq_generic_thread: public QThread
10 {
11 Q_OBJECT
12
13 public:
14 static const int READ_GLOBAL_CONFIG_FILE = 200;
15 static const int Z3950_QUERY = 300;
16
17 biblioteq_generic_thread(QObject *parent, biblioteq *biblioteq);
18 ~biblioteq_generic_thread();
19 QString getEType(void) const;
20 QString getErrorStr(void) const;
21 QStringList getList(void) const;
22 QStringList getZ3950Results(void) const;
23 void msleep(const unsigned long);
24 void run(void);
25 void setFilename(const QString &filename);
26 void setOutputList(const QList<bool> &list);
27 void setType(const int type);
28 void setZ3950Name(const QString &name);
29 void setZ3950SearchString(const QString &z3950SearchStr);
30
31 private:
32 QList<bool> m_outputListBool;
33 QString m_eType;
34 QString m_errorStr;
35 QString m_filename;
36 QString m_z3950Name;
37 QString m_z3950SearchStr;
38 QStringList m_list;
39 QStringList m_z3950Results;
40 biblioteq *qmain;
41 int m_type;
42 };
43
44 #endif
biblioteq_generic_thread
Definition: biblioteq_generic_thread.h:9
biblioteq
Definition: biblioteq.h:179