summaryrefslogtreecommitdiff
path: root/libresourceqt/include/qt4/policy/resources.h
diff options
context:
space:
mode:
authorWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-02-11 11:21:01 +0200
committerWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-02-11 11:21:01 +0200
commit346a7524047a1aa1ec64810abb8b0243ae90c3bb (patch)
treeff122182776b0a08bea4e5074d39ed3cd9a76416 /libresourceqt/include/qt4/policy/resources.h
parent7fc9e4c25b87945487723e594bb5320bd253526f (diff)
downloadlibresourceqt-346a7524047a1aa1ec64810abb8b0243ae90c3bb.tar.gz
astyled the code
Diffstat (limited to 'libresourceqt/include/qt4/policy/resources.h')
-rw-r--r--libresourceqt/include/qt4/policy/resources.h319
1 files changed, 160 insertions, 159 deletions
diff --git a/libresourceqt/include/qt4/policy/resources.h b/libresourceqt/include/qt4/policy/resources.h
index 47002d7..f00cc2e 100644
--- a/libresourceqt/include/qt4/policy/resources.h
+++ b/libresourceqt/include/qt4/policy/resources.h
@@ -5,165 +5,166 @@
#include <QObject>
#include <QString>
-namespace ResourcePolicy {
-
- class AudioResource: public Resource
- {
- public:
- AudioResource(const QString &audioGroup=QString());
- AudioResource(const AudioResource &other);
- virtual ~AudioResource();
-
- QString audioGroup() const;
- void setAudioGroup(const QString & newGroup);
-
- quint32 processID() const;
- void setProcessID(quint32 newPID);
-
- QString streamTag() const;
- void setStreamTag(const QString & newStreamTag);
-
- virtual ResourceType type() const;
- virtual Resource * clone() const;
- private:
- QString group;
- quint32 pid;
- QString stream;
- };
-
- class AudioRecorderResource: public Resource
- {
- public:
- AudioRecorderResource(const QString & audioGroup=QString());
- AudioRecorderResource(const AudioRecorderResource &other);
- virtual ~AudioRecorderResource();
-
- QString audioGroup() const;
- void setAudioGroup(const QString & newGroup);
-
- quint32 processID() const;
- void setProcessID(quint32 newPID);
-
- QString streamTag() const;
- void setStreamTag(const QString & newStreamTag);
-
- virtual ResourceType type() const;
- virtual Resource * clone() const;
- private:
- QString group;
- quint32 pid;
- QString stream;
- };
-
- class BacklightResource: public Resource
- {
- public:
- BacklightResource();
- BacklightResource(const BacklightResource &other);
- virtual ~BacklightResource();
-
- virtual ResourceType type() const;
- virtual Resource * clone() const;
- };
-
- class LedsResource: public Resource
- {
- public:
- LedsResource();
- LedsResource(const LedsResource &other);
- virtual ~LedsResource();
-
- virtual ResourceType type() const;
- virtual Resource * clone() const;
- };
-
- class VibraResource: public Resource
- {
- public:
- VibraResource();
- VibraResource(const VibraResource &other);
- virtual ~VibraResource();
-
- virtual ResourceType type() const;
- virtual Resource * clone() const;
- };
-
- class VideoRecorderResource: public Resource
- {
- public:
- VideoRecorderResource();
- VideoRecorderResource(const VideoRecorderResource &other);
- virtual ~VideoRecorderResource();
-
- virtual ResourceType type() const;
- virtual Resource * clone() const;
- };
-
- class VideoResource: public Resource
- {
- public:
- VideoResource();
- VideoResource(const VideoResource &other);
- virtual ~VideoResource();
-
- virtual ResourceType type() const;
- virtual Resource * clone() const;
- };
-
- class SystemButtonResource: public Resource
- {
- public:
- SystemButtonResource();
- SystemButtonResource(const SystemButtonResource &other);
- virtual ~SystemButtonResource();
-
- virtual ResourceType type() const;
- virtual Resource * clone() const;
- };
-
- class LockButtonResource: public Resource
- {
- public:
- LockButtonResource();
- LockButtonResource(const LockButtonResource &other);
- virtual ~LockButtonResource();
-
- virtual ResourceType type() const;
- virtual Resource * clone() const;
- };
-
- class ScaleButtonResource: public Resource
- {
- public:
- ScaleButtonResource();
- ScaleButtonResource(const ScaleButtonResource &other);
- virtual ~ScaleButtonResource();
-
- virtual ResourceType type() const;
- virtual Resource * clone() const;
- };
-
- class SnapButtonResource: public Resource
- {
- public:
- SnapButtonResource();
- SnapButtonResource(const SnapButtonResource &other);
- virtual ~SnapButtonResource();
-
- virtual ResourceType type() const;
- virtual Resource * clone() const;
- };
-
- class LensCoverResource: public Resource
- {
- public:
- LensCoverResource();
- LensCoverResource(const LensCoverResource &other);
- virtual ~LensCoverResource();
-
- virtual ResourceType type() const;
- virtual Resource * clone() const;
- };
+namespace ResourcePolicy
+{
+
+class AudioResource: public Resource
+{
+public:
+ AudioResource(const QString &audioGroup = QString());
+ AudioResource(const AudioResource &other);
+ virtual ~AudioResource();
+
+ QString audioGroup() const;
+ void setAudioGroup(const QString & newGroup);
+
+ quint32 processID() const;
+ void setProcessID(quint32 newPID);
+
+ QString streamTag() const;
+ void setStreamTag(const QString & newStreamTag);
+
+ virtual ResourceType type() const;
+ virtual Resource * clone() const;
+private:
+ QString group;
+ quint32 pid;
+ QString stream;
+};
+
+class AudioRecorderResource: public Resource
+{
+public:
+ AudioRecorderResource(const QString & audioGroup = QString());
+ AudioRecorderResource(const AudioRecorderResource &other);
+ virtual ~AudioRecorderResource();
+
+ QString audioGroup() const;
+ void setAudioGroup(const QString & newGroup);
+
+ quint32 processID() const;
+ void setProcessID(quint32 newPID);
+
+ QString streamTag() const;
+ void setStreamTag(const QString & newStreamTag);
+
+ virtual ResourceType type() const;
+ virtual Resource * clone() const;
+private:
+ QString group;
+ quint32 pid;
+ QString stream;
+};
+
+class BacklightResource: public Resource
+{
+public:
+ BacklightResource();
+ BacklightResource(const BacklightResource &other);
+ virtual ~BacklightResource();
+
+ virtual ResourceType type() const;
+ virtual Resource * clone() const;
+};
+
+class LedsResource: public Resource
+{
+public:
+ LedsResource();
+ LedsResource(const LedsResource &other);
+ virtual ~LedsResource();
+
+ virtual ResourceType type() const;
+ virtual Resource * clone() const;
+};
+
+class VibraResource: public Resource
+{
+public:
+ VibraResource();
+ VibraResource(const VibraResource &other);
+ virtual ~VibraResource();
+
+ virtual ResourceType type() const;
+ virtual Resource * clone() const;
+};
+
+class VideoRecorderResource: public Resource
+{
+public:
+ VideoRecorderResource();
+ VideoRecorderResource(const VideoRecorderResource &other);
+ virtual ~VideoRecorderResource();
+
+ virtual ResourceType type() const;
+ virtual Resource * clone() const;
+};
+
+class VideoResource: public Resource
+{
+public:
+ VideoResource();
+ VideoResource(const VideoResource &other);
+ virtual ~VideoResource();
+
+ virtual ResourceType type() const;
+ virtual Resource * clone() const;
+};
+
+class SystemButtonResource: public Resource
+{
+public:
+ SystemButtonResource();
+ SystemButtonResource(const SystemButtonResource &other);
+ virtual ~SystemButtonResource();
+
+ virtual ResourceType type() const;
+ virtual Resource * clone() const;
+};
+
+class LockButtonResource: public Resource
+{
+public:
+ LockButtonResource();
+ LockButtonResource(const LockButtonResource &other);
+ virtual ~LockButtonResource();
+
+ virtual ResourceType type() const;
+ virtual Resource * clone() const;
+};
+
+class ScaleButtonResource: public Resource
+{
+public:
+ ScaleButtonResource();
+ ScaleButtonResource(const ScaleButtonResource &other);
+ virtual ~ScaleButtonResource();
+
+ virtual ResourceType type() const;
+ virtual Resource * clone() const;
+};
+
+class SnapButtonResource: public Resource
+{
+public:
+ SnapButtonResource();
+ SnapButtonResource(const SnapButtonResource &other);
+ virtual ~SnapButtonResource();
+
+ virtual ResourceType type() const;
+ virtual Resource * clone() const;
+};
+
+class LensCoverResource: public Resource
+{
+public:
+ LensCoverResource();
+ LensCoverResource(const LensCoverResource &other);
+ virtual ~LensCoverResource();
+
+ virtual ResourceType type() const;
+ virtual Resource * clone() const;
+};
}
#endif