KDocTools
meinproc.cpp
Go to the documentation of this file.
131 if ( ckr == CheckFileDoesNotExist ) kError() << "File '" << checkFilename << "' does not exist.";
133 else if ( ckr == CheckFileIsNotReadable ) kError() << "File '" << checkFilename << "' is not readable.";
140 catalogs += KUrl::fromLocalFile( KStandardDirs::locate( "dtd", "customization/catalog.xml" ) ).toEncoded();
QString transform(const QString &pat, const QString &tss, const QVector< const char * > ¶ms)
Definition: xslt.cpp:130
QString i18n(const char *text)
static void addCmdLineOptions(const KCmdLineOptions &options, const KLocalizedString &name=KLocalizedString(), const QByteArray &id=QByteArray(), const QByteArray &afterId=QByteArray())
QStringList getOptionList(const QByteArray &option) const
KCmdLineOptions & add(const QByteArray &name, const KLocalizedString &description=KLocalizedString(), const QByteArray &defaultValue=QByteArray())
Definition: meinproc_common.h:10
KLocalizedString ki18n(const char *msg)
Definition: meinproc_common.h:12
static KCmdLineArgs * parsedArgs(const QByteArray &id=QByteArray())
static QString locate(const char *type, const QString &filename, const KComponentData &cData=KGlobal::mainComponent())
Definition: meinproc_common.h:11
void doOutput(QString output, bool usingStdOut, bool usingOutput, const QString &outputOption, bool replaceCharset)
Definition: meinproc_common.cpp:60
bool isExecutable(const QString &file)
static QDebug kError(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QString arg(int n) const
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
bool isSet(const QByteArray &option) const
int count() const
bool saveToCache(const QString &contents, const QString &filename)
Definition: xslt_kde.cpp:48
void output(QList< Action > actions, QHash< QString, QString > domain)
static void usage(const QByteArray &id=QByteArray())
CheckResult check(const QString &checkFilename, const QString &exe, const QByteArray &catalogs)
Definition: meinproc_common.cpp:29
KLocale * locale()
Definition: meinproc_common.h:13
static QString findExe(const QString &appname, const QString &pathstr=QString(), SearchOptions options=NoSearchOptions)
Definition: meinproc_common.h:20
static void init(int argc, char **argv, const QByteArray &appname, const QByteArray &catalog, const KLocalizedString &programName, const QByteArray &version, const KLocalizedString &description=KLocalizedString(), StdCmdLineArgs stdargs=StdCmdLineArgs(CmdLineArgQt|CmdLineArgKDE))
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QString getOption(const QByteArray &option) const
const KShortcut & end()
Definition: meinproc_common.h:22
void fillInstance(KComponentData &ins, const QString &srcdir=QString())
Definition: xslt_kde.cpp:27
QStringList list(const QString &fileClass)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.