1 /***************************************************************************
2 wordcompletionwidget.h - description
4 begin : Tue Apr 29 2003
5 copyright : (C) 2002 by Gunnar Schmi Dt
6 email : kmouth@schmi-dt.de
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
20 #ifndef WORDCOMPLETIONWIDGET_H
21 #define WORDCOMPLETIONWIDGET_H
23 #include "ui_wordcompletionui.h"
28 * This class represents a configuration widget for managing dictionaries.
29 * @author Gunnar Schmi Dt
31 class WordCompletionWidget
: public QWidget
, public Ui::WordCompletionUI
{
34 WordCompletionWidget(QWidget
*parent
, const char *name
);
35 ~WordCompletionWidget();
38 * This method is invoked whenever the widget should read its configuration
39 * from a config file and update the user interface.
44 * This function gets called when the user wants to save the settings in
45 * the user interface, updating the config files.
54 void deleteDictionary();
57 void exportDictionary();
59 void selectionChanged();
60 void nameChanged (const QString
&text
);
61 void languageSelected ();
64 * This slot is used to emit the signal changed when any widget changes
67 void configChanged() {
73 * Object holding all the configuration
76 QStringList newDictionaryFiles
;
77 QStringList removedDictionaryFiles
;