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

kaddressbook

  • sources
  • kde-4.12
  • kdepim
  • kaddressbook
quicksearchwidget.h
Go to the documentation of this file.
1 /*
2  This file is part of KAddressBook.
3 
4  Copyright (c) 2009 Tobias Koenig <tokoe@kde.org>
5 
6  This library is free software; you can redistribute it and/or modify it
7  under the terms of the GNU Library General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or (at your
9  option) any later version.
10 
11  This library is distributed in the hope that it will be useful, but WITHOUT
12  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
14  License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  along with this library; see the file COPYING.LIB. If not, write to the
18  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19  02110-1301, USA.
20 */
21 
22 #ifndef QUICKSEARCHWIDGET_H
23 #define QUICKSEARCHWIDGET_H
24 
25 #include <QWidget>
26 
27 class KLineEdit;
28 
39 class QuickSearchWidget : public QWidget
40 {
41  Q_OBJECT
42 
43  public:
49  explicit QuickSearchWidget( QWidget *parent = 0 );
50 
54  virtual ~QuickSearchWidget();
55 
59  virtual QSize sizeHint() const;
60 
61  Q_SIGNALS:
68  void filterStringChanged( const QString &filterString );
69 
76  void arrowDownKeyPressed();
77 
78  private Q_SLOTS:
79  void resetTimer();
80  void delayedTextChanged();
81 
82  protected:
83  void keyPressEvent( QKeyEvent * );
84 
85  private:
86  KLineEdit *mEdit;
87  QTimer *mTimer;
88 };
89 
90 #endif
QuickSearchWidget::sizeHint
virtual QSize sizeHint() const
Returns the size hint of the quick search widget.
Definition: quicksearchwidget.cpp:61
QuickSearchWidget::filterStringChanged
void filterStringChanged(const QString &filterString)
This signal is emitted whenever the user has changed the filter string in the line edit...
QuickSearchWidget::~QuickSearchWidget
virtual ~QuickSearchWidget()
Destroys the quick search widget.
Definition: quicksearchwidget.cpp:57
QuickSearchWidget::arrowDownKeyPressed
void arrowDownKeyPressed()
This signal is emitted whenever the user pressed the arrow down key.
QuickSearchWidget::QuickSearchWidget
QuickSearchWidget(QWidget *parent=0)
Creates the quick search widget.
Definition: quicksearchwidget.cpp:31
QuickSearchWidget
The quick search widget from the toolbar.
Definition: quicksearchwidget.h:39
QuickSearchWidget::keyPressEvent
void keyPressEvent(QKeyEvent *)
Definition: quicksearchwidget.cpp:79
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kaddressbook

Skip menu "kaddressbook"
  • 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

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