Quark  0.1
GCloudBucket.h++
Go to the documentation of this file.
1 #ifndef __libquark_gcloud_GCloudBucket_hxx
2 #define __libquark_gcloud_GCloudBucket_hxx
3 
4 #include <QSharedDataPointer>
5 #include <QString>
6 #include <QUrl>
7 
8 namespace quark {
9 namespace gcloud {
10 
11 class GCloudStorage;
12 
13 class GCloudBucketPrivateData;
14 
16 {
17  friend class GCloudStorage;
18 
19  public:
20 
21  GCloudBucket(const GCloudBucket &other);
22  virtual ~GCloudBucket();
23 
24  GCloudBucket& operator=(const GCloudBucket &other);
25 
26  QString id() const;
27  long projectNumber() const;
28  QString name() const;
29  qint64 createTime() const;
30  QUrl selfLink() const;
31 
32  private:
33 
34  GCloudBucket();
35 
36  void setId(const QString &id);
37  void setProjectNumber(long projectNumber);
38  void setName(const QString &name);
39  void setCreateTime(const qint64 &createTime);
40  void setSelfLink(const QUrl &downloadUrl);
41 
42  QSharedDataPointer<GCloudBucketPrivateData> _privateData;
43 };
44 
45 } // namespace gcloud
46 } // namespace quark
47 
48 #endif // __libquark_gcloud_GCloudBucket_hxx
GCloudBucket & operator=(const GCloudBucket &other)
Definition: GCloudBucket.h++:15
Definition: BarChartView.h++:6
Definition: GCloudStorage.h++:21