• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdemultimedia API Reference
  • KDE Home
  • Contact Us
 

libkcddb

  • sources
  • kde-4.14
  • kdemultimedia
  • libkcddb
  • libkcddb
configbase.h
Go to the documentation of this file.
1 // This file is generated by kconfig_compiler from libkcddb.kcfg.
2 // All changes you do to this file will be lost.
3 #ifndef CONFIGBASE_H
4 #define CONFIGBASE_H
5 
6 #include <libkcddb/kcddb_export.h>
7 
8 #include <kglobal.h>
9 #include <kconfigskeleton.h>
10 #include <kdebug.h>
11 
12 #include <QtCore/QDir>
13 class ConfigBasePrivate;
14 
15 class KCDDB_EXPORT ConfigBase : public KConfigSkeleton
16 {
17  public:
18  class EnumFreedbLookupTransport
19  {
20  public:
21  enum type { CDDBP, HTTP, COUNT };
22  };
23  class EnumFreedbSubmitTransport
24  {
25  public:
26  enum type { HTTP, SMTP, COUNT };
27  };
28 
29  ConfigBase( );
30  ~ConfigBase();
31 
35  void setHostname( const QString & v );
36 
40  QString hostname() const;
41 
45  void setPort( int v );
46 
50  int port() const;
51 
55  void setMusicBrainzLookupEnabled( bool v );
56 
60  bool musicBrainzLookupEnabled() const;
61 
65  void setFreedbLookupEnabled( bool v );
66 
70  bool freedbLookupEnabled() const;
71 
75  void setCacheLookupEnabled( bool v );
76 
80  bool cacheLookupEnabled() const;
81 
85  void setFreedbLookupTransport( int v );
86 
90  int freedbLookupTransport() const;
91 
95  void setCacheLocations( const QStringList & v );
96 
100  QStringList cacheLocations() const;
101 
105  void setFreedbSubmitTransport( int v );
106 
110  int freedbSubmitTransport() const;
111 
115  void setEmailAddress( const QString & v );
116 
120  QString emailAddress() const;
121 
125  void setHttpSubmitServer( const QString & v );
126 
130  QString httpSubmitServer() const;
131 
135  void setHttpSubmitPort( int v );
136 
140  int httpSubmitPort() const;
141 
145  void setSmtpPort( int v );
146 
150  int smtpPort() const;
151 
155  void setSmtpUsername( const QString & v );
156 
160  QString smtpUsername() const;
161 
165  void setUseGlobalEmail( bool v );
166 
170  bool useGlobalEmail() const;
171 
175  void setReplyTo( const QString & v );
176 
180  QString replyTo() const;
181 
185  void setSmtpHostname( const QString & v );
186 
190  QString smtpHostname() const;
191 
195  void setSubmitAddress( const QString & v );
196 
200  QString submitAddress() const;
201 
202  protected:
203  private:
204  ConfigBasePrivate *d;
205 };
206 
207 #endif
208 
ConfigBase
Definition: configbase.h:15
ConfigBase::EnumFreedbSubmitTransport::type
type
Definition: configbase.h:26
ConfigBase::EnumFreedbLookupTransport::type
type
Definition: configbase.h:21
KConfigSkeleton
ConfigBase::EnumFreedbLookupTransport
Definition: configbase.h:18
QString
QStringList
ConfigBase::EnumFreedbSubmitTransport
Definition: configbase.h:23
KCDDB_EXPORT
#define KCDDB_EXPORT
Definition: kcddb_export.h:32
kcddb_export.h
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

KDE's Doxygen guidelines are available online.

libkcddb

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

kdemultimedia API Reference

Skip menu "kdemultimedia API Reference"
  • libkcddb
  • libkcompactdisc

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal