kmail
vacationscriptindicatorwidget.cpp
Go to the documentation of this file.
53 setStyleSheet( QString::fromLatin1("background-color: %1; color: %2;" ).arg( QColor(Qt::yellow).name(), QColor(Qt::black).name() ) );
81 void VacationScriptIndicatorWidget::setVacationScriptActive(bool active, const QString &serverName)
102 mInfo = new VacationLabel(i18np("Out of office reply active on server", "Out of office reply active on servers", mServerActive.count()));
void clicked(const QString &serverName=QString())
void setStyleSheet(const QString &styleSheet)
void setCursor(const QCursor &)
void clicked(const QString &serverName)
virtual QByteArray text(quint32 serialNumber) const =0
void setPixmap(const QPixmap &)
void clicked()
bool contains(const QString &str, Qt::CaseSensitivity cs) const
~VacationLabel()
Definition: vacationscriptindicatorwidget.cpp:58
void setVacationScriptActive(bool active, const QString &serverName)
Definition: vacationscriptindicatorwidget.cpp:81
void mouseReleaseEvent(QMouseEvent *event)
Definition: vacationscriptindicatorwidget.cpp:63
~VacationScriptIndicatorWidget()
Definition: vacationscriptindicatorwidget.cpp:76
const char * name() const
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
int count(const T &value) const
void append(const T &value)
void setLayout(QLayout *layout)
bool isEmpty() const
int removeAll(const T &value)
void hide()
void setMargin(int margin)
VacationScriptIndicatorWidget(QWidget *parent=0)
Definition: vacationscriptindicatorwidget.cpp:69
virtual void mouseReleaseEvent(QMouseEvent *ev)
bool hasVacationScriptActive() const
Definition: vacationscriptindicatorwidget.cpp:123
VacationLabel(const QString &text, QWidget *parent=0)
Definition: vacationscriptindicatorwidget.cpp:48
QString fromLatin1(const char *str, int size)
ServerLabel(const QString &toolTip, QWidget *parent=0)
Definition: vacationscriptindicatorwidget.cpp:26
void show()
void setToolTip(const QString &)
void updateIndicator()
Definition: vacationscriptindicatorwidget.cpp:113
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void mouseReleaseEvent(QMouseEvent *event)
Definition: vacationscriptindicatorwidget.cpp:41
void setSpacing(int spacing)
void setContentsMargins(int left, int top, int right, int bottom)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:33 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:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.