Sonnet
Go to the documentation of this file.
32 using namespace Sonnet;
36 #define ASPELL_DATA_ROOT "lib/aspell-0.60/"
46 m_config = new_aspell_config();
48 aspell_config_replace( m_config,
"data-dir",
aspell_data_dir().toLocal8Bit().data());
49 aspell_config_replace( m_config,
"dict-dir",
aspell_data_dir().toLocal8Bit().data());
55 delete_aspell_config( m_config );
66 AspellDictInfoList *l = get_aspell_dict_info_list( m_config );
67 AspellDictInfoEnumeration *el = aspell_dict_info_list_elements( l );
70 const AspellDictInfo *di = 0;
71 while ( ( di = aspell_dict_info_enumeration_next( el ) ) ) {
72 langs.append( di->name );
75 delete_aspell_dict_info_enumeration( el );
80 #include "kspell_aspellclient.moc"
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Thu Sep 25 2014 04:20:16 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.