~ubuntu-branches/ubuntu/vivid/libusermetrics/vivid

« back to all changes in this revision

Viewing changes to src/libusermetricsoutput/DataSource.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Pete Woods, Ubuntu daily release
  • Date: 2013-07-18 02:04:24 UTC
  • mfrom: (1.1.12)
  • Revision ID: package-import@ubuntu.com-20130718020424-p4kb6xdnb479bwx2
Tags: 1.0.9+13.10.20130718-0ubuntu1
[ Pete Woods ]
* Now will switch to user data for users that acquire data while
  visible

[ Ubuntu daily release ]
* Automatic snapshot from revision 115

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
Q_PROPERTY(QString textDomain READ textDomain WRITE setTextDomain NOTIFY textDomainChanged FINAL)
40
40
 
41
41
public:
42
 
        explicit DataSource(QObject *parent = 0);
 
42
        explicit DataSource(const QString &localeDir = LOCALEDIR, QObject *parent =
 
43
                        0);
43
44
 
44
45
        virtual ~DataSource();
45
46
 
64
65
        void textDomainChanged(const QString &textDomain);
65
66
 
66
67
protected:
 
68
        void updateFormatStringTranslation();
 
69
 
 
70
        void updateEmptyDataStringTranslation();
 
71
 
67
72
        QString m_formatString;
68
73
 
 
74
        QString m_formatStringTr;
 
75
 
69
76
        QString m_emptyDataString;
70
77
 
 
78
        QString m_emptyDataStringTr;
 
79
 
71
80
        QString m_textDomain;
 
81
 
 
82
        QString m_localeDir;
72
83
};
73
84
 
74
85
}