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

tdeui

Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
TDEListViewLineEdit Class Reference

#include <tdelistviewlineedit.h>

Inheritance diagram for TDEListViewLineEdit:
KLineEdit TDECompletionBase

Public Slots

void terminate ()
 
void load (TQListViewItem *i, int c)
 
- Public Slots inherited from KLineEdit
virtual void setReadOnly (bool)
 
void rotateText (TDECompletionBase::KeyBindingType type)
 
virtual void setCompletedText (const TQString &)
 
void setCompletedItems (const TQStringList &items)
 
void setCompletedItems (const TQStringList &items, bool autoSuggest)
 
virtual void clear ()
 
void setSqueezedText (const TQString &text)
 
virtual void setText (const TQString &)
 

Signals

void done (TQListViewItem *, int)
 
void renameNext (TQListViewItem *item, int col)
 
void renamePrev (TQListViewItem *item, int col)
 
- Signals inherited from KLineEdit
void completionBoxActivated (const TQString &)
 
void returnPressed (const TQString &)
 
void completion (const TQString &)
 
void substringCompletion (const TQString &)
 
void textRotation (TDECompletionBase::KeyBindingType)
 
void completionModeChanged (TDEGlobalSettings::Completion)
 
void aboutToShowContextMenu (TQPopupMenu *p)
 

Public Member Functions

 TDEListViewLineEdit (TDEListView *parent)
 
TQListViewItem * currentItem () const
 
void setRenameSettings (const TDEListViewRenameSettings &renSett)
 
- Public Member Functions inherited from KLineEdit
 KLineEdit (const TQString &string, TQWidget *parent, const char *name=0)
 
 KLineEdit (TQWidget *parent=0, const char *name=0)
 
virtual ~KLineEdit ()
 
void setURL (const KURL &url)
 
void cursorAtEnd ()
 
virtual void setCompletionMode (TDEGlobalSettings::Completion mode)
 
virtual void setContextMenuEnabled (bool showMenu)
 
bool isContextMenuEnabled () const
 
void setURLDropsEnabled (bool enable)
 
bool isURLDropsEnabled () const
 
void setTrapReturnKey (bool trap)
 
bool trapReturnKey () const
 
virtual bool eventFilter (TQObject *, TQEvent *)
 
TDECompletionBox * completionBox (bool create=true)
 
virtual void setCompletionObject (TDECompletion *, bool hsig=true)
 
virtual void copy () const
 
void setEnableSqueezedText (bool enable)
 
bool isSqueezedTextEnabled () const
 
TQString originalText () const
 
void setCompletionBox (TDECompletionBox *box)
 
void setClickMessage (const TQString &msg)
 
TQString clickMessage () const
 
- Public Member Functions inherited from TDECompletionBase
TDECompletion * completionObject (bool hsig=true)
 
virtual void setCompletionObject (TDECompletion *compObj, bool hsig=true)
 
virtual void setHandleSignals (bool handle)
 
bool isCompletionObjectAutoDeleted () const
 
void setAutoDeleteCompletionObject (bool autoDelete)
 
void setEnableSignals (bool enable)
 
bool handleSignals () const
 
bool emitSignals () const
 
virtual void setCompletionMode (TDEGlobalSettings::Completion mode)
 
TDEGlobalSettings::Completion completionMode () const
 
bool setKeyBinding (KeyBindingType item, const TDEShortcut &key)
 
const TDEShortcut & getKeyBinding (KeyBindingType item) const
 
void useGlobalKeyBindings ()
 
virtual void setCompletedText (const TQString &text)=0
 
virtual void setCompletedItems (const TQStringList &items)=0
 
TDECompletion * compObj () const
 

Protected Slots

void slotSelectionChanged ()
 
void slotItemRemoved (TQListViewItem *i)
 
- Protected Slots inherited from KLineEdit
virtual void makeCompletion (const TQString &)
 
void slotAboutToShow ()
 
void slotCancelled ()
 
void userCancelled (const TQString &cancelText)
 

Protected Member Functions

virtual void focusOutEvent (TQFocusEvent *)
 
virtual void keyPressEvent (TQKeyEvent *e)
 
virtual void paintEvent (TQPaintEvent *e)
 
virtual bool event (TQEvent *pe)
 
void selectNextCell (TQListViewItem *pi, int column, bool forward)
 
void terminate (bool commit)
 
- Protected Member Functions inherited from KLineEdit
virtual void resizeEvent (TQResizeEvent *)
 
virtual void keyPressEvent (TQKeyEvent *)
 
virtual void mousePressEvent (TQMouseEvent *)
 
virtual void mouseDoubleClickEvent (TQMouseEvent *)
 
virtual void mouseReleaseEvent (TQMouseEvent *)
 
virtual void contextMenuEvent (TQContextMenuEvent *)
 
virtual TQPopupMenu * createPopupMenu ()
 
virtual void drawContents (TQPainter *p)
 
virtual void dropEvent (TQDropEvent *)
 
virtual void setCompletedText (const TQString &, bool)
 
void setUserSelection (bool userSelection)
 
virtual void create (WId=0, bool initializeWindow=true, bool destroyOldWindow=true)
 
virtual void focusInEvent (TQFocusEvent *)
 
