~ubuntu-branches/ubuntu/raring/juffed/raring

« back to all changes in this revision

Viewing changes to include/SettingsCheckItem.h

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2011-04-30 13:43:26 UTC
  • mfrom: (2.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110430134326-0bnvvo5z2medbdxi
Tags: 0.9.1137-1
* New upstream release.
* Remove debian/juffed.1, added upstream (in debian.in).
* Remove debian/patches/static.patch: we can now bundle the .so after
  upstream has resolved soname issues.
* debian/control:
  - Bump Standards-Version to 0.9.2.
  - Update homepage.
  - Do not build-depend on chrpath, not needed anymore.
* debian/rules:
  - Remove chrpath rule, not needed anymore.
* Add juffed-dev and juffed-plugins packages.
* Do not install the libkeybindings.so plugin: causes a segfault on my
  amd64 machine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
JuffEd - An advanced text editor
3
 
Copyright 2007-2009 Mikhail Murzin
4
 
 
5
 
This program is free software; you can redistribute it and/or
6
 
modify it under the terms of the GNU General Public License 
7
 
version 2 as published by the Free Software Foundation.
8
 
 
9
 
This program is distributed in the hope that it will be useful,
10
 
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 
GNU General Public License for more details.
13
 
 
14
 
You should have received a copy of the GNU General Public License
15
 
along with this program; if not, write to the Free Software
16
 
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17
 
*/
18
 
 
19
 
#ifndef __JUFF_SETTINGS_CHECK_ITEM_H__
20
 
#define __JUFF_SETTINGS_CHECK_ITEM_H__
21
 
 
22
 
#include "SettingsItem.h"
23
 
 
24
 
class QCheckBox;
25
 
 
26
 
class SettingsCheckItem : public QObject, public SettingsItem {
27
 
Q_OBJECT
28
 
public:
29
 
        SettingsCheckItem(const QString&, const QString&, QCheckBox*);
30
 
 
31
 
        virtual void readValue();
32
 
        virtual void writeValue();
33
 
 
34
 
private slots:
35
 
        void onChecked(bool);
36
 
 
37
 
private:
38
 
        QCheckBox* checkBox_;
39
 
        QString section_;
40
 
        QString key_;
41
 
//      bool default_;
42
 
        bool curValue_;
43
 
};
44
 
 
45
 
#endif /* __JUFF_SETTINGS_CHECK_ITEM_H__ */