00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _NOTIFIERMODULE_H_
00021 #define _NOTIFIERMODULE_H_
00022
00023 #include <kcmodule.h>
00024
00025 #include "notifiersettings.h"
00026 #include "notifiermoduleview.h"
00027
00028 class NotifierModule : public KCModule
00029 {
00030 Q_OBJECT
00031
00032 public:
00033 NotifierModule( TQWidget* parent = 0, const char* name = 0);
00034 ~NotifierModule();
00035
00036 void load();
00037 void save();
00038 void defaults();
00039
00040 private slots:
00041 void slotAdd();
00042 void slotDelete();
00043 void slotEdit();
00044 void slotToggleAuto();
00045
00046 void slotActionSelected( TQListBoxItem * item );
00047 void slotMimeTypeChanged( int index );
00048
00049 private:
00050 void updateListBox();
00051
00052 TQString m_mimetype;
00053 NotifierSettings m_settings;
00054 NotifierModuleView *m_view;
00055 };
00056
00057 #endif