• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KDE3Support

  • kde3support
  • kdeui
k3listviewlineedit.h
Go to the documentation of this file.
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
22#include <klineedit.h>
23#include <k3listview.h>
24
29class K3ListViewLineEdit : public KLineEdit
30{
31Q_OBJECT
32public:
33 K3ListViewLineEdit(K3ListView *parent);
34 ~K3ListViewLineEdit();
35
36 Q3ListViewItem *currentItem() const;
37
38Q_SIGNALS:
39 void done(Q3ListViewItem*, int);
40
41public Q_SLOTS:
42 void terminate();
43 void load(Q3ListViewItem *i, int c);
44
45protected:
46 virtual void focusOutEvent(QFocusEvent *);
47 virtual void keyPressEvent(QKeyEvent *e);
48 virtual void paintEvent(QPaintEvent *e);
49 virtual bool event (QEvent *pe);
50 void selectNextCell (Q3ListViewItem *pi, int column, bool forward);
51 void terminate(bool commit);
52 Q3ListViewItem *item;
53 int col;
54 K3ListView* const p;
55
56protected Q_SLOTS:
57 void slotSelectionChanged();
58
59};
60
61#endif
K3ListViewLineEdit
the editor for a K3ListView.
Definition: k3listviewlineedit.h:30
K3ListViewLineEdit::load
void load(Q3ListViewItem *i, int c)
Definition: k3listview.cpp:201
K3ListViewLineEdit::selectNextCell
void selectNextCell(Q3ListViewItem *pi, int column, bool forward)
Definition: k3listview.cpp:282
K3ListViewLineEdit::paintEvent
virtual void paintEvent(QPaintEvent *e)
Definition: k3listview.cpp:397
K3ListViewLineEdit::keyPressEvent
virtual void keyPressEvent(QKeyEvent *e)
Definition: k3listview.cpp:349
K3ListViewLineEdit::item
Q3ListViewItem * item
Definition: k3listviewlineedit.h:52
K3ListViewLineEdit::done
void done(Q3ListViewItem *, int)
K3ListViewLineEdit::~K3ListViewLineEdit
~K3ListViewLineEdit()
Definition: k3listview.cpp:192
K3ListViewLineEdit::currentItem
Q3ListViewItem * currentItem() const
Definition: k3listview.cpp:196
K3ListViewLineEdit::slotSelectionChanged
void slotSelectionChanged()
Definition: k3listview.cpp:411
K3ListViewLineEdit::p
K3ListView *const p
Definition: k3listviewlineedit.h:54
K3ListViewLineEdit::col
int col
Definition: k3listviewlineedit.h:53
K3ListViewLineEdit::focusOutEvent
virtual void focusOutEvent(QFocusEvent *)
Definition: k3listview.cpp:387
K3ListViewLineEdit::event
virtual bool event(QEvent *pe)
Definition: k3listview.cpp:330
K3ListViewLineEdit::terminate
void terminate()
Definition: k3listview.cpp:364
K3ListView
This Widget extends the functionality of Q3ListView to honor the system wide settings for Single Clic...
Definition: k3listview.h:58
KLineEdit
Q3ListViewItem
QEvent
k3listview.h
klineedit.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDE3Support

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

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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