00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef NAUGHTY_CONFIG_DIALOG_H
00022 #define NAUGHTY_CONFIG_DIALOG_H
00023
00024 #include <kdialogbase.h>
00025
00026 class KEditListBox;
00027 class KIntNumInput;
00028
00029 class NaughtyConfigDialog : public KDialogBase
00030 {
00031 Q_OBJECT
00032
00033 public:
00034
00035 NaughtyConfigDialog
00036 (
00037 const TQStringList & items,
00038 uint interval,
00039 uint threshold,
00040 TQWidget * parent = 0,
00041 const char * name = 0
00042 );
00043
00044 ~NaughtyConfigDialog();
00045
00046 TQStringList ignoreList() const;
00047 uint updateInterval() const;
00048 uint threshold() const;
00049
00050 private:
00051
00052 KEditListBox * listBox_;
00053
00054 KIntNumInput * kini_updateInterval_;
00055 KIntNumInput * kini_threshold_;
00056 };
00057
00058 #endif