File: dialog_configurekab.h

package info (click to toggle)
kdeutils 4%3A2.2.2-9.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,892 kB
  • ctags: 10,879
  • sloc: cpp: 82,942; sh: 11,754; ansic: 4,638; perl: 1,852; makefile: 706; python: 258
file content (50 lines) | stat: -rw-r--r-- 1,377 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* -*- C++ -*-
   This file declares the dialog to configure the KDE address book.


   the KDE addressbook
   $ Author: Mirko Boehm $
   $ Copyright: (C) 1996-2000, Mirko Boehm $
   $ Contact: mirko@kde.org
         http://www.kde.org $
   $ License: GPL with the following explicit clarification:
         This code may be linked against any version of the Qt toolkit
         from Troll Tech, Norway. $

   $Revision: 1.5 $	 
*/

#ifndef DIALOG_CONFIGUREKAB_H
#define DIALOG_CONFIGUREKAB_H

#include <qtabwidget.h>

class Section;
class QCheckBox;

class KabConfigWidget : public QTabWidget
{
  Q_OBJECT
public:
  /** The Qt standard constructor. Gets the open file. */
  KabConfigWidget(QWidget* parent, const char* name=0);
  /** The destructor. */
  ~KabConfigWidget();
  /** Initialize all settings from the given section. */
  bool setSettings(Section*);
  /** Store all settings to the given section. */
  bool saveSettings(Section*);
protected:
  /** Checkbox for remembering the last selected view. */
  QCheckBox *rememberLastView;
  /** Checkbox for remembering the last displayed entry. */
  QCheckBox *rememberLastEntry;
  /** Checkbox to enable or disable showing the name in the title
      bar. */
  QCheckBox *showNameInTitle;
  /** Checkbox to enable or disable backup creation on startup. */
  QCheckBox *createBackup;
};

#endif // DIALOG_CONFIGUREKAB_H