• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

DNSSD

settings.cpp

Go to the documentation of this file.
00001 // This file is generated by kconfig_compiler from kcm_kdnssd.kcfg.
00002 // All changes you do to this file will be lost.
00003 
00004 #include "settings.h"
00005 
00006 #include <kglobal.h>
00007 #include <QtCore/QFile>
00008 
00009 using namespace DNSSD;
00010 
00011 namespace DNSSD {
00012 class ConfigurationHelper
00013 {
00014   public:
00015     ConfigurationHelper() : q(0) {}
00016     ~ConfigurationHelper() { delete q; }
00017     Configuration *q;
00018 };
00019 }
00020 K_GLOBAL_STATIC(ConfigurationHelper, s_globalConfiguration)
00021 Configuration *Configuration::self()
00022 {
00023   if (!s_globalConfiguration->q) {
00024     new Configuration;
00025     s_globalConfiguration->q->readConfig();
00026   }
00027 
00028   return s_globalConfiguration->q;
00029 }
00030 
00031 Configuration::Configuration(  )
00032   : KConfigSkeleton( QLatin1String( "kdnssdrc" ) )
00033 {
00034   Q_ASSERT(!s_globalConfiguration->q);
00035   s_globalConfiguration->q = this;
00036   setCurrentGroup( QLatin1String( "browsing" ) );
00037 
00038   KConfigSkeleton::ItemStringList  *itemDomainList;
00039   itemDomainList = new KConfigSkeleton::ItemStringList( currentGroup(), QLatin1String( "DomainList" ), mDomainList );
00040   addItem( itemDomainList, QLatin1String( "DomainList" ) );
00041 }
00042 
00043 Configuration::~Configuration()
00044 {
00045 }
00046 

DNSSD

Skip menu "DNSSD"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal