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

kget

  • sources
  • kde-4.12
  • kdenetwork
  • kget
  • transfer-plugins
  • contentfetch
contentfetchsetting.h
Go to the documentation of this file.
1 // This file is generated by kconfig_compiler from kget_contentfetchfactory.kcfg.
2 // All changes you do to this file will be lost.
3 #ifndef CONTENTFETCHSETTING_H
4 #define CONTENTFETCHSETTING_H
5 
6 #include <kstandarddirs.h>
7 
8 #include <kconfigskeleton.h>
9 #include <kdebug.h>
10 
11 class KDE_EXPORT ContentFetchSetting : public KConfigSkeleton
12 {
13  public:
14 
15  static ContentFetchSetting *self();
16  ~ContentFetchSetting();
17 
21  static
22  void setUrlRegexpList( const QStringList & v )
23  {
24  if (!self()->isImmutable( QString::fromLatin1( "UrlRegexpList" ) ))
25  self()->mUrlRegexpList = v;
26  }
27 
31  static
32  QStringList urlRegexpList()
33  {
34  return self()->mUrlRegexpList;
35  }
36 
40  static
41  void setPathList( const QStringList & v )
42  {
43  if (!self()->isImmutable( QString::fromLatin1( "PathList" ) ))
44  self()->mPathList = v;
45  }
46 
50  static
51  QStringList pathList()
52  {
53  return self()->mPathList;
54  }
55 
59  static
60  void setDescriptionList( const QStringList & v )
61  {
62  if (!self()->isImmutable( QString::fromLatin1( "DescriptionList" ) ))
63  self()->mDescriptionList = v;
64  }
65 
69  static
70  QStringList descriptionList()
71  {
72  return self()->mDescriptionList;
73  }
74 
78  static
79  void setEnableList( const QList<int> & v )
80  {
81  if (!self()->isImmutable( QString::fromLatin1( "EnableList" ) ))
82  self()->mEnableList = v;
83  }
84 
88  static
89  QList<int> enableList()
90  {
91  return self()->mEnableList;
92  }
93 
94  protected:
95  ContentFetchSetting();
96  friend class ContentFetchSettingHelper;
97 
98 
99  // UserScripts
100  QStringList mUrlRegexpList;
101  QStringList mPathList;
102  QStringList mDescriptionList;
103  QList<int> mEnableList;
104 
105  private:
106 };
107 
108 #endif
109 
ContentFetchSetting::enableList
static QList< int > enableList()
Get List of whether the script is enabled.
Definition: contentfetchsetting.h:89
ContentFetchSetting::setDescriptionList
static void setDescriptionList(const QStringList &v)
Set List of descriptions for user scripts.
Definition: contentfetchsetting.h:60
KConfigSkeleton
ContentFetchSetting::urlRegexpList
static QStringList urlRegexpList()
Get List of the Regexp to match input URL.
Definition: contentfetchsetting.h:32
ContentFetchSetting::setEnableList
static void setEnableList(const QList< int > &v)
Set List of whether the script is enabled.
Definition: contentfetchsetting.h:79
ContentFetchSetting::setUrlRegexpList
static void setUrlRegexpList(const QStringList &v)
Set List of the Regexp to match input URL.
Definition: contentfetchsetting.h:22
ContentFetchSetting::mDescriptionList
QStringList mDescriptionList
Definition: contentfetchsetting.h:102
ContentFetchSetting::setPathList
static void setPathList(const QStringList &v)
Set List of the available search engine URLs.
Definition: contentfetchsetting.h:41
ContentFetchSetting
Definition: contentfetchsetting.h:11
ContentFetchSetting::mEnableList
QList< int > mEnableList
Definition: contentfetchsetting.h:103
ContentFetchSetting::mUrlRegexpList
QStringList mUrlRegexpList
Definition: contentfetchsetting.h:100
ContentFetchSetting::pathList
static QStringList pathList()
Get List of the available search engine URLs.
Definition: contentfetchsetting.h:51
ContentFetchSetting::mPathList
QStringList mPathList
Definition: contentfetchsetting.h:101
ContentFetchSetting::descriptionList
static QStringList descriptionList()
Get List of descriptions for user scripts.
Definition: contentfetchsetting.h:70
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

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