Changeset View
Changeset View
Standalone View
Standalone View
src/downloaddescription.h
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | 37 | public: | |||
---|---|---|---|---|---|
78 | Q_DECL_DEPRECATED QString gpgFingerprint(); | 78 | Q_DECL_DEPRECATED QString gpgFingerprint(); | ||
79 | QString gpgFingerprint() const; | 79 | QString gpgFingerprint() const; | ||
80 | Q_DECL_DEPRECATED QString gpgSignature(); | 80 | Q_DECL_DEPRECATED QString gpgSignature(); | ||
81 | QString gpgSignature() const; | 81 | QString gpgSignature() const; | ||
82 | Q_DECL_DEPRECATED QString packageName(); | 82 | Q_DECL_DEPRECATED QString packageName(); | ||
83 | QString packageName() const; | 83 | QString packageName() const; | ||
84 | Q_DECL_DEPRECATED QString repository(); | 84 | Q_DECL_DEPRECATED QString repository(); | ||
85 | QString repository() const; | 85 | QString repository() const; | ||
86 | /** | ||||
87 | * Get the list of tags for this download description | ||||
88 | * @since 5.50 | ||||
89 | */ | ||||
90 | QStringList tags() const; | ||||
86 | 91 | | |||
87 | void setId(int id); | 92 | void setId(int id); | ||
88 | void setType(Attica::DownloadDescription::Type type); | 93 | void setType(Attica::DownloadDescription::Type type); | ||
89 | Q_DECL_DEPRECATED void setDownloadtypLink(bool isLink); | 94 | Q_DECL_DEPRECATED void setDownloadtypLink(bool isLink); | ||
90 | void setHasPrice(bool hasPrice); | 95 | void setHasPrice(bool hasPrice); | ||
91 | void setCategory(const QString &category); | 96 | void setCategory(const QString &category); | ||
92 | void setName(const QString &name); | 97 | void setName(const QString &name); | ||
93 | void setLink(const QString &link); | 98 | void setLink(const QString &link); | ||
94 | void setDistributionType(const QString &distributionType); | 99 | void setDistributionType(const QString &distributionType); | ||
95 | void setPriceReason(const QString &priceReason); | 100 | void setPriceReason(const QString &priceReason); | ||
96 | void setPriceAmount(const QString &priceAmount); | 101 | void setPriceAmount(const QString &priceAmount); | ||
97 | void setSize(uint size); | 102 | void setSize(uint size); | ||
98 | void setGpgFingerprint(const QString &fingerprint); | 103 | void setGpgFingerprint(const QString &fingerprint); | ||
99 | void setGpgSignature(const QString &signature); | 104 | void setGpgSignature(const QString &signature); | ||
100 | void setPackageName(const QString &packageName); | 105 | void setPackageName(const QString &packageName); | ||
101 | void setRepository(const QString &repository); | 106 | void setRepository(const QString &repository); | ||
107 | /** | ||||
108 | * Set the list of tags for this download description | ||||
109 | * @since 5.50 | ||||
110 | */ | ||||
111 | void setTags(const QStringList &tags); | ||||
102 | 112 | | |||
103 | private: | 113 | private: | ||
104 | class Private; | 114 | class Private; | ||
105 | QSharedDataPointer<Private> d; | 115 | QSharedDataPointer<Private> d; | ||
106 | }; | 116 | }; | ||
107 | 117 | | |||
108 | } | 118 | } | ||
109 | 119 | | |||
110 | #endif // DOWNLOADDESCRIPTION_H | 120 | #endif // DOWNLOADDESCRIPTION_H |