kmail
configureagentswidget.cpp
Go to the documentation of this file.
55 connect(mConfigureAgentListView, SIGNAL(descriptionChanged(QString)), mDescription, SLOT(setText(QString)));
59 mAgentPathList = Akonadi::XdgBaseDirs::findAllResourceDirs( "data", QLatin1String( "akonadi/agents" ) );
87 const QString descriptionStr = QLatin1String("<b>") + i18n("Description:") + QLatin1String("</b><br>") + config.readComment();
94 createItem(QLatin1String("akonadi_sendlater_agent"), QLatin1String("/SendLaterAgent"), QLatin1String("sendlateragent.desktop"), lst);
95 createItem(QLatin1String("akonadi_archivemail_agent"), QLatin1String("/ArchiveMailAgent"), QLatin1String("archivemailagent.desktop"), lst);
96 createItem(QLatin1String("akonadi_newmailnotifier_agent"), QLatin1String("/NewMailNotifierAgent"), QLatin1String("newmailnotifieragent.desktop"), lst);
97 createItem(QLatin1String("akonadi_followupreminder_agent"), QLatin1String("/FollowUpReminder"), QLatin1String("followupreminder.desktop"), lst);
102 void ConfigureAgentsWidget::createItem(const QString &interfaceName, const QString &path, const QString &desktopFileName, QVector<ConfigureAgentItem> &listItem)
120 bool ConfigureAgentsWidget::agentActivateState(const QString &interfaceName, const QString &pathName, bool &failed)
123 QDBusInterface interface( QLatin1String("org.freedesktop.Akonadi.Agent.") + interfaceName, pathName );
void setSizes(const QList< int > &list)
void doResetToDefaultsOther()
Definition: configureagentswidget.cpp:156
void append(const T &value)
ConfigureAgentsWidget(QWidget *parent=0)
Definition: configureagentswidget.cpp:39
bool isValid() const
QChar separator()
void doLoadFromGlobalSettings()
Definition: configureagentswidget.cpp:151
QString helpAnchor() const
Definition: configureagentswidget.cpp:146
void addWidget(QWidget *widget)
void setAgentItems(const QVector< ConfigureAgentItem > &lst)
Definition: configureagentlistview.cpp:49
QSize size() const
enabled
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
QList< int > sizes() const
void setLayout(QLayout *layout)
void setChildrenCollapsible(bool)
Definition: configureagentitem.h:23
void resetToDefault()
Definition: configureagentlistview.cpp:114
void setInterfaceName(const QString &interfaceName)
Definition: configureagentitem.cpp:68
void setAgentName(const QString &agentName)
Definition: configureagentitem.cpp:38
void setDescription(const QString &description)
Definition: configureagentitem.cpp:48
void changed()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
~ConfigureAgentsWidget()
Definition: configureagentswidget.cpp:64
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:32 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:34:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.