knode
knfilterdialog.h
Go to the documentation of this file.00001 /* 00002 KNode, the KDE newsreader 00003 Copyright (c) 1999-2005 the KNode authors. 00004 See file AUTHORS for details 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 You should have received a copy of the GNU General Public License 00011 along with this program; if not, write to the Free Software Foundation, 00012 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US 00013 */ 00014 00015 #ifndef KNFILTERDIALOG_H 00016 #define KNFILTERDIALOG_H 00017 00018 #include <kdialog.h> 00019 00020 class KNFilterConfigWidget; 00021 class KNArticleFilter; 00022 class KLineEdit; 00023 class QComboBox; 00024 class QCheckBox; 00025 00026 00028 class KNFilterDialog : public KDialog { 00029 00030 Q_OBJECT 00031 00032 friend class KNFilterManager; 00033 00034 public: 00035 KNFilterDialog( KNArticleFilter *f = 0, QWidget *parent = 0 ); 00036 ~KNFilterDialog(); 00037 00038 KNArticleFilter* filter() { return fltr; } 00039 00040 protected: 00041 KNFilterConfigWidget *fw; 00042 KLineEdit *fname; 00043 QComboBox *apon; 00044 QCheckBox *enabled; 00045 00046 KNArticleFilter *fltr; 00047 00048 protected slots: 00049 void slotOk(); 00050 void slotTextChanged( const QString & ); 00051 }; 00052 00053 #endif
KDE 4.2 API Reference