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

kdeui

  • kdeui
klistviewlineedit.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2000 Charles Samuels <charles@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 #ifndef KLISTVIEWLINEEDIT_H
19 #define KLISTVIEWLINEEDIT_H
20 
21 #include <klineedit.h>
22 #include <klistview.h>
23 
28 class KDEUI_EXPORT KListViewLineEdit : public KLineEdit
29 {
30 Q_OBJECT
31 public:
32  KListViewLineEdit(KListView *parent);
33  ~KListViewLineEdit();
34 
35  TQListViewItem *currentItem() const;
36 
37 signals:
38  void done(TQListViewItem*, int);
39 
40 public slots:
41  void terminate();
42  void load(TQListViewItem *i, int c);
43 
44 protected:
45  virtual void focusOutEvent(TQFocusEvent *);
46  virtual void keyPressEvent(TQKeyEvent *e);
47  virtual void paintEvent(TQPaintEvent *e);
48  virtual bool event (TQEvent *pe);
49 
51  void selectNextCell (TQListViewItem *pi, int column, bool forward);
52  void terminate(bool commit);
53  TQListViewItem *item;
54  int col;
55  KListView* const p;
56 
57 protected slots:
58  void slotSelectionChanged();
59 
61  void slotItemRemoved(TQListViewItem *i);
62 
63 };
64 
65 #endif

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.3.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |