1 | // This file is generated by kconfig_compiler from kcm_kdnssd.kcfg. |
---|---|
2 | // All changes you do to this file will be lost. |
3 | #ifndef DNSSD_CONFIGURATION_H |
4 | #define DNSSD_CONFIGURATION_H |
5 | |
6 | #include <dnssd/dnssd_export.h> |
7 | |
8 | #include <kconfigskeleton.h> |
9 | #include <kdebug.h> |
10 | |
11 | namespace DNSSD { |
12 | |
13 | class KDNSSD_EXPORT Configuration : public KConfigSkeleton |
14 | { |
15 | public: |
16 | |
17 | static Configuration *self(); |
18 | ~Configuration(); |
19 | |
20 | /** |
21 | Set Additional domains for browsing |
22 | */ |
23 | static |
24 | void setDomainList( const QStringList & v ) |
25 | { |
26 | if (!self()->isImmutable( QString::fromLatin1( "DomainList") )) |
27 | self()->mDomainList = v; |
28 | } |
29 | |
30 | /** |
31 | Get Additional domains for browsing |
32 | */ |
33 | static |
34 | QStringList domainList() |
35 | { |
36 | return self()->mDomainList; |
37 | } |
38 | |
39 | protected: |
40 | Configuration(); |
41 | friend class ConfigurationHelper; |
42 | |
43 | |
44 | // browsing |
45 | QStringList mDomainList; |
46 | |
47 | private: |
48 | }; |
49 | |
50 | } |
51 | |
52 | #endif |
53 | |
54 |