- Main Page
- Classes
- Files

- File List

# qaugmentedrealitycameradelegate.h

    00001 #ifndef QAUGMENTEDREALITYCAMERADELEGATE_H
    00002 #define QAUGMENTEDREALITYCAMERADELEGATE_H
    00003
    00004 #include <QtDeclarative>
    00005 #include "qdll_global.h"
    00006
    00007 class QDLLSHARED_EXPORT QAugmentedRealityCameraDelegate : public QDeclarativeComponent
    00008 {
    00009     Q_OBJECT
    00010     Q_CLASSINFO("Author", "Sebastiano Galazzo")
    00011     Q_CLASSINFO("Email", "sebastiano.galazzo@gmail.com")
    00012
    00013     Q_PROPERTY(float latitude  READ latitude WRITE setLatitude)
    00014     Q_PROPERTY(float longitude READ longitude WRITE setLongitude)
    00015     Q_PROPERTY(QString message READ message WRITE setMessage)
    00016     Q_PROPERTY(QString infoBox READ infoBox WRITE setInfoBox)
    00017     Q_PROPERTY(QString source READ source WRITE setSource)
    00018
    00019 public:
    00020     QAugmentedRealityCameraDelegate();
    00021     QAugmentedRealityCameraDelegate( QDeclarativeEngine * engine, QObject * parent = 0 );
    00022     QAugmentedRealityCameraDelegate( QDeclarativeEngine * engine, const QString & fileName, QObject * parent = 0 );
    00023     QAugmentedRealityCameraDelegate( QDeclarativeEngine * engine, const QUrl & url, QObject * parent = 0 );
    00024
    00025     float latitude() const;
    00026     float longitude() const;
    00027     QString message() const;
    00028     QString infoBox() const;
    00029     QString source() const;
    00030
    00031     void setLatitude(float value );
    00032     void setLongitude(float value );
    00033     void setMessage(QString message );
    00034     void setInfoBox(QString infoBox );
    00035     void setSource(QString source );
    00036
    00037 private:
    00038     float m_latitude;
    00039     float m_longitude;
    00040     QString m_message;
    00041     QString m_infobox;
    00042     QString m_source;
    00043 };
    00044
    00045 #endif // QAUGMENTEDREALITYCAMERADELEGATE_H

All Classes Functions