libyui-qt-pkg
2.45.6
|
Warning dialog about partitions that are getting full or overflowing. More...
#include <YQPkgDiskUsageWarningDialog.h>
Static Public Member Functions | |
static bool | diskUsageWarning (const QString &message, int thresholdPercent, const QString &acceptButtonLabel, const QString &rejectButtonLabel=QString::null) |
Static convenience method: Post a disk usage warning with text 'message', a list of partitions that are at least 'thresholdPercent' full and one ( default ) or two buttons. More... | |
Protected Member Functions | |
YQPkgDiskUsageWarningDialog (QWidget *parent, const QString &message, int thresholdPercent, const QString &acceptButtonLabel, const QString &rejectButtonLabel=QString::null) | |
Constructor: Creates a disk usage warning dialog with text 'message' on top, a list of partitions that are at least 'thresholdPercent' full and one ( default ) or two buttons. More... | |
Warning dialog about partitions that are getting full or overflowing.
Definition at line 53 of file YQPkgDiskUsageWarningDialog.h.
|
protected |
Constructor: Creates a disk usage warning dialog with text 'message' on top, a list of partitions that are at least 'thresholdPercent' full and one ( default ) or two buttons.
Not meant for public use. Applications should use the static 'diskUsageWarning' method instead.
Definition at line 63 of file YQPkgDiskUsageWarningDialog.cc.
|
static |
Static convenience method: Post a disk usage warning with text 'message', a list of partitions that are at least 'thresholdPercent' full and one ( default ) or two buttons.
Returns 'true' if the user accepted ( i.e. clicked the 'accept' button ) and 'false' if the user rejected ( i.e. clicked the 'reject' button or the window manager close button ).
Definition at line 164 of file YQPkgDiskUsageWarningDialog.cc.