comparison kdiff3/src/optiondialog.h @ 58:8af4bb9d9a5a

Version 0.9.83
author joachim99
date Sun, 07 Mar 2004 09:59:09 +0000
parents c59d5a3a8ff3
children efe33e938730
comparison
equal deleted inserted replaced
57:023fbd76c1e3 58:8af4bb9d9a5a
33 #include <list> 33 #include <list>
34 34
35 class OptionItem; 35 class OptionItem;
36 class KKeyDialog; 36 class KKeyDialog;
37 37
38 enum eLineEndStyle
39 {
40 eLineEndUnix=0,
41 eLineEndDos
42 };
38 43
39 class OptionDialog : public KDialogBase 44 class OptionDialog : public KDialogBase
40 { 45 {
41 Q_OBJECT 46 Q_OBJECT
42 47
62 bool m_bReplaceTabs; 67 bool m_bReplaceTabs;
63 bool m_bAutoIndentation; 68 bool m_bAutoIndentation;
64 int m_tabSize; 69 int m_tabSize;
65 bool m_bAutoCopySelection; 70 bool m_bAutoCopySelection;
66 bool m_bStringEncoding; 71 bool m_bStringEncoding;
72 int m_lineEndStyle;
67 73
68 bool m_bPreserveCarriageReturn; 74 bool m_bPreserveCarriageReturn;
69 bool m_bTryHard; 75 bool m_bTryHard;
70 bool m_bShowWhiteSpaceCharacters; 76 bool m_bShowWhiteSpaceCharacters;
71 bool m_bShowWhiteSpace; 77 bool m_bShowWhiteSpace;
103 bool m_bDmUseCvsIgnore; 109 bool m_bDmUseCvsIgnore;
104 QString m_DmFilePattern; 110 QString m_DmFilePattern;
105 QString m_DmFileAntiPattern; 111 QString m_DmFileAntiPattern;
106 QString m_DmDirAntiPattern; 112 QString m_DmDirAntiPattern;
107 113
114 QString m_language;
115 QString m_fileCodec;
116
108 void saveOptions(KConfig* config); 117 void saveOptions(KConfig* config);
109 void readOptions(KConfig* config); 118 void readOptions(KConfig* config);
110 119
111 void setState(); // Must be called before calling exec(); 120 void setState(); // Must be called before calling exec();
112 121
131 void setupColorPage(); 140 void setupColorPage();
132 void setupEditPage(); 141 void setupEditPage();
133 void setupDiffPage(); 142 void setupDiffPage();
134 void setupDirectoryMergePage(); 143 void setupDirectoryMergePage();
135 void setupKeysPage(); 144 void setupKeysPage();
145 void setupRegionalPage();
136 void setupOtherOptions(); 146 void setupOtherOptions();
137 }; 147 };
148
138 149
139 150
140 151
141 #endif 152 #endif
142 153