• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

akonadi/contact

  • akonadi
  • contact
  • kcm
kcm/contactactionssettings.h
1 // This file is generated by kconfig_compiler from contactactionssettings.kcfg.
2 // All changes you do to this file will be lost.
3 #ifndef CONTACTACTIONSSETTINGS_H
4 #define CONTACTACTIONSSETTINGS_H
5 
6 #include <kconfigskeleton.h>
7 #include <kdebug.h>
8 
9 class ContactActionsSettings : public KConfigSkeleton
10 {
11  public:
12  enum EnumShowAddressAction { UseBrowser, UseExternalAddressApplication, UseGooglemap, UseMapquest };
13  enum EnumDialPhoneNumberAction { UseSkype, UseExternalPhoneApplication, UseWinCE, UseSflPhone, UseEkiga };
14  enum EnumSendSmsAction { UseSkypeSms, UseExternalSmsApplication, UseWinCESms, UseSflPhoneSms };
15 
16  static ContactActionsSettings *self();
17  ~ContactActionsSettings();
18 
22  static
23  void setShowAddressAction( int v )
24  {
25  if (!self()->isImmutable( QString::fromLatin1( "ShowAddressAction" ) ))
26  self()->mShowAddressAction = v;
27  }
28 
32  static
33  int showAddressAction()
34  {
35  return self()->mShowAddressAction;
36  }
37 
41  ItemEnum *showAddressActionItem()
42  {
43  return mShowAddressActionItem;
44  }
45 
49  static
50  void setAddressUrl( const QString & v )
51  {
52  if (!self()->isImmutable( QString::fromLatin1( "AddressUrl" ) ))
53  self()->mAddressUrl = v;
54  }
55 
59  static
60  QString addressUrl()
61  {
62  return self()->mAddressUrl;
63  }
64 
68  ItemString *addressUrlItem()
69  {
70  return mAddressUrlItem;
71  }
72 
76  static
77  void setAddressCommand( const QString & v )
78  {
79  if (!self()->isImmutable( QString::fromLatin1( "AddressCommand" ) ))
80  self()->mAddressCommand = v;
81  }
82 
86  static
87  QString addressCommand()
88  {
89  return self()->mAddressCommand;
90  }
91 
95  ItemString *addressCommandItem()
96  {
97  return mAddressCommandItem;
98  }
99 
103  static
104  void setDialPhoneNumberAction( int v )
105  {
106  if (!self()->isImmutable( QString::fromLatin1( "DialPhoneNumberAction" ) ))
107  self()->mDialPhoneNumberAction = v;
108  }
109 
113  static
114  int dialPhoneNumberAction()
115  {
116  return self()->mDialPhoneNumberAction;
117  }
118 
122  ItemEnum *dialPhoneNumberActionItem()
123  {
124  return mDialPhoneNumberActionItem;
125  }
126 
130  static
131  void setPhoneCommand( const QString & v )
132  {
133  if (!self()->isImmutable( QString::fromLatin1( "PhoneCommand" ) ))
134  self()->mPhoneCommand = v;
135  }
136 
140  static
141  QString phoneCommand()
142  {
143  return self()->mPhoneCommand;
144  }
145 
149  ItemString *phoneCommandItem()
150  {
151  return mPhoneCommandItem;
152  }
153 
157  static
158  void setSendSmsAction( int v )
159  {
160  if (!self()->isImmutable( QString::fromLatin1( "SendSmsAction" ) ))
161  self()->mSendSmsAction = v;
162  }
163 
167  static
168  int sendSmsAction()
169  {
170  return self()->mSendSmsAction;
171  }
172 
176  ItemEnum *sendSmsActionItem()
177  {
178  return mSendSmsActionItem;
179  }
180 
184  static
185  void setSmsCommand( const QString & v )
186  {
187  if (!self()->isImmutable( QString::fromLatin1( "SmsCommand" ) ))
188  self()->mSmsCommand = v;
189  }
190 
194  static
195  QString smsCommand()
196  {
197  return self()->mSmsCommand;
198  }
199 
203  ItemString *smsCommandItem()
204  {
205  return mSmsCommandItem;
206  }
207 
208  protected:
209  ContactActionsSettings();
210  friend class ContactActionsSettingsHelper;
211 
212 
213  // Show Address Settings
214  int mShowAddressAction;
215  QString mAddressUrl;
216  QString mAddressCommand;
217 
218  // Phone Dial Settings
219  int mDialPhoneNumberAction;
220  QString mPhoneCommand;
221 
222  // Send SMS Settings
223  int mSendSmsAction;
224  QString mSmsCommand;
225 
226  private:
227  ItemEnum *mShowAddressActionItem;
228  ItemString *mAddressUrlItem;
229  ItemString *mAddressCommandItem;
230  ItemEnum *mDialPhoneNumberActionItem;
231  ItemString *mPhoneCommandItem;
232  ItemEnum *mSendSmsActionItem;
233  ItemString *mSmsCommandItem;
234 };
235 
236 #endif
237 
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jul 27 2021 06:51:14 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi/contact

Skip menu "akonadi/contact"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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