6#include "progressstatusbarwidget.h"
9#include "progressdialog.h"
10#include "statusbarprogresswidget.h"
13class KPIM::ProgressStatusBarWidgetPrivate
16 ProgressStatusBarWidgetPrivate() =
default;
18 KPIM::StatusbarProgressWidget *mLittleProgress =
nullptr;
21ProgressStatusBarWidget::ProgressStatusBarWidget(
QWidget *alignWidget,
QWidget *parent,
unsigned int showTypeProgressItem)
23 , d(new
KPIM::ProgressStatusBarWidgetPrivate)
25 auto progressDialog =
new KPIM::ProgressDialog(alignWidget, parent);
26 progressDialog->setObjectName(
"progressDialog"_L1);
27 progressDialog->setShowTypeProgressItem(showTypeProgressItem);
28 progressDialog->hide();
30 d->mLittleProgress =
new KPIM::StatusbarProgressWidget(progressDialog, alignWidget);
31 d->mLittleProgress->setObjectName(
"littleprogress"_L1);
32 d->mLittleProgress->setShowTypeProgressItem(showTypeProgressItem);
33 d->mLittleProgress->show();
36ProgressStatusBarWidget::~ProgressStatusBarWidget() =
default;
38KPIM::StatusbarProgressWidget *ProgressStatusBarWidget::littleProgress()
const
40 return d->mLittleProgress;
43#include "moc_progressstatusbarwidget.cpp"
Class KCheckComboBox::KCheckComboBoxPrivate.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:49 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.