KDEUI
kpassivepopupmessagehandler.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef KDEUI_KPASSIVEPOPUPMESSAGEHANDLER_H
00020 #define KDEUI_KPASSIVEPOPUPMESSAGEHANDLER_H
00021
00022 #include <kdeui_export.h>
00023 #include <kmessage.h>
00024
00025 #include <QtCore/QObject>
00026
00027 class QWidget;
00033 class KDEUI_EXPORT KPassivePopupMessageHandler : public QObject, public KMessageHandler
00034 {
00035 Q_OBJECT
00036 public:
00041 explicit KPassivePopupMessageHandler(QWidget *parent = 0);
00042
00046 virtual void message(KMessage::MessageType messageType, const QString &text, const QString &caption);
00047
00048 private:
00055 void showPassivePopup(KMessage::MessageType messageType, const QString &text, const QString &caption);
00060 QWidget *parentWidget();
00061 };
00062
00063 #endif
00064