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

YQPkgDiskUsageWarningDialog.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013   File:       YQPkgDiskUsageWarningDialog.h
00014 
00015   Author:     Stefan Hundhammer <sh@suse.de>
00016 
00017 /-*/
00018 
00019 // -*- c++ -*-
00020 
00021 
00022 #ifndef YQPkgDiskUsageWarningDialog_h
00023 #define YQPkgDiskUsageWarningDialog_h
00024 
00025 #include <qdialog.h>
00026 
00027 
00028 class YQPkgDiskUsageList;
00029 
00030 
00034 class YQPkgDiskUsageWarningDialog : public QDialog
00035 {
00036     Q_OBJECT
00037 
00038 public:
00048     static bool diskUsageWarning( const QString &       message,
00049                                   int                   thresholdPercent,
00050                                   const QString &       acceptButtonLabel,
00051                                   const QString &       rejectButtonLabel = QString::null );
00052 protected:
00053 
00062     YQPkgDiskUsageWarningDialog( QWidget *              parent,
00063                                  const QString &        message,
00064                                  int                    thresholdPercent,
00065                                  const QString &        acceptButtonLabel,
00066                                  const QString &        rejectButtonLabel = QString::null );
00067 };
00068 
00069 
00070 #endif // ifndef YQPkgDiskUsageWarningDialog_h

Generated on Wed Nov 12 06:11:15 2008 for yast2-qt by  doxygen 1.3.9.1