summaryrefslogtreecommitdiffstats
path: root/common/resourceaccess.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-04-09 14:00:26 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-04-09 14:00:26 +0200
commit3062983d075761c457249b8c3c1248aa0d45e46a (patch)
tree9ff6d0956d3ad77a53f465eb7897e500edad2b8a /common/resourceaccess.h
parentf10d223559b16c576093eea080dc0d5638ab3323 (diff)
downloadsink-3062983d075761c457249b8c3c1248aa0d45e46a.tar.gz
sink-3062983d075761c457249b8c3c1248aa0d45e46a.zip
Use QByteArray instead of QString
All identifiers should be latin1 and we make this explicit by using QByteArray. QString is reserved for strings that can be UTF-8 or alike.
Diffstat (limited to 'common/resourceaccess.h')
-rw-r--r--common/resourceaccess.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/resourceaccess.h b/common/resourceaccess.h
index a5a2547..088bf36 100644
--- a/common/resourceaccess.h
+++ b/common/resourceaccess.h
@@ -35,10 +35,10 @@ class ResourceAccess : public QObject
35 Q_OBJECT 35 Q_OBJECT
36 36
37public: 37public:
38 ResourceAccess(const QString &resourceName, QObject *parent = 0); 38 ResourceAccess(const QByteArray &resourceName, QObject *parent = 0);
39 ~ResourceAccess(); 39 ~ResourceAccess();
40 40
41 QString resourceName() const; 41 QByteArray resourceName() const;
42 bool isReady() const; 42 bool isReady() const;
43 43
44 Async::Job<void> sendCommand(int commandId); 44 Async::Job<void> sendCommand(int commandId);