[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/libkleo/ui
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2008-05-05 21:45:30
Message-ID: 1210023930.482132.7351.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 804410 by staniek:

avoid conflict with MessageBox define on Windows; export the class


 M  +5 -1      messagebox.h  


--- trunk/KDE/kdepim/libkleo/ui/messagebox.h #804409:804410
@@ -33,8 +33,12 @@
 #ifndef __KLEO_UI_MESSAGEBOX_H__
 #define __KLEO_UI_MESSAGEBOX_H__
 
+#include "kleo/kleo_export.h"
+
 #include <kmessagebox.h>
 
+#undef MessageBox // Windows
+
 namespace GpgME {
     class SigningResult;
     class EncryptionResult;
@@ -51,7 +55,7 @@
 
 namespace Kleo {
 
-    class MessageBox {
+    class KLEO_EXPORT MessageBox {
     public:
         static void information( QWidget * parent, const GpgME::SigningResult & \
result, const Kleo::Job * job, const QString & caption, KMessageBox::Options \
                options=KMessageBox::Notify );
         static void information( QWidget * parent, const GpgME::SigningResult & \
result, const Kleo::Job * job, KMessageBox::Options options=KMessageBox::Notify );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic