~ubuntu-branches/ubuntu/wily/kid3/wily

« back to all changes in this revision

Viewing changes to src/core/config/guiconfig.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell, Patrick Matthäi, Mark Purcell
  • Date: 2013-11-30 15:44:59 UTC
  • mfrom: (1.1.16) (2.1.18 sid)
  • Revision ID: package-import@ubuntu.com-20131130154459-s6lpalx8yy2zq7gx
Tags: 3.0.2-1
* New upstream release 

[ Patrick Matthäi ]
* New upstream release.
  - Add new libreadline-dev build dependency.
* Don't explicitly request xz compression - dpkg 1.17 does this by default.
* Bump Standards-Version to 3.9.5 (no changes needed).
* Fix Vcs-Browser control field.

[ Mark Purcell ]
* Switch to dh - reduce debian/rules bloat
* kid3 Replaces kid3-qt - low popcon, reduce archive bloat
* Fix vcs-field-not-canonical
* debian/compat -> 9
* Update Description:

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * \file guiconfig.h
 
3
 * GUI related configuration.
 
4
 *
 
5
 * \b Project: Kid3
 
6
 * \author Urs Fleisch
 
7
 * \date 29 Jun 2013
 
8
 *
 
9
 * Copyright (C) 2013  Urs Fleisch
 
10
 *
 
11
 * This file is part of Kid3.
 
12
 *
 
13
 * Kid3 is free software; you can redistribute it and/or modify
 
14
 * it under the terms of the GNU General Public License as published by
 
15
 * the Free Software Foundation; either version 2 of the License, or
 
16
 * (at your option) any later version.
 
17
 *
 
18
 * Kid3 is distributed in the hope that it will be useful,
 
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
21
 * GNU General Public License for more details.
 
22
 *
 
23
 * You should have received a copy of the GNU General Public License
 
24
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
25
 */
 
26
 
 
27
#ifndef GUICONFIG_H
 
28
#define GUICONFIG_H
 
29
 
 
30
#include "generalconfig.h"
 
31
#include "kid3api.h"
 
32
 
 
33
/**
 
34
 * GUI related configuration.
 
35
 */
 
36
class KID3_CORE_EXPORT GuiConfig : public StoredConfig<GuiConfig>
 
37
{
 
38
public:
 
39
  /**
 
40
   * Constructor.
 
41
   */
 
42
  GuiConfig();
 
43
 
 
44
  /**
 
45
   * Destructor.
 
46
   */
 
47
  virtual ~GuiConfig();
 
48
 
 
49
  /**
 
50
   * Persist configuration.
 
51
   *
 
52
   * @param config configuration
 
53
   */
 
54
  virtual void writeToConfig(ISettings* config) const;
 
55
 
 
56
  /**
 
57
   * Read persisted configuration.
 
58
   *
 
59
   * @param config configuration
 
60
   */
 
61
  virtual void readFromConfig(ISettings* config);
 
62
 
 
63
  /** true to automatically hide unused tags */
 
64
  bool m_autoHideTags;
 
65
  /** true to hide file controls */
 
66
  bool m_hideFile;
 
67
  /** true to hide ID3v1.1 controls */
 
68
  bool m_hideV1;
 
69
  /** true to hide ID3v2.3 controls */
 
70
  bool m_hideV2;
 
71
  /** true to hide picture preview */
 
72
  bool m_hidePicture;
 
73
  /** true to play file on double click */
 
74
  bool m_playOnDoubleClick;
 
75
  /** size of splitter in main window */
 
76
  QList<int> m_splitterSizes;
 
77
  /** size of file/dirlist splitter */
 
78
  QList<int> m_vSplitterSizes;
 
79
 
 
80
  /** Index in configuration storage */
 
81
  static int s_index;
 
82
};
 
83
 
 
84
#endif