• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdeui
 

kdeui

  • kdeui
kiconviewsearchline.h
1 /*
2  This file is part of the KDE libraries
3  Copyright (c) 2004 Gustavo Sverzut Barbieri <gsbarbieri@users.sourceforge.net>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License version 2 as published by the Free Software Foundation.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef KICONVIEWSEARCHLINE_H
21 #define KICONVIEWSEARCHLINE_H
22 
23 #include <klineedit.h>
24 #include <tqvaluelist.h>
25 
26 class TQIconView;
27 class TQIconViewItem;
28 
38 class KDEUI_EXPORT KIconViewSearchLine : public KLineEdit
39 {
40  Q_OBJECT
41 
42 public:
43 
51  KIconViewSearchLine( TQWidget *parent = 0,
52  TQIconView *iconView = 0,
53  const char *name = 0 );
54 
59  KIconViewSearchLine( TQWidget *parent, const char *name );
60 
64  virtual ~KIconViewSearchLine();
65 
71  bool caseSensitive() const;
72 
78  TQIconView *iconView() const;
79 
80 
81 public slots:
86  virtual void updateSearch( const TQString &s = TQString::null );
87 
93  void setCaseSensitive( bool cs );
94 
101  void setIconView( TQIconView *iv );
102 
103 
107  void clear();
108 
112  void iconDeleted(const TQString &filename);
113 
114 protected:
120  virtual bool itemMatches( const TQIconViewItem *item,
121  const TQString &s ) const;
122 
123 
127  void init( TQIconView *iconView = 0 );
128 
132  void hideItem( TQIconViewItem *item );
133 
140  void showItem( TQIconViewItem *item );
141 
142 
143 protected slots:
157  void queueSearch( const TQString &s );
158 
167  void activateSearch();
168 
169 
170 private slots:
174  void iconViewDeleted();
175 
176 
177 private:
178  class KIconViewSearchLinePrivate;
179  KIconViewSearchLinePrivate *d;
180 };
181 
182 
183 #endif /* KICONVIEWSEARCHLINE_H */

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeui

Skip menu "kdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdeui by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |