16 #ifndef _QEDIT_CONFIG_H_
17 #define _QEDIT_CONFIG_H_
28 #include "ui_editconfig.h"
39 bool hasUnsavedChanges()
const;
41 bool applyImmediately()
const;
43 QMap<QString, QVariant> dumpKeys()
const;
52 void loadKeys(
const QMap<QString, QVariant>& keys);
54 void setApplyImmediately(
bool y);
57 void keyChanged(
const QString& key,
const QVariant& value);
60 void on_spnFontSize_valueChanged(
int size);
61 void on_cbFont_currentFontChanged(QFont font);
63 void on_spnTabWidth_valueChanged(
int n);
65 void on_chkReplaceTabs_toggled(
bool y);
67 void on_chkShowTabsInText_toggled(
bool y);
68 void on_chkShowLeadingWhitespace_toggled(
bool y);
69 void on_chkShowTrailingWhitespace_toggled(
bool y);
71 void on_cbEncoding_currentIndexChanged(
const QString& name);
72 void on_cbLineEndings_currentIndexChanged(
int idx);
73 void on_chkDetectLE_toggled(
bool y);
74 void on_chkAutoRemoveTrailingWhitespace_toggled(
bool y);
75 void on_chkPreserveTrailingIndent_toggled(
bool y);
81 #endif // _QEDIT_CONFIG_H_