filterlogdlg.h
00001 /* 00002 This file is part of KMail. 00003 Copyright (c) 2003 Andreas Gungl <a.gungl@gmx.de> 00004 00005 KMail is free software; you can redistribute it and/or modify it 00006 under the terms of the GNU General Public License, version 2, as 00007 published by the Free Software Foundation. 00008 00009 KMail is distributed in the hope that it will be useful, but 00010 WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; if not, write to the Free Software 00016 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00017 00018 In addition, as a special exception, the copyright holders give 00019 permission to link the code of this program with any edition of 00020 the TQt library by Trolltech AS, Norway (or with modified versions 00021 of TQt that use the same license as TQt), and distribute linked 00022 combinations including the two. You must obey the GNU General 00023 Public License in all respects for all of the code used other than 00024 TQt. If you modify this file, you may extend this exception to 00025 your version of the file, but you are not obligated to do so. If 00026 you do not wish to do so, delete this exception statement from 00027 your version. 00028 */ 00029 #ifndef KMAIL_FILTERLOGDLG_H 00030 #define KMAIL_FILTERLOGDLG_H 00031 00032 #include <kdialogbase.h> 00033 00034 class TQTextEdit; 00035 class TQCheckBox; 00036 class TQSpinBox; 00037 class TQGroupBox; 00038 00039 namespace KMail { 00040 00048 class FilterLogDialog : public KDialogBase 00049 { 00050 Q_OBJECT 00051 00052 00053 public: 00055 FilterLogDialog( TQWidget * parent ); 00056 00057 protected slots: 00058 void slotLogEntryAdded( TQString logEntry ); 00059 void slotLogShrinked(); 00060 void slotLogStateChanged(); 00061 void slotChangeLogDetail(); 00062 void slotSwitchLogState(); 00063 void slotChangeLogMemLimit( int value ); 00064 00065 protected: 00066 virtual void slotUser1(); 00067 virtual void slotUser2(); 00068 00069 TQTextEdit * mTextEdit; 00070 TQCheckBox * mLogActiveBox; 00071 TQGroupBox * mLogDetailsBox; 00072 TQCheckBox * mLogPatternDescBox; 00073 TQCheckBox * mLogRuleEvaluationBox; 00074 TQCheckBox * mLogPatternResultBox; 00075 TQCheckBox * mLogFilterActionBox; 00076 TQSpinBox * mLogMemLimitSpin; 00077 }; 00078 00079 } // namespace KMail 00080 00081 #endif // KMAIL_FILTERLOGDLG_H