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 void skipTaskbar( bool skip );
00061
00062 private:
00063 void storeSettings();
00064
00065 bool m_global;
00066
00067 KConfig *m_config;
00068
00069 KColorButton *m_fgColor;
00070 KColorButton *m_bgColor;
00071 KIntNumInput *m_widthEdit;
00072 KIntNumInput *m_heightEdit;
00073 QCheckBox *m_skipTaskbarSwitch;
00074
00075 KIntNumInput *m_tabEdit;
00076 QCheckBox *m_autoIndentSwitch;
00077 QCheckBox *m_richTextSwitch;
00078 QPushButton *m_titleFont;
00079 QPushButton *m_textFont;
00080
00081 KLineEdit *m_mailEdit;
00082 };
00083
00084 #endif
This file is part of the documentation for knotes Library Version 3.2.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Mar 6 17:18:05 2004 by
doxygen 1.3.6-20040222 written by
Dimitri van Heesch, © 1997-2003