KIO
main.cpp
Go to the documentation of this file.
148 sm->setMessageHeader(QString::fromLatin1("From: %1\r\nTo: %2\r\n").arg(fromaddr).arg(QString(recipient)));
void setCodec(QTextCodec *codec)
QString i18n(const char *text)
Definition: kemailsettings.h:60
static void addCmdLineOptions(const KCmdLineOptions &options, const KLocalizedString &name=KLocalizedString(), const QByteArray &id=QByteArray(), const QByteArray &afterId=QByteArray())
KAboutData & addAuthor(const KLocalizedString &name, const KLocalizedString &task=KLocalizedString(), const QByteArray &emailAddress=QByteArray(), const QByteArray &webAddress=QByteArray())
QString readLine(qint64 maxlen)
KCmdLineOptions & add(const QByteArray &name, const KLocalizedString &description=KLocalizedString(), const QByteArray &defaultValue=QByteArray())
KLocalizedString ki18n(const char *msg)
static KCmdLineArgs * parsedArgs(const QByteArray &id=QByteArray())
const char * name(StandardAction id)
Definition: smtp.h:104
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
bool atEnd() const
QString defaultProfileName() const
Returns the name of the default profile.
Definition: kemailsettings.cpp:43
bool isEmpty() const
QString trimmed() const
Definition: kemailsettings.h:61
Definition: kemailsettings.h:64
Definition: smtp.h:105
int exec()
QString mid(int position, int n) const
Definition: smtp.h:106
const QChar at(int position) const
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))
int length() const
char * data()
This is just a small class to facilitate accessing e-mail settings in a sane way, and allowing any pr...
Definition: kemailsettings.h:46
QString left(int n) const
QString fromLatin1(const char *str, int size)
QString getOption(const QByteArray &option) const
QString getSetting(KEMailSettings::Setting s) const
Get one of the predefined "basic" settings.
Definition: kemailsettings.cpp:48
Definition: smtp.h:107
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
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:24:53 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:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.