Changeset 0a0c93e in subsurface for mobile-widgets/qmlmanager.h


Ignore:
Timestamp:
Jul 9, 2017, 6:08:06 PM (5 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
dbb5826
Parents:
ff65939
Message:

QML UI: add variable for libdc logfile

It seemed cleanest and easiest to have this in the QMLManager and
not in the DCDownload object.

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mobile-widgets/qmlmanager.h

    rc59a740 r0a0c93e  
    4242        Q_PROPERTY(bool showPin READ showPin WRITE setShowPin NOTIFY showPinChanged)
    4343        Q_PROPERTY(QString progressMessage READ progressMessage WRITE setProgressMessage NOTIFY progressMessageChanged)
     44        Q_PROPERTY(bool libdcLog READ libdcLog WRITE setLibdcLog NOTIFY libdcLogChanged)
    4445
    4546public:
     
    115116        QString progressMessage() const;
    116117        void setProgressMessage(QString text);
     118
     119        bool libdcLog() const;
     120        void setLibdcLog(bool value);
    117121
    118122        typedef void (QMLManager::*execute_function_type)();
     
    212216        DCDeviceData *m_device_data;
    213217        QString m_progressMessage;
     218        bool m_libdcLog;
    214219#if defined(Q_OS_ANDROID)
    215220        QString appLogFileName;
     
    240245        void sendScreenChanged(QScreen *screen);
    241246        void progressMessageChanged();
     247        void libdcLogChanged();
    242248};
    243249
Note: See TracChangeset for help on using the changeset viewer.