Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

YQPkgDiskUsageWarningDialog Class Reference

#include <YQPkgDiskUsageWarningDialog.h>

List of all members.

Static Public Member Functions

bool diskUsageWarning (const QString &message, int thresholdPercent, const QString &acceptButtonLabel, const QString &rejectButtonLabel=QString::null)

Protected Member Functions

 YQPkgDiskUsageWarningDialog (QWidget *parent, const QString &message, int thresholdPercent, const QString &acceptButtonLabel, const QString &rejectButtonLabel=QString::null)


Detailed Description

Warning dialog about partitions that are getting full or overflowing.


Constructor & Destructor Documentation

YQPkgDiskUsageWarningDialog::YQPkgDiskUsageWarningDialog QWidget *  parent,
const QString &  message,
int  thresholdPercent,
const QString &  acceptButtonLabel,
const QString &  rejectButtonLabel = QString::null
[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.


Member Function Documentation

bool YQPkgDiskUsageWarningDialog::diskUsageWarning const QString &  message,
int  thresholdPercent,
const QString &  acceptButtonLabel,
const QString &  rejectButtonLabel = QString::null
[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 ).


The documentation for this class was generated from the following files:
Generated on Wed Nov 12 06:11:17 2008 for yast2-qt by  doxygen 1.3.9.1