47 HbDeviceProfile(); |
47 HbDeviceProfile(); |
48 HbDeviceProfile(const HbDeviceProfile &other); |
48 HbDeviceProfile(const HbDeviceProfile &other); |
49 explicit HbDeviceProfile(const QString &name); |
49 explicit HbDeviceProfile(const QString &name); |
50 ~HbDeviceProfile(); |
50 ~HbDeviceProfile(); |
51 |
51 |
52 HbDeviceProfile &operator=(const HbDeviceProfile &other); |
52 HbDeviceProfile &operator=(const HbDeviceProfile &other); |
53 |
53 |
54 bool isNull() const; |
54 bool isNull() const; |
55 |
55 |
56 QString name() const; |
56 QString name() const; |
57 QSize logicalSize() const; |
57 QSize logicalSize() const; |
58 QSizeF physicalSize() const; |
58 QSizeF physicalSize() const; |
59 QString alternateProfileName() const; |
59 QString alternateProfileName() const; |
60 bool touch() const; |
60 bool touch() const; |
61 |
61 |
62 Qt::Orientation orientation() const; |
62 Qt::Orientation orientation() const; |
63 qreal orientationAngle() const; |
63 qreal orientationAngle() const; |
64 qreal unitValue() const; |
64 qreal unitValue() const; |
65 qreal ppmValue() const; |
65 qreal ppmValue() const; |
66 |
66 |
67 static HbDeviceProfile current(); |
67 static HbDeviceProfile current(); |
68 static HbDeviceProfile profile(const HbMainWindow *window); |
68 static HbDeviceProfile profile(const HbMainWindow *window); |
69 static HbDeviceProfile profile(const QGraphicsItem *item); |
69 static HbDeviceProfile profile(const QGraphicsItem *item); |
70 |
70 |
71 static QStringList profileNames(); |
71 static QStringList profileNames(); |
72 protected: |
72 protected: |
73 QSharedDataPointer<HbDeviceProfilePrivate> d_ptr; |
73 QSharedDataPointer<HbDeviceProfilePrivate> d_ptr; |
74 }; |
74 }; |
75 |
75 |
76 #endif // HBDEVICEPROFILE_H |
76 #endif // HBDEVICEPROFILE_H |