~ubuntu-branches/ubuntu/natty/kdebase-runtime/natty-proposed

« back to all changes in this revision

Viewing changes to khelpcenter/fontdialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-11-24 11:07:10 UTC
  • mto: (0.8.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 129.
  • Revision ID: james.westby@ubuntu.com-20101124110710-6dbsyw0yh21qvn82
Tags: upstream-4.5.80
ImportĀ upstreamĀ versionĀ 4.5.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  along with this program; if not, write to the Free Software
18
18
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19
19
 */
20
 
#ifndef FONTDIALOG_H
21
 
#define FONTDIALOG_H
 
20
#ifndef KHC_FONTDIALOG_H
 
21
#define KHC_FONTDIALOG_H
22
22
 
23
 
#include <kdialog.h>
 
23
#include <KDialog>
24
24
 
25
25
class KIntSpinBox;
26
26
 
31
31
 
32
32
namespace KHC {
33
33
 
34
 
class FontDialog : public KDialog
35
 
{
36
 
        Q_OBJECT
37
 
        public:
38
 
                FontDialog( QWidget *parent );
39
 
 
40
 
        protected Q_SLOTS:
41
 
                virtual void slotOk();
42
 
 
43
 
        private:
44
 
                void setupFontSizesBox();
45
 
                void setupFontTypesBox();
46
 
                void setupFontEncodingBox();
47
 
 
48
 
                void load();
49
 
                void save();
50
 
 
51
 
                KIntNumInput *m_minFontSize;
52
 
                KIntNumInput *m_medFontSize;
53
 
                KFontComboBox *m_standardFontCombo;
54
 
                KFontComboBox *m_fixedFontCombo;
55
 
                KFontComboBox *m_serifFontCombo;
56
 
                KFontComboBox *m_sansSerifFontCombo;
57
 
                KFontComboBox *m_italicFontCombo;
58
 
                KFontComboBox *m_fantasyFontCombo;
59
 
                KComboBox *m_defaultEncoding;
60
 
                KIntSpinBox *m_fontSizeAdjustement;
61
 
    KVBox *m_mainWidget;
62
 
};
 
34
  class FontDialog : public KDialog
 
35
  {
 
36
    Q_OBJECT
 
37
    
 
38
    public:
 
39
      FontDialog( QWidget *parent );
 
40
 
 
41
    protected Q_SLOTS:
 
42
      virtual void slotOk();
 
43
 
 
44
    private:
 
45
      void setupFontSizesBox();
 
46
      void setupFontTypesBox();
 
47
      void setupFontEncodingBox();
 
48
 
 
49
      void load();
 
50
      void save();
 
51
 
 
52
      KIntNumInput *m_minFontSize;
 
53
      KIntNumInput *m_medFontSize;
 
54
      KFontComboBox *m_standardFontCombo;
 
55
      KFontComboBox *m_fixedFontCombo;
 
56
      KFontComboBox *m_serifFontCombo;
 
57
      KFontComboBox *m_sansSerifFontCombo;
 
58
      KFontComboBox *m_italicFontCombo;
 
59
      KFontComboBox *m_fantasyFontCombo;
 
60
      KComboBox *m_defaultEncoding;
 
61
      KIntSpinBox *m_fontSizeAdjustement;
 
62
      KVBox *m_mainWidget;
 
63
  };
63
64
 
64
65
}
65
66
 
66
 
#endif // FONTDIALOG_H
 
67
#endif // KHC_FONTDIALOG_H
67
68
// vim:ts=4:sw=4:noet