123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- #ifndef DOWNLOAD_DATA_H
- #define DOWNLOAD_DATA_H
- #include <QObject>
- #include <QString>
- #include <QStringList>
- #include <QDebug>
- class Download_data : public QObject
- {
- Q_OBJECT
- public:
- explicit Download_data(QObject *parent = 0);
- Q_INVOKABLE void split_data(QString qml_data);
- Q_INVOKABLE QString getProprietaire() const { return str_proprietaire; }
- Q_INVOKABLE QString getEntreConso() const { return str_entreConso; }
- Q_INVOKABLE QString getLigneDetail() const { qDebug() << str_infoLigne.trimmed().simplified(); return str_infoLigne; }
- Q_INVOKABLE QString getVoixConso() const { return str_Voixconso; }
- Q_INVOKABLE QString getVoixHors() const { return str_VoixHors; }
- Q_INVOKABLE QString getVoixSpec() const { return str_voixSpeciaux; }
- Q_INVOKABLE QString getSmsHors() const { return str_smsHors; }
- Q_INVOKABLE QString getSms() const { return str_smsHors; }
- Q_INVOKABLE QString getMMS() const { return str_mms; }
- Q_INVOKABLE QString getMMSHors() const { return str_mmsHors; }
- Q_INVOKABLE QString getData() const { return str_data; }
- Q_INVOKABLE QString getDataHors() const { return str_dataHors; }
- Q_INVOKABLE QString getVoixInt() const { return str_intVoixconso; }
- Q_INVOKABLE bool check(QString qml_data);
- private:
- QString list_to_str(QStringList list_a_convert);
- void setProprietaire(QString qml_data);
- void setInfoConso(QString qml_data);
- void setLigneDetail(QString qml_data);
- void setEntreConso(QString qml_data);
- /**************** VOIX **************/
- void setVoixConso(QString qml_data);
- void setVoixHors(QString qml_data);
- void setVoixSpec(QString qml_data);
- /************* SMS *****************/
- void setSMS(QString qml_data);
- void setSMSHors(QString qml_data);
- /************** MMS ******************/
- void setMMS(QString qml_data);
- void setMMSHors(QString qml_data);
- /*************** DATA *****************/
- void setData(QString qml_data);
- void setDataHors(QString qml_data);
- /********************************* INTERNATIONAL *************/
- /**************** VOIX **************/
- void setintVoixConso(QString qml_data);
- void setintVoixHors(QString qml_data);
- void setintVoixSpec(QString qml_data);
- /************* SMS *****************/
- void setintSMS(QString qml_data);
- void setintSMSHors(QString qml_data);
- /************** MMS ******************/
- void setintMMS(QString qml_data);
- void setintMMSHors(QString qml_data);
- /*************** DATA *****************/
- void setintData(QString qml_data);
- void setintDataHors(QString qml_data);
- //void setConsoTemps(QString qml_data);
- private:
- QString str_proprietaire;
- QString str_infoLigne;
- QString str_entreConso;
- QString str_Voixconso;
- QString str_VoixHors;
- QString str_voixSpeciaux;
- QString str_sms;
- QString str_smsHors;
- QString str_mms;
- QString str_mmsHors;
- QString str_data;
- QString str_dataHors;
- /**************** INTERNATIONAL *************/
- QString str_intVoixconso;
- QString str_intVoixHors;
- QString str_intvoixSpeciaux;
- QString str_intSms;
- QString str_intSmsHors;
- QString str_intMms;
- QString str_intMmsHors;
- QString str_intData;
- QString str_intDataHors;
- signals:
-
- public slots:
-
- };
- #endif // DOWNLOAD_DATA_H
|