KDELibs4Support
kdebug.cpp
179 const QString formatted = qFormatLogMessage(QtDebugMsg /*hack*/, context, QString::fromUtf8(buf));
238 DefaultOutput = QtOutput, // if you change DefaultOutput, also change the defaults in kdebugdialog!
303 areaData.name = qApp ? QCoreApplication::applicationName().toUtf8() : QByteArray("unnamed app");
310 QString filename(QStandardPaths::locate(QStandardPaths::GenericConfigLocation, QLatin1String("kdebug.areas")));
461 //qDebug() << "First debug output from" << it->name << "writing out with default" << enableByDefault;
587 #if 0 // This is in Qt now, see %{function} in QT_MESSAGE_PATTERN (qlogging.cpp). Only the coloring is missing (TODO Qt-5.1)
800 QDebug kDebugStream(QtMsgType level, int area, const char *file, int line, const char *funcinfo)
953 << qPrintable(QString::fromLatin1("[DELAY Took (quite long) %3s]").arg(QString::number(duration, 'g', 2)));
typedef Iterator
bool isDateOnly() const
Returns whether the instance represents a date/time or a date-only value.
Definition: kdatetime.cpp:877
KCALENDARCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalendarCore::Alarm::Ptr &)
void setLocalData(T data)
QString number(int n, int base)
WriteOnly
QString fromUtf8(const char *str, int size)
NoGlobals
QByteArray fromRawData(const char *data, int size)
void setAutoInsertSpaces(bool b)
int indexOf(char ch, int from) const const
Type type(const QSqlDatabase &db)
QDateTime currentDateTime()
QDebug kDebugStream(QtMsgType level, int area, const char *file, int line, const char *funcinfo)
Definition: kdebug.cpp:800
KCOREADDONS_EXPORT void message(KMessage::MessageType messageType, const QString &text, const QString &caption=QString())
QDebug & nospace()
QStringView level(QStringView ifopt)
virtual bool open(QIODevice::OpenMode mode)
QDebug & space()
QByteArray trimmed() const const
static KDELIBS4SUPPORT_DEPRECATED_EXPORT_NOISE bool hasNullOutput(QtMsgType type, bool condition, int area, bool enableByDefault)
Definition: kdebug.cpp:853
QString locate(QStandardPaths::StandardLocation type, const QString &fileName, QStandardPaths::LocateOptions options)
bool exists() const const
uint toUInt(bool *ok, int base) const const
char at(int i) const const
Q_GLOBAL_STATIC(Internal::StaticControl, s_instance) class ControlPrivate
int lastIndexOf(char ch, int from) const const
static bool hasNullOutputQtDebugMsg(int area=KDE_DEFAULT_DEBUG_AREA)
Definition: kdebug.h:334
bool hasLocalData() const const
QString fromLocal8Bit(const char *str, int size)
A class representing a date and time with an associated time zone.
Definition: kdatetime.h:148
QByteArray mid(int pos, int len) const const
QByteArray toUtf8() const const
virtual bool isSequential() const const
Q_SCRIPTABLE CaptureState status()
Get the current networking status If the result is Unknown, the backend may be unconfigured or otherw...
Definition: networking.cpp:40
qint64 elapsed() const const
applicationName
static KDELIBS4SUPPORT_DEPRECATED_EXPORT_NOISE int registerArea(const QByteArray &areaName, bool enabled=true)
Definition: kdebug.cpp:891
virtual qint64 readLineData(char *data, qint64 maxSize)
QString label(StandardShortcut id)
QAction * clear(const QObject *recvr, const char *slot, QObject *parent)
GenericConfigLocation
QByteArray left(int len) const const
bool isEmpty() const const
const char * constData() const const
QString fromLatin1(const char *str, int size)
const char * name(StandardAction id)
KIOCORE_EXPORT QString number(KIO::filesize_t size)
QString toString(const QString &format) const
Returns the date/time as a string.
Definition: kdatetime.cpp:1482
int length() const const
Information
void truncate(int pos)
virtual qint64 writeData(const char *data, qint64 maxSize)=0
T & localData()
Definition: kdebug.h:300
virtual qint64 readData(char *data, qint64 maxSize)=0
Category category(StandardShortcut id)
const QList< QKeySequence > & end()
char * toString(const EngineQuery &query)
QByteArray & insert(int i, char ch)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Dec 8 2023 03:58:25 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Dec 8 2023 03:58:25 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.