Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

kmessagebox.h

Go to the documentation of this file.
00001 #ifndef MINIKDE_KMESSAGEBOX_H
00002 #define MINIKDE_KMESSAGEBOX_H
00003 
00004 #include <qstring.h>
00005 
00006 class QWidget;
00007 
00008 class KMessageBox
00009 {
00010   public:
00011     enum { Ok = 1, Cancel = 2, Yes = 3, No = 4, Continue = 5 };
00012 
00013     static void sorry(QWidget *parent, 
00014                     const QString &text,
00015                     const QString &caption = QString::null, bool notify=true);
00016 
00017     static int warningContinueCancel(QWidget *parent, 
00018                          const QString &text,
00019                          const QString &caption = QString::null,
00020                          const QString &buttonContinue = QString::null, 
00021                          const QString &dontAskAgainName = QString::null,
00022                          bool notify=true );
00023 
00024 
00025     static int questionYesNo(QWidget *parent, 
00026                          const QString &text,
00027                          const QString &textYes,
00028                          const QString &textNo,
00029                          bool notify=true );
00030 
00031     static int warningYesNoCancel(QWidget *parent, const QString &text);
00032 
00033 
00034     static void error(QWidget *parent, 
00035                     const QString &text, 
00036                     const QString &caption = QString::null, bool notify=true);
00037 
00038     static void information(QWidget *parent, 
00039                           const QString &text, 
00040                           const QString &caption = QString::null,
00041                           const QString &dontShowAgainName = QString::null, 
00042                           bool notify=true);
00043 };
00044 
00045 
00046 #endif

Generated on Sat Nov 5 16:17:12 2005 for OPIE by  doxygen 1.4.2