kshell.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef _KSHELL_H
00022 #define _KSHELL_H
00023
00024 #include <qstring.h>
00025 #include <qstringlist.h>
00026
00032 namespace KShell {
00033
00037 enum Options {
00038 NoOptions = 0,
00039
00043 TildeExpand = 1,
00044
00055 AbortOnMeta = 2
00056 };
00057
00061 enum Errors {
00065 NoError = 0,
00066
00070 BadQuoting,
00071
00076 FoundMeta
00077 };
00078
00090 QStringList splitArgs( const QString &cmd, int flags = 0, int *err = 0 );
00091
00098 QString joinArgs( const QStringList &args );
00099
00110 QString joinArgsDQ( const QStringList &args );
00111
00121 QString joinArgs( const char * const *argv, int argc = -1 );
00122
00130 QString tildeExpand( const QString &path );
00131
00139 QString homeDir( const QString &user );
00140
00141 }
00142
00143
00144 #endif
This file is part of the documentation for kdecore Library Version 3.3.0.