summaryrefslogtreecommitdiffstats
path: root/sampleapptimedate/src/timedateprovider.hpp
blob: 5ff663f065b72dc9b072aeaa50a3d784f4ca8e9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef TIMEDATEPROVIDER_HPP
#define TIMEDATEPROVIDER_HPP

#include <QObject>
#include "statusbar_proxy.h"

class TimeDateProvider : public QObject
{
    Q_OBJECT
public:
    explicit TimeDateProvider(QObject *parent = 0);
    ~TimeDateProvider();
    void start();
    void stop();
protected:
    void timerEvent(QTimerEvent *e);
private:
    int m_secondsTimerId;
    org::agl::statusbar *mp_dBusStatusBarProxy;
    int m_statusBarPlaceholder;
signals:

public slots:

};

#endif // TIMEDATEPROVIDER_HPP