~ubuntu-branches/ubuntu/natty/kdeadmin/natty-proposed

« back to all changes in this revision

Viewing changes to ksysv/ksvlookandfeel.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-02-27 21:36:45 UTC
  • mfrom: (1.2.40 upstream)
  • Revision ID: james.westby@ubuntu.com-20100227213645-ronst6mahkgf6j9w
Tags: 4:4.4.1-0ubuntu1
* New upstream release
  - Bump build-depends
  - Update kcron.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
   Copyright 2000 Peter Putzer <putzer@kde.org>
3
 
 
4
 
   This program is free software; you can redistribute it and/or
5
 
   modify it under the terms of the GNU General Public
6
 
   License as published by the Free Software Foundation; either
7
 
   version 2 of the License, or (at your option) any later version.
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 GNU
12
 
   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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
 
*/
18
 
 
19
 
#ifndef KSVLOOKANDFEEL_H
20
 
#define KSVLOOKANDFEEL_H
21
 
#include "lookandfeelconfig.h"
22
 
 
23
 
#include <QFont>
24
 
class KSVLookAndFeel : public LookAndFeel
25
 
26
 
  Q_OBJECT
27
 
  
28
 
public:
29
 
  KSVLookAndFeel( QWidget* parent = 0, const char* name = 0, Qt::WFlags fl = 0 );
30
 
  ~KSVLookAndFeel();
31
 
  
32
 
  inline const QFont& serviceFont() const { return mServiceFont; }
33
 
  inline const QFont& numberFont() const { return mNumberFont; }
34
 
  
35
 
  void setServiceFont (const QFont& font);
36
 
  void setNumberFont (const QFont& font);
37
 
 
38
 
signals:
39
 
  void configChanged();
40
 
 
41
 
protected slots:
42
 
  void chooseServiceFont();
43
 
  void chooseNumberFont();
44
 
  void slotChanged();
45
 
 
46
 
private:
47
 
  QFont mServiceFont;
48
 
  QFont mNumberFont;
49
 
};
50
 
 
51
 
#endif // KSVLOOKANDFEEL_H