~jackweirdy/vidalia/680192

« back to all changes in this revision

Viewing changes to src/vidalia/config/AbstractTorSettings.h

  • Committer: Package Import Robot
  • Author(s): Ulises Vitulli
  • Date: 2012-06-22 07:18:44 UTC
  • mfrom: (1.3.9)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: package-import@ubuntu.com-20120622071844-8fgna0qpymsflky1
Tags: upstream-0.2.19
ImportĀ upstreamĀ versionĀ 0.2.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
**  LICENSE file, found in the top level directory of this distribution. If you
4
4
**  did not receive the LICENSE file with this file, you may obtain it from the
5
5
**  Vidalia source package distributed by the Vidalia Project at
6
 
**  http://www.torproject.org/projects/vidalia.html. No part of Vidalia, 
7
 
**  including this file, may be copied, modified, propagated, or distributed 
 
6
**  http://www.torproject.org/projects/vidalia.html. No part of Vidalia,
 
7
**  including this file, may be copied, modified, propagated, or distributed
8
8
**  except according to the terms described in the LICENSE file.
9
9
*/
10
10
 
27
27
  /** Constructor. All settings will be under the heading <b>group</b> and
28
28
   * <b>torControl</b> will be used to <i>getconf</i> values from Tor. */
29
29
  AbstractTorSettings(const QString &group, TorControl *torControl = 0);
30
 
  
 
30
 
31
31
  /** Sets a value indicating that the server settings have changed since
32
32
   * apply() was last called. */
33
33
  void setChanged(bool changed);
49
49
  /** Returns the value associated with <b>key</b> saved in the local
50
50
   * configuration file. */
51
51
  virtual QVariant localValue(const QString &key) const;
52
 
  /** Returns the value associated with <b>key</b> by querying TOr via 
 
52
  /** Returns the value associated with <b>key</b> by querying TOr via
53
53
   * <i>getconf key</i>. */
54
54
  virtual QVariant torValue(const QString &key) const;
55
55
  /** Saves the value <b>val</b> for the setting <b>key</b> to the local
56
56
   * settings file. */
57
57
  virtual void setValue(const QString &key, const QVariant &value);
58
 
  
 
58
 
59
59
  /** Returns true if the given QVariant contains an empty value, depending on
60
60
   * the data type. For example, 0 is considered an empty integer and "" is
61
61
   * an empty string. */