• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kio/kio
 

kio/kio

Public Member Functions | Protected Member Functions
KShellCompletion Class Reference

#include <kshellcompletion.h>

Inheritance diagram for KShellCompletion:
KURLCompletion

List of all members.

Public Member Functions

 KShellCompletion ()
TQString makeCompletion (const TQString &text)

Protected Member Functions

void postProcessMatch (TQString *match) const
void postProcessMatches (TQStringList *matches) const
void postProcessMatches (KCompletionMatches *matches) const
virtual void virtual_hook (int id, void *data)

Detailed Description

This class does shell-like completion of file names.

A string passed to makeCompletion() will be interpreted as a shell command line. Completion will be done on the last argument on the line. Returned matches consist of the first arguments (uncompleted) plus the completed last argument.

Shell-like completion of file names

Author:
David Smith <dsmith@algonet.se>

Definition at line 40 of file kshellcompletion.h.


Constructor & Destructor Documentation

KShellCompletion::KShellCompletion ( )

Constructs a KShellCompletion object.

Definition at line 33 of file kshellcompletion.cpp.


Member Function Documentation

TQString KShellCompletion::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 KURLCompletion.

Definition at line 46 of file kshellcompletion.cpp.


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

kio/kio

Skip menu "kio/kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kio/kio

Skip menu "kio/kio"
  • 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 kio/kio by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |