equal
deleted
inserted
replaced
146 { |
146 { |
147 switch(d->request.styleHint) { |
147 switch(d->request.styleHint) { |
148 case QFont::Times: |
148 case QFont::Times: |
149 return QString::fromLatin1("Times New Roman"); |
149 return QString::fromLatin1("Times New Roman"); |
150 case QFont::Courier: |
150 case QFont::Courier: |
|
151 case QFont::Monospace: |
151 return QString::fromLatin1("Courier New"); |
152 return QString::fromLatin1("Courier New"); |
152 case QFont::Decorative: |
153 case QFont::Decorative: |
153 return QString::fromLatin1("Bookman Old Style"); |
154 return QString::fromLatin1("Bookman Old Style"); |
|
155 case QFont::Cursive: |
|
156 return QString::fromLatin1("Comic Sans MS"); |
|
157 case QFont::Fantasy: |
|
158 return QString::fromLatin1("Impact"); |
154 case QFont::Helvetica: |
159 case QFont::Helvetica: |
155 return QString::fromLatin1("Arial"); |
160 return QString::fromLatin1("Arial"); |
156 case QFont::System: |
161 case QFont::System: |
157 default: |
162 default: |
158 return QString::fromLatin1("MS Sans Serif"); |
163 return QString::fromLatin1("MS Sans Serif"); |