kpimutils
21#include "progressindicatorlabel.h"
22#include "progressindicatorwidget.h"
27class ProgressIndicatorLabelPrivate
30 ProgressIndicatorLabelPrivate(
const QString &_label, ProgressIndicatorLabel *qq)
34 QHBoxLayout *lay =
new QHBoxLayout;
37 indicator =
new ProgressIndicatorWidget;
38 lay->addWidget(indicator);
40 lay->addWidget(label);
43 ~ProgressIndicatorLabelPrivate()
47 void setActiveLabel(
const QString &str)
49 if (indicator->isActive()) {
57 label->setText(labelStr);
68 ProgressIndicatorWidget *indicator;
69 ProgressIndicatorLabel *q;
72ProgressIndicatorLabel::ProgressIndicatorLabel(
const QString &label, QWidget *parent)
74 d(new ProgressIndicatorLabelPrivate(label, this))
78ProgressIndicatorLabel::ProgressIndicatorLabel(QWidget *parent)
80 d(new ProgressIndicatorLabelPrivate(QString(), this))
84ProgressIndicatorLabel::~ProgressIndicatorLabel()
89void ProgressIndicatorLabel::start()
94void ProgressIndicatorLabel::stop()
99void ProgressIndicatorLabel::setActiveLabel(
const QString &label)
101 d->setActiveLabel(label);
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.