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)
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
static void addCmdLineOptions(const KCmdLineOptions &options, const KLocalizedString &name=KLocalizedString(), const QByteArray &id=QByteArray(), const QByteArray &afterId=QByteArray())
QStringList getOptionList(const QByteArray &option) const
void append(const T &value)
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
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
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)
QString simplified() const
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
int count(const T &value) const
void append(const T &value)
QString fromUtf8(const char *str, int size)
bool saveToCache(const QString &contents, const QString &filename)
Definition: xslt_kde.cpp:48
void output(QList< Action > actions, QHash< QString, QString > domain)
bool isEmpty() const
static void usage(const QByteArray &id=QByteArray())
iterator end()
CheckResult check(const QString &checkFilename, const QString &exe, const QByteArray &catalogs)
Definition: meinproc_common.cpp:29
KLocale * locale()
QByteArray toLatin1() const
Definition: meinproc_common.h:13
QString mid(int position, int n) const
static QString findExe(const QString &appname, const QString &pathstr=QString(), SearchOptions options=NoSearchOptions)
typedef ConstIterator
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))
char * data()
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QString left(int n) const
QString getOption(const QByteArray &option) const
const_iterator constEnd() const
const_iterator constBegin() const
const KShortcut & end()
Definition: meinproc_common.h:22
iterator begin()
void fillInstance(KComponentData &ins, const QString &srcdir=QString())
Definition: xslt_kde.cpp:27
QByteArray toEncoded(QFlags< QUrl::FormattingOption > options) const
QByteArray encodeName(const QString &fileName)
QUrl fromLocalFile(const QString &localFile)
QStringList list(const QString &fileClass)
QByteArray toUtf8() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.