virtual void focusOutEvent (TQFocusEvent *)
 
bool autoSuggest () const
 
virtual void virtual_hook (int id, void *data)
 
- Protected Member Functions inherited from TDECompletionBase
KeyBindingMap getKeyBindings () const
 
void setDelegate (TDECompletionBase *delegate)
 
TDECompletionBase * delegate () const
 

Protected Attributes

TQListViewItem * item
 
int col
 
TDEListView *const p
 
TDEListViewRenameSettings m_renSett
 

Additional Inherited Members

- Public Types inherited from TDECompletionBase
enum  KeyBindingType
 
- Public Attributes inherited from TDECompletionBase
 TextCompletion
 
 PrevCompletionMatch
 
 NextCompletionMatch
 
 SubstringCompletion
 

Detailed Description

the editor for a TDEListView.

please don't use this.

Definition at line 29 of file tdelistviewlineedit.h.

Constructor & Destructor Documentation

◆ TDEListViewLineEdit()

TDEListViewLineEdit::TDEListViewLineEdit ( TDEListView *  parent)

Definition at line 187 of file tdelistview.cpp.

◆ ~TDEListViewLineEdit()

TDEListViewLineEdit::~TDEListViewLineEdit ( )

Definition at line 197 of file tdelistview.cpp.

Member Function Documentation

◆ currentItem()

TQListViewItem * TDEListViewLineEdit::currentItem ( ) const

Definition at line 201 of file tdelistview.cpp.

◆ event()

bool TDEListViewLineEdit::event ( TQEvent *  pe)
protectedvirtual

Definition at line 335 of file tdelistview.cpp.

◆ focusOutEvent()

void TDEListViewLineEdit::focusOutEvent ( TQFocusEvent *  ev)
protectedvirtual

Re-implemented for internal reasons.

API not affected.

See TQLineEdit::focusOutEvent().

Reimplemented from KLineEdit.

Definition at line 413 of file tdelistview.cpp.

◆ keyPressEvent()

void TDEListViewLineEdit::keyPressEvent ( TQKeyEvent *  e)
protectedvirtual

Re-implemented for internal reasons.

API not affected.

See TQLineEdit::keyPressEvent().

Reimplemented from KLineEdit.

Definition at line 358 of file tdelistview.cpp.

◆ load

void TDEListViewLineEdit::load ( TQListViewItem *  i,
int  c 
)
slot

Definition at line 206 of file tdelistview.cpp.

◆ paintEvent()

void TDEListViewLineEdit::paintEvent ( TQPaintEvent *  e)
protectedvirtual

Definition at line 423 of file tdelistview.cpp.

◆ renameNext

void TDEListViewLineEdit::renameNext ( TQListViewItem *  item,
int  col 
)
signal

This signal is emitted when item renaming is completed by a TAB.

It signals the receiver that the sender would like to start renaming the next item. This is not hardcoded in TDEListView because the next item is application depended (for example it could be the next column or the next row or something completely different)

Parameters
itemis the renamed item.
colis the renamed column.
Since
14.0

◆ renamePrev

void TDEListViewLineEdit::renamePrev ( TQListViewItem *  item,
int  col 
)
signal

This signal is emitted when item renaming is completed by a Shift+TAB.

It signals the receiver that the sender would like to start renaming the previous item. This is not hardcoded in TDEListView because the next item is application depended (for example it could be the next column or the next row or something completely different)

Parameters
itemis the renamed item.
colis the renamed column.
Since
14.0

◆ selectNextCell()

void TDEListViewLineEdit::selectNextCell ( TQListViewItem *  pi,
int  column,
bool  forward 
)
protected
Since
3.1

Definition at line 287 of file tdelistview.cpp.

◆ setRenameSettings()

void TDEListViewLineEdit::setRenameSettings ( const TDEListViewRenameSettings &  renSett)
inline

Definition at line 37 of file tdelistviewlineedit.h.

◆ slotItemRemoved

void TDEListViewLineEdit::slotItemRemoved ( TQListViewItem *  i)
protectedslot
Since
3.5.4

Definition at line 446 of file tdelistview.cpp.

◆ slotSelectionChanged

void TDEListViewLineEdit::slotSelectionChanged ( )
protectedslot

Definition at line 437 of file tdelistview.cpp.

◆ terminate [1/2]

void TDEListViewLineEdit::terminate ( )
slot

Definition at line 390 of file tdelistview.cpp.

◆ terminate() [2/2]

void TDEListViewLineEdit::terminate ( bool  commit)
protected

Definition at line 395 of file tdelistview.cpp.

Member Data Documentation

◆ col

int TDEListViewLineEdit::col
protected

Definition at line 82 of file tdelistviewlineedit.h.

◆ item

TQListViewItem* TDEListViewLineEdit::item
protected

Definition at line 81 of file tdelistviewlineedit.h.

◆ m_renSett

TDEListViewRenameSettings TDEListViewLineEdit::m_renSett
protected

Definition at line 84 of file tdelistviewlineedit.h.

◆ p

TDEListView* const TDEListViewLineEdit::p
protected

Definition at line 83 of file tdelistviewlineedit.h.


The documentation for this class was generated from the following files:
  • tdelistviewlineedit.h
  • tdelistview.cpp

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.