kmail Library API Documentation

headerlistquicksearch.h

00001 /* -*- mode: C++ -*- 00002 This file is part of KMail, the KDE mail client. 00003 Copyright (c) 2004 Till Adam <adam@kde.org> 00004 00005 KMail is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; either version 2 of the License, or 00008 (at your option) any later version. 00009 00010 KMail is distributed in the hope that it will be useful, but 00011 WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 00019 In addition, as a special exception, the copyright holders give 00020 permission to link the code of this program with any edition of 00021 the Qt library by Trolltech AS, Norway (or with modified versions 00022 of Qt that use the same license as Qt), and distribute linked 00023 combinations including the two. You must obey the GNU General 00024 Public License in all respects for all of the code used other than 00025 Qt. If you modify this file, you may extend this exception to 00026 your version of the file, but you are not obligated to do so. If 00027 you do not wish to do so, delete this exception statement from 00028 your version. 00029 */ 00030 00031 #ifndef KMAILHEADERLISTQUICKSEARCH_H 00032 #define KMAILHEADERLISTQUICKSEARCH_H 00033 00034 #include "kmmsgbase.h" // for KMMsgStatus 00035 #include <klistviewsearchline_pimcopy.h> 00036 class QComboBox; 00037 class QLabel; 00038 class KListView; 00039 class KActionCollection; 00040 00041 namespace KMail { 00042 00043 class HeaderListQuickSearch : public KPIM::KListViewSearchLine 00044 { 00045 Q_OBJECT 00046 public: 00047 HeaderListQuickSearch( QWidget *parent, 00048 KListView *listView, 00049 KActionCollection *actionCollection, 00050 const char *name = 0 ); 00051 virtual ~HeaderListQuickSearch(); 00052 public slots: 00053 void reset(); 00054 00055 protected: 00060 virtual bool itemMatches(const QListViewItem *item, const QString &s) const; 00061 00062 private slots: 00067 void slotStatusChanged( int index ); 00068 00069 private: 00070 QComboBox *mStatusCombo; 00071 KMMsgStatus mStatus; 00072 }; 00073 00074 } 00075 00076 #endif
KDE Logo
This file is part of the documentation for kmail Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 19:46:45 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003