knoteconfigdlg.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KNOTECONFIGDLG_H
00022 #define KNOTECONFIGDLG_H
00023
00024 #include <kdialogbase.h>
00025
00026 class QString;
00027 class QColor;
00028 class QCheckBox;
00029 class QPushButton;
00030
00031 class KConfig;
00032 class KColorButton;
00033 class KLineEdit;
00034 class KIntNumInput;
00035
00036
00037 class KNoteConfigDlg : public KDialogBase
00038 {
00039 Q_OBJECT
00040 public:
00041 KNoteConfigDlg( const QString &configfile, const QString &title,
00042 bool global, QWidget *parent=0, const char *name=0 );
00043 ~KNoteConfigDlg();
00044
00045 void makeDisplayPage();
00046 void makeEditorPage();
00047 void makeActionsPage();
00048
00049 protected slots:
00050 virtual void slotOk();
00051 virtual void slotApply();
00052
00053 void slotChangeTitleFont();
00054 void slotChangeTextFont();
00055 void slotFGColor( const QColor& );
00056 void slotBGColor( const QColor& );
00057
00058 signals:
00059 void updateConfig();
00060
00061 private:
00062 void storeSettings();
00063
00064 bool _global;
00065
00066 KConfig *_config;
00067
00068 KColorButton *_fgColor;
00069 KColorButton *_bgColor;
00070
00071 KIntNumInput *_widthEdit;
00072 KIntNumInput *_heightEdit;
00073 KIntNumInput *_tabEdit;
00074
00075 QCheckBox *_autoIndentSwitch;
00076 QCheckBox *_richTextSwitch;
00077 KLineEdit *_mailEdit;
00078 QPushButton *_titleFont;
00079 QPushButton *_textFont;
00080 };
00081
00082 #endif
This file is part of the documentation for kdelibs Version 3.1.5.