• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

akregator

  • sources
  • kde-4.14
  • kdepim
  • akregator
  • src
searchbar.h
Go to the documentation of this file.
1 /*
2  This file is part of Akregator.
3 
4  Copyright (C) 2005 Frank Osterfeld <osterfeld@kde.org>
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program; if not, write to the Free Software
18  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 
20  As a special exception, permission is given to link this program
21  with any edition of Qt, and distribute the resulting executable,
22  without including the source code for Qt in the source distribution.
23 */
24 
25 #ifndef AKREGATOR_SEARCHBAR_H
26 #define AKREGATOR_SEARCHBAR_H
27 
28 #include <khbox.h>
29 
30 #ifndef Q_MOC_RUN
31 #include <boost/shared_ptr.hpp>
32 #endif
33 #include <vector>
34 
35 class QString;
36 
37 namespace Akregator
38 {
39 
40 namespace Filters
41 {
42  class AbstractMatcher;
43 }
44 
45 class SearchBar : public KHBox
46 {
47  Q_OBJECT
48 
49  public:
50 
51  explicit SearchBar(QWidget* parent=0);
52  ~SearchBar();
53 
54  QString text() const;
55  int status() const;
56 
57  void setDelay(int ms);
58  int delay() const;
59 
60  std::vector<boost::shared_ptr<const Filters::AbstractMatcher> > matchers() const;
61 
62  signals:
64  void signalSearch( const std::vector<boost::shared_ptr<const Akregator::Filters::AbstractMatcher> > & );
65 
66  public slots:
67  void slotClearSearch();
68  void slotSetStatus(int status);
69  void slotSetText(const QString& text);
70 
71  private slots:
72 
73  void slotSearchStringChanged(const QString& search);
74  void slotSearchComboChanged(int index);
75  void slotActivateSearch();
76 
77  private:
78 
79  class SearchBarPrivate;
80  SearchBarPrivate* d;
81 };
82 
83 } // namespace Akregator
84 
85 #endif //AKREGATOR_SEARCHBAR_H
QWidget
Akregator::SearchBar::slotSetStatus
void slotSetStatus(int status)
Definition: searchbar.cpp:149
Akregator::SearchBar::~SearchBar
~SearchBar()
Definition: searchbar.cpp:112
Akregator::SearchBar::matchers
std::vector< boost::shared_ptr< const Filters::AbstractMatcher > > matchers() const
Definition: searchbar.cpp:166
Akregator::SearchBar::SearchBar
SearchBar(QWidget *parent=0)
Definition: searchbar.cpp:69
Akregator::SearchBar::delay
int delay() const
Definition: searchbar.cpp:133
Akregator::SearchBar::setDelay
void setDelay(int ms)
Definition: searchbar.cpp:128
Akregator::SearchBar::status
int status() const
Definition: searchbar.cpp:123
QString
Akregator::SearchBar::slotSetText
void slotSetText(const QString &text)
Definition: searchbar.cpp:155
Akregator::SearchBar::text
QString text() const
Definition: searchbar.cpp:118
Akregator::SearchBar::slotClearSearch
void slotClearSearch()
Definition: searchbar.cpp:138
KHBox
Akregator::SearchBar
Definition: searchbar.h:45
Akregator::SearchBar::signalSearch
void signalSearch(const std::vector< boost::shared_ptr< const Akregator::Filters::AbstractMatcher > > &)
emitted when the text and status filters were updated.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akregator

Skip menu "akregator"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal