~vcs-imports/xdrawchem/1.9.9

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef NETACCESS_H
#define NETACCESS_H

#include <qobject.h>
#include <qnetworkprotocol.h>
#include <qurloperator.h>
#include <qhttp.h>

class QString;
class QStringList;

class NetAccess : public QObject {
  Q_OBJECT
public:
  NetAccess();
  QStringList getChoices(QString, QString, QString, bool);
  QString getFile(QString, QString);
  QString getCanonicalSmiles(QString, QString);
  QString Rearrange(QString);
  bool getNameCAS(QString, QString);
  bool get3DMol(QString);
  bool runBuild3D(QString);
  bool runInChI(QString);
  bool status;
  QString htfile, spccompound, sname, scas, siupacname, s3dmol, fullinchi, 
    shortinchi;
  QUrlOperator *op;
  QHttp hp1;
  QNetworkOperation *op1;

public slots:
  void slotData(const QByteArray &);
  void slotFinished(QNetworkOperation *);
  void rf(bool);
};

#endif