summaryrefslogtreecommitdiffstats
path: root/ksysv/ksvlookandfeel.h
blob: 5e59a91769334409553b24204ce59431f135660d (plain)
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
/**
 * Released under the GNU General Public License, version 2.
 * 
 * Copyright (c) 2000 Peter Putzer <putzer@kde.org>
 */

#ifndef KSVLOOKANDFEEL_H
#define KSVLOOKANDFEEL_H
#include "lookandfeelconfig.h"

#include <qfont.h>
class KSVLookAndFeel : public LookAndFeel
{ 
  Q_OBJECT
  
public:
  KSVLookAndFeel( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
  ~KSVLookAndFeel();
  
  inline const QFont& serviceFont() const { return mServiceFont; }
  inline const QFont& numberFont() const { return mNumberFont; }
  
  void setServiceFont (const QFont& font);
  void setNumberFont (const QFont& font);

signals:
  void configChanged();

protected slots:
  void chooseServiceFont();
  void chooseNumberFont();
  void slotChanged();

private:
  QFont mServiceFont;
  QFont mNumberFont;
};

#endif // KSVLOOKANDFEEL_H