libkcddb
configbase.cpp
Go to the documentation of this file.
57 d->itemHostname = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "hostname" ), d->hostname, QLatin1String( "freedb.freedb.org" ) );
59 d->itemPort = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "port" ), d->port, 80 );
61 d->itemMusicBrainzLookupEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "MusicBrainzLookupEnabled" ), d->musicBrainzLookupEnabled, true );
63 d->itemFreedbLookupEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "FreedbLookupEnabled" ), d->freedbLookupEnabled, true );
65 d->itemCacheLookupEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "CacheLookupEnabled" ), d->cacheLookupEnabled, true );
78 d->itemFreedbLookupTransport = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "FreedbLookupTransport" ), d->freedbLookupTransport, valuesFreedbLookupTransport, EnumFreedbLookupTransport::HTTP );
80 d->itemCacheLocations = new KConfigSkeleton::ItemPathList( currentGroup(), QLatin1String( "cacheLocations" ), d->cacheLocations, QStringList(QDir::homePath()+QLatin1String("/.cddb/")) );
96 d->itemFreedbSubmitTransport = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "FreedbSubmitTransport" ), d->freedbSubmitTransport, valuesFreedbSubmitTransport, EnumFreedbSubmitTransport::HTTP );
98 d->itemEmailAddress = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "emailAddress" ), d->emailAddress );
100 d->itemHttpSubmitServer = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "httpSubmitServer" ), d->httpSubmitServer, QLatin1String( "freedb.freedb.org" ) );
102 d->itemHttpSubmitPort = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "httpSubmitPort" ), d->httpSubmitPort, 80 );
104 d->itemSmtpPort = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "smtpPort" ), d->smtpPort, 25 );
106 d->itemSmtpUsername = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "smtpUsername" ), d->smtpUsername );
108 d->itemUseGlobalEmail = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "useGlobalEmail" ), d->useGlobalEmail, true );
110 d->itemReplyTo = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "replyTo" ), d->replyTo );
112 d->itemSmtpHostname = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "smtpHostname" ), d->smtpHostname );
114 d->itemSubmitAddress = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "submitAddress" ), d->submitAddress, QLatin1String( "freedb-submit@freedb.org" ) );
QString homePath()
void append(const T &value)
void setMusicBrainzLookupEnabled(bool v)
Set MusicBrainzLookupEnabled.
Definition: configbase.cpp:142
QString fromLatin1(const char *str, int size)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.