|
|
@ -22,6 +22,10 @@ class CORESHARED_EXPORT GlobalSettings : public QObject
|
|
|
|
Q_PROPERTY(QDecDouble vatHigh READ vatHigh WRITE setVatHigh)
|
|
|
|
Q_PROPERTY(QDecDouble vatHigh READ vatHigh WRITE setVatHigh)
|
|
|
|
Q_PROPERTY(QDecDouble vatFirstLower READ vatFirstLower WRITE setVatFirstLower)
|
|
|
|
Q_PROPERTY(QDecDouble vatFirstLower READ vatFirstLower WRITE setVatFirstLower)
|
|
|
|
Q_PROPERTY(QDecDouble vatSecondLower READ vatSecondLower WRITE setVatSecondLower)
|
|
|
|
Q_PROPERTY(QDecDouble vatSecondLower READ vatSecondLower WRITE setVatSecondLower)
|
|
|
|
|
|
|
|
Q_PROPERTY(QString email READ email WRITE setEmail)
|
|
|
|
|
|
|
|
Q_PROPERTY(QString web READ web WRITE setWeb)
|
|
|
|
|
|
|
|
Q_PROPERTY(QString phone READ phone WRITE setPhone)
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
explicit GlobalSettings(QObject *parent = 0);
|
|
|
|
explicit GlobalSettings(QObject *parent = 0);
|
|
|
|
|
|
|
|
|
|
|
@ -61,6 +65,15 @@ public:
|
|
|
|
QDecDouble vatSecondLower() const;
|
|
|
|
QDecDouble vatSecondLower() const;
|
|
|
|
void setVatSecondLower(QDecDouble vatSecondLower);
|
|
|
|
void setVatSecondLower(QDecDouble vatSecondLower);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QString email() const;
|
|
|
|
|
|
|
|
void setEmail(const QString &email);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QString web() const;
|
|
|
|
|
|
|
|
void setWeb(const QString &web);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QString phone() const;
|
|
|
|
|
|
|
|
void setPhone(const QString &phone);
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
QString m_firmName;
|
|
|
|
QString m_firmName;
|
|
|
|
QString m_street;
|
|
|
|
QString m_street;
|
|
|
@ -74,6 +87,9 @@ private:
|
|
|
|
int m_vatHigh;
|
|
|
|
int m_vatHigh;
|
|
|
|
int m_vatFirstLower;
|
|
|
|
int m_vatFirstLower;
|
|
|
|
int m_vatSecondLower;
|
|
|
|
int m_vatSecondLower;
|
|
|
|
|
|
|
|
QString m_email;
|
|
|
|
|
|
|
|
QString m_web;
|
|
|
|
|
|
|
|
QString m_phone;
|
|
|
|
|
|
|
|
|
|
|
|
signals:
|
|
|
|
signals:
|
|
|
|
|
|
|
|
|
|
|
|