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

tdeui

  • tdeui
tdelistviewlineedit.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
19#ifndef TDELISTVIEWLINEEDIT_H
20#define TDELISTVIEWLINEEDIT_H
21
22#include <klineedit.h>
23#include <tdelistview.h>
24
29class TDEUI_EXPORT TDEListViewLineEdit : public KLineEdit
30{
31TQ_OBJECT
32public:
33 TDEListViewLineEdit(TDEListView *parent);
34 ~TDEListViewLineEdit();
35
36 TQListViewItem *currentItem() const;
37 void setRenameSettings(const TDEListViewRenameSettings &renSett) { m_renSett = renSett; };
38
39signals:
40 void done(TQListViewItem*, int);
41
53 void renameNext(TQListViewItem* item, int col);
54
66 void renamePrev(TQListViewItem* item, int col);
67
68public slots:
69 void terminate();
70 void load(TQListViewItem *i, int c);
71
72protected:
73 virtual void focusOutEvent(TQFocusEvent *);
74 virtual void keyPressEvent(TQKeyEvent *e);
75 virtual void paintEvent(TQPaintEvent *e);
76 virtual bool event (TQEvent *pe);
77
79 void selectNextCell (TQListViewItem *pi, int column, bool forward);
80 void terminate(bool commit);
81 TQListViewItem *item;
82 int col;
83 TDEListView* const p;
84 TDEListViewRenameSettings m_renSett;
85
86protected slots:
87 void slotSelectionChanged();
88
90 void slotItemRemoved(TQListViewItem *i);
91
92};
93
94#endif
KLineEdit
An enhanced TQLineEdit widget for inputting text.
Definition: klineedit.h:146
KLineEdit::focusOutEvent
virtual void focusOutEvent(TQFocusEvent *)
Re-implemented for internal reasons.
Definition: klineedit.cpp:1353
KLineEdit::keyPressEvent
virtual void keyPressEvent(TQKeyEvent *)
Re-implemented for internal reasons.
Definition: klineedit.cpp:440
TDEListViewLineEdit
the editor for a TDEListView.
Definition: tdelistviewlineedit.h:30
TDEListViewLineEdit::renamePrev
void renamePrev(TQListViewItem *item, int col)
This signal is emitted when item renaming is completed by a Shift+TAB.
TDEListViewLineEdit::renameNext
void renameNext(TQListViewItem *item, int col)
This signal is emitted when item renaming is completed by a TAB.
TDEListView
This Widget extends the functionality of TQListView to honor the system wide settings for Single Clic...
Definition: tdelistview.h:85

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.4
This website is maintained by Timothy Pearson.