|
|
This class does completion of URLs including user directories (~user) and environment variables. Remote URLs are passed to KIO.
enum |
Determines how completion is done ExeCompletion - executables in $PATH or with full path FileCompletion - all files with full path or in dir(), URLs are listed using KIO
|
This overloaded constructor allows you to set the Mode to ExeCompletion or FileCompletion without using setMode
QString |
[virtual]
Find completions to the given text
Remote URLs are listed with KIO. For performance reasons, local files are listed with KIO only if KURLCOMPLETION_LOCAL_KIO is set. The completion is done asyncronously if KIO is used.
Returns the first match for user, environment, and local dir completion and QString::null for asyncronous completion (KIO)
Reimplemented from KCompletion
void |
[virtual]
Set the current directory (used as base for completion) Default = $HOME
QString |
[virtual]
Get the current directory
bool |
[virtual]
Returns true if asyncronous completion is in progress
void |
[virtual]
Stop asyncronous copmpletion
Mode |
[virtual]
Return completion mode: exe or file completion (default FileCompletion)
void |
[virtual]
Change completion mode: exe or file completion
bool |
[virtual]
Replace environment variables when doing completion (default true)
bool |
[virtual]
Replace user home dirs (~user) when doing completion (default true)