KPIM::StatusbarProgressWidget Class

Header: #include <KPIM/StatusbarProgressWidget>
CMake: find_package(KPim6Libkdepim REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::Libkdepim)

Public Functions

StatusbarProgressWidget(KPIM::ProgressDialog *progressDialog, QWidget *parent, bool button = true)
void setShowTypeProgressItem(unsigned int type)

Public Slots

void slotClean()
void slotProgressButtonClicked()
void slotProgressItemAdded(KPIM::ProgressItem *i)
void slotProgressItemCompleted(KPIM::ProgressItem *i)
void slotProgressItemProgress(KPIM::ProgressItem *i, unsigned int value)

Protected Slots

void slotBusyIndicator()
void slotProgressDialogVisible(bool)
void slotShowItemDelayed()
void updateBusyMode(KPIM::ProgressItem *)

Detailed Description

Member Function Documentation

[explicit] StatusbarProgressWidget::StatusbarProgressWidget(KPIM::ProgressDialog *progressDialog, QWidget *parent, bool button = true)

Constructor for StatusbarProgressWidget. progressDialog the associated ProgressDialog parent the parent widget button whether to show a progress button

void StatusbarProgressWidget::setShowTypeProgressItem(unsigned int type)

Sets which progress item types should be shown. type the progress item type to display

[protected slot] void StatusbarProgressWidget::slotBusyIndicator()

Slot to update the busy indicator.

[slot] void StatusbarProgressWidget::slotClean()

Slot to clean up the progress display.

[slot] void StatusbarProgressWidget::slotProgressButtonClicked()

Slot called when the progress button is clicked.

[protected slot] void StatusbarProgressWidget::slotProgressDialogVisible(bool)

Slot called when the progress dialog visibility changes. visible true if the dialog is now visible

[slot] void StatusbarProgressWidget::slotProgressItemAdded(KPIM::ProgressItem *i)

Slot called when a progress item is added. i the added ProgressItem

[slot] void StatusbarProgressWidget::slotProgressItemCompleted(KPIM::ProgressItem *i)

Slot called when a progress item is completed. i the completed ProgressItem

[slot] void StatusbarProgressWidget::slotProgressItemProgress(KPIM::ProgressItem *i, unsigned int value)

Slot called when a progress item's value changes. i the ProgressItem with updated progress value the new progress value

[protected slot] void StatusbarProgressWidget::slotShowItemDelayed()

Slot called to show a delayed item.

[protected slot] void StatusbarProgressWidget::updateBusyMode(KPIM::ProgressItem *)

Slot to update the busy mode for a progress item. item the ProgressItem to update