configwidget.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KSPELL_CONFIGWIDGET_H
00022 #define KSPELL_CONFIGWIDGET_H
00023
00024 #include <qwidget.h>
00025 #include <kdelibs_export.h>
00026
00027 namespace KSpell2
00028 {
00029 class Broker;
00030 class KDE_EXPORT ConfigWidget : public QWidget
00031 {
00032 Q_OBJECT
00033 public:
00034 ConfigWidget( Broker *broker, QWidget *parent, const char *name =0 );
00035 ~ConfigWidget();
00036
00037 bool backgroundCheckingButtonShown() const;
00038
00039 public slots:
00040 void save();
00041 void setBackgroundCheckingButtonShown( bool );
00042 void slotDefault();
00043 protected slots:
00044 void slotChanged();
00045
00046 private:
00047 void init( Broker *broker );
00048 void setFromGUI();
00049 void setCorrectLanguage( const QStringList& langs );
00050
00051 private:
00052 class Private;
00053 Private *d;
00054 };
00055 }
00056
00057 #endif
|