TaskbarProgress Class Reference

Platform-agnostic wrapper for QWinTaskbarProgress. More...

#include <taskbarprogress.h>

+ Inheritance diagram for TaskbarProgress:

Public Slots

void hide ()
 
void pause ()
 
void reset ()
 
void resume ()
 
void setMaximum (int maximum)
 
void setMinimum (int minimum)
 
void setPaused (bool paused)
 
void setRange (int minimum, int maximum)
 
void setValue (int value)
 
void setVisible (bool visible)
 
void show ()
 
void stop ()
 

Signals

void maximumChanged (int maximum)
 
void minimumChanged (int minimum)
 
void valueChanged (int value)
 
void visibilityChanged (bool visible)
 

Public Member Functions

 TaskbarProgress (QObject *parent=nullptr)
 
bool isPaused () const
 
bool isStopped () const
 
bool isVisible () const
 
int maximum () const
 
int minimum () const
 
int value () const
 

Friends

class TaskbarButton
 

Detailed Description

Platform-agnostic wrapper for QWinTaskbarProgress.

Actually, the platform wrapping is only meant to avoid having to run #ifdef checks in the code that wishes to use the TaskbarProgress. On Windows platform this is a proxy design pattern. On all other platforms objects of this class are no-ops.

Definition at line 39 of file taskbarprogress.h.


The documentation for this class was generated from the following files: