summaryrefslogtreecommitdiff
path: root/libresourceqt/include/qt4
diff options
context:
space:
mode:
Diffstat (limited to 'libresourceqt/include/qt4')
-rw-r--r--libresourceqt/include/qt4/policy/audio-resource.h13
-rw-r--r--libresourceqt/include/qt4/policy/resource-set.h6
2 files changed, 11 insertions, 8 deletions
diff --git a/libresourceqt/include/qt4/policy/audio-resource.h b/libresourceqt/include/qt4/policy/audio-resource.h
index 1736fdb..1ba5f5a 100644
--- a/libresourceqt/include/qt4/policy/audio-resource.h
+++ b/libresourceqt/include/qt4/policy/audio-resource.h
@@ -17,26 +17,29 @@ public:
virtual ~AudioResource();
QString audioGroup() const;
+ bool audioGroupIsSet() const;
void setAudioGroup(const QString & newGroup);
quint32 processID() const;
void setProcessID(quint32 newPID);
- QString streamTag() const;
- void setStreamTag(const QString & newStreamTag);
+ QString streamTagName() const;
+ QString streamTagValue() const;
+ bool streamTagIsSet() const;
+ void setStreamTag(const QString &name, const QString &value);
virtual ResourceType type() const;
virtual Resource * clone() const;
private:
QString group;
quint32 pid;
- QString stream;
+ QString streamName;
+ QString streamValue;
signals:
void pidChanged(quint32 newPid);
void audioGroupChanged(const QString &newGroup);
- void streamTagChanged(const QString &newTag);
+ void streamTagChanged(const QString &name, const QString &value);
};
}
#endif
-
diff --git a/libresourceqt/include/qt4/policy/resource-set.h b/libresourceqt/include/qt4/policy/resource-set.h
index 8f0c7a6..fff63d1 100644
--- a/libresourceqt/include/qt4/policy/resource-set.h
+++ b/libresourceqt/include/qt4/policy/resource-set.h
@@ -34,7 +34,7 @@
* resources->addResource(videoResource);
* \endcode
* The resource set now has control over the Resource object pointers. You can
- * drop them, but should NOT delete them. Instead call the ResourcePolicy::ResourceSet::deleteResource()
+ * drop them, but should NOT delete them. Instead call the ResourcePolicy::ResourceSet::deleteResource()
* method. Then when you want to acquire the \ref ResourcePolicy::ResourceSet
* you simply use the \ref ResourcePolicy::ResourceSetacquire() method, like this:
* \code
@@ -229,7 +229,7 @@ private:
bool pendingAudioGroup;
bool pendingAudioStream;
bool pendingAudioPid;
-
+
private slots:
void connectedHandler();
void handleGranted(quint32);
@@ -240,7 +240,7 @@ private slots:
void handleAudioPidChange(quint32 newPid);
void handleAudioGroupChange(const QString &newGroup);
- void handleAudioStreamTagChanged(const QString &newGroup);
+ void handleAudioStreamTagChanged(const QString &name, const QString &value);
};
}