Mercurial > hg > sonic-visualiser
comparison main/Surveyer.h @ 333:faff9cd8f663
* Offer the user a chance to answer our survey (only once, and only after
several runs of the program, and only if the survey is known to be live on
the website)
author | Chris Cannam |
---|---|
date | Thu, 27 Aug 2009 16:31:45 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
332:b168df820681 | 333:faff9cd8f663 |
---|---|
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ | |
2 | |
3 /* | |
4 Sonic Visualiser | |
5 An audio file viewer and annotation editor. | |
6 Centre for Digital Music, Queen Mary, University of London. | |
7 | |
8 This program is free software; you can redistribute it and/or | |
9 modify it under the terms of the GNU General Public License as | |
10 published by the Free Software Foundation; either version 2 of the | |
11 License, or (at your option) any later version. See the file | |
12 COPYING included with this distribution for more information. | |
13 */ | |
14 | |
15 /* | |
16 This is a modified version of a source file from the | |
17 Rosegarden MIDI and audio sequencer and notation editor. | |
18 This file copyright 2000-2009 Chris Cannam. | |
19 */ | |
20 | |
21 #ifndef _SURVEYER_H_ | |
22 #define _SURVEYER_H_ | |
23 | |
24 #include <QStringList> | |
25 #include <QString> | |
26 #include <QObject> | |
27 | |
28 class QHttpResponseHeader; | |
29 | |
30 class Surveyer : public QObject | |
31 { | |
32 Q_OBJECT | |
33 | |
34 public: | |
35 Surveyer(QObject *parent = 0); | |
36 virtual ~Surveyer(); | |
37 | |
38 protected slots: | |
39 void httpResponseHeaderReceived(const QHttpResponseHeader &); | |
40 void httpDone(bool); | |
41 | |
42 private: | |
43 bool m_httpFailed; | |
44 }; | |
45 | |
46 #endif | |
47 |