Changeset View
Changeset View
Standalone View
Standalone View
kcms/fonts/fonts.h
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Line(s) | 66 | public Q_SLOTS: | |||
---|---|---|---|---|---|
69 | Q_INVOKABLE void adjustAllFonts(); | 69 | Q_INVOKABLE void adjustAllFonts(); | ||
70 | Q_INVOKABLE void adjustFont(const QFont &font, const QString &category); | 70 | Q_INVOKABLE void adjustFont(const QFont &font, const QString &category); | ||
71 | 71 | | |||
72 | Q_SIGNALS: | 72 | Q_SIGNALS: | ||
73 | void fontsHaveChanged(); | 73 | void fontsHaveChanged(); | ||
74 | void hintingCurrentIndexChanged(); | 74 | void hintingCurrentIndexChanged(); | ||
75 | void subPixelCurrentIndexChanged(); | 75 | void subPixelCurrentIndexChanged(); | ||
76 | void aliasingChangeApplied(); | 76 | void aliasingChangeApplied(); | ||
77 | void fontDpiSettingsChanged(); | ||||
77 | 78 | | |||
78 | private: | 79 | private: | ||
79 | QFont applyFontDiff(const QFont &fnt, const QFont &newFont, int fontDiffFlags); | 80 | QFont applyFontDiff(const QFont &fnt, const QFont &newFont, int fontDiffFlags); | ||
80 | void setNearestExistingFonts(); | 81 | void setNearestExistingFonts(); | ||
81 | 82 | | |||
82 | FontsSettings *m_settings; | 83 | FontsSettings *m_settings; | ||
83 | FontsAASettings *m_settingsAA; | 84 | FontsAASettings *m_settingsAA; | ||
84 | QStandardItemModel *m_subPixelOptionsModel; | 85 | QStandardItemModel *m_subPixelOptionsModel; | ||
85 | QStandardItemModel *m_hintingOptionsModel; | 86 | QStandardItemModel *m_hintingOptionsModel; | ||
86 | }; | 87 | }; | ||
87 | 88 | | |||
88 | #endif | 89 | #endif | ||
89 | 90 | |