DNSSD
settings.h
Go to the documentation of this file.00001
00002
00003 #ifndef DNSSD_CONFIGURATION_H
00004 #define DNSSD_CONFIGURATION_H
00005
00006 #include <dnssd/dnssd_export.h>
00007
00008 #include <kconfigskeleton.h>
00009 #include <kdebug.h>
00010
00011 namespace DNSSD {
00012
00013 class KDNSSD_EXPORT Configuration : public KConfigSkeleton
00014 {
00015 public:
00016
00017 static Configuration *self();
00018 ~Configuration();
00019
00023 static
00024 void setDomainList( const QStringList & v )
00025 {
00026 if (!self()->isImmutable( QString::fromLatin1 ( "DomainList" ) ))
00027 self()->mDomainList = v;
00028 }
00029
00033 static
00034 QStringList domainList()
00035 {
00036 return self()->mDomainList;
00037 }
00038
00039 protected:
00040 Configuration();
00041 friend class ConfigurationHelper;
00042
00043
00044
00045 QStringList mDomainList;
00046
00047 private:
00048 };
00049
00050 }
00051
00052 #endif
00053