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

kate

Public Member Functions | Protected Member Functions | List of all members
KateCmdShellCompletion Class Reference

#include <katecmd.h>

Inheritance diagram for KateCmdShellCompletion:
TDECompletion

Public Member Functions

TQString makeCompletion (const TQString &text)
 
- Public Member Functions inherited from TDECompletion
virtual TQString makeCompletion (const TQString &string)
 
TQStringList substringCompletion (const TQString &string) const
 
TQString previousMatch ()
 
TQString nextMatch ()
 
virtual const TQString & lastMatch () const
 
TQStringList items () const
 
bool isEmpty () const
 
virtual void setCompletionMode (TDEGlobalSettings::Completion mode)
 
TDEGlobalSettings::Completion completionMode () const
 
virtual void setOrder (CompOrder order)
 
CompOrder order () const
 
virtual void setIgnoreCase (bool ignoreCase)
 
bool ignoreCase () const
 
TQStringList allMatches ()
 
TQStringList allMatches (const TQString &string)
 
TDECompletionMatches allWeightedMatches ()
 
TDECompletionMatches allWeightedMatches (const TQString &string)
 
virtual void setEnableSounds (bool enable)
 
bool isSoundsEnabled () const
 
bool hasMultipleMatches () const
 
void enableSounds ()
 
void disableSounds ()
 

Protected Member Functions

void postProcessMatch (TQString *match) const
 
void postProcessMatches (TQStringList *matches) const
 
void postProcessMatches (TDECompletionMatches *matches) const
 
virtual void postProcessMatch (TQString *match) const
 
virtual void postProcessMatches (TQStringList *matches) const
 
virtual void postProcessMatches (TDECompletionMatches *matches) const
 

Additional Inherited Members

- Public Types inherited from TDECompletion
enum  CompOrder
 
- Public Slots inherited from TDECompletion
void slotMakeCompletion (const TQString &string)
 
void slotPreviousMatch ()
 
void slotNextMatch ()
 
void insertItems (const TQStringList &items)
 
virtual void setItems (const TQStringList &list)
 
void addItem (const TQString &item)
 
void addItem (const TQString &item, uint weight)
 
void removeItem (const TQString &item)
 
virtual void clear ()
 
- Signals inherited from TDECompletion
void match (const TQString &item)
 
void matches (const TQStringList &matchlist)
 
void multipleMatches ()
 
- Public Attributes inherited from TDECompletion
 Sorted
 
 Insertion
 
 Weighted
 

Detailed Description

A TDECompletion object that completes last ?unquoted? word in the string passed.

Dont mistake "shell" for anything related to quoting, this simply mimics shell tab completion by completing the last word in the provided text.

Definition at line 61 of file katecmd.h.

Constructor & Destructor Documentation

◆ KateCmdShellCompletion()

KateCmdShellCompletion::KateCmdShellCompletion ( )

Definition at line 125 of file katecmd.cpp.

Member Function Documentation

◆ makeCompletion()

TQString KateCmdShellCompletion::makeCompletion ( const TQString &  text)
virtual

Finds completions to the given text.

The first match is returned and emitted in the signal match().

Parameters
textthe text to complete
Returns
the first match, or TQString::null if not found

Reimplemented from TDECompletion.

Definition at line 134 of file katecmd.cpp.

◆ postProcessMatch()

void KateCmdShellCompletion::postProcessMatch ( TQString *  match) const
protectedvirtual

Reimplemented from TDECompletion.

Definition at line 145 of file katecmd.cpp.

◆ postProcessMatches() [1/2]

void KateCmdShellCompletion::postProcessMatches ( TDECompletionMatches *  matches) const
protectedvirtual

Reimplemented from TDECompletion.

Definition at line 161 of file katecmd.cpp.

◆ postProcessMatches() [2/2]

void KateCmdShellCompletion::postProcessMatches ( TQStringList *  matches) const
protectedvirtual

Reimplemented from TDECompletion.

Definition at line 153 of file katecmd.cpp.


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

kate

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

kate

Skip menu "kate"
  • 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 kate by doxygen 1.9.4
This website is maintained by Timothy Pearson.