Changeset View
Changeset View
Standalone View
Standalone View
lib/dictionarymanager.h
Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Line(s) | 60 | public: | |||
---|---|---|---|---|---|
125 | * Given a config and parent widget, return a mapping from dictionary types to preference dialogs. | 125 | * Given a config and parent widget, return a mapping from dictionary types to preference dialogs. | ||
126 | * If a particular dictionary type does not provide a preference dialog, it will not be included in this list, | 126 | * If a particular dictionary type does not provide a preference dialog, it will not be included in this list, | ||
127 | * so occasionally keys(returnvalue) != listDictFileTypes() | 127 | * so occasionally keys(returnvalue) != listDictFileTypes() | ||
128 | * | 128 | * | ||
129 | * @param config the config skeleton | 129 | * @param config the config skeleton | ||
130 | * @param parent the parent widget, as per the normal Qt widget system | 130 | * @param parent the parent widget, as per the normal Qt widget system | ||
131 | */ | 131 | */ | ||
132 | static QMap<QString,DictionaryPreferenceDialog*> | 132 | static QMap<QString,DictionaryPreferenceDialog*> | ||
133 | generatePreferenceDialogs( KConfigSkeleton *config, QWidget *parent = NULL ); | 133 | generatePreferenceDialogs( KConfigSkeleton *config, QWidget *parent = nullptr ); | ||
134 | /** | 134 | /** | ||
135 | * Compiles a list of all fields beyond the basic three (word/pronunciation/meaning) that all dictionary | 135 | * Compiles a list of all fields beyond the basic three (word/pronunciation/meaning) that all dictionary | ||
136 | * types support. This can be used to generate a preference dialog, or provide more direct references. | 136 | * types support. This can be used to generate a preference dialog, or provide more direct references. | ||
137 | * The return value is "full name of the field" => "abbreviation useable in search string" | 137 | * The return value is "full name of the field" => "abbreviation useable in search string" | ||
138 | */ | 138 | */ | ||
139 | static QMap<QString,QString> generateExtendedFieldsList(); | 139 | static QMap<QString,QString> generateExtendedFieldsList(); | ||
140 | /** | 140 | /** | ||
141 | * Trigger loading preferences from a given KConfigSkeleton config object for a dictionary of type dict | 141 | * Trigger loading preferences from a given KConfigSkeleton config object for a dictionary of type dict | ||
Show All 20 Lines |