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

List:       kde-commits
Subject:    koffice/kexi/core
From:       Jarosław Staniek <staniek () kde ! org>
Date:       2009-08-07 23:37:24
Message-ID: 1249688244.887636.31596.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1008593 by staniek:

remove user warnings to clean up the output for now



 M  +14 -0     KexiMainWindowIface.h  
 M  +4 -0      KexiWindow.h  


--- trunk/koffice/kexi/core/KexiMainWindowIface.h #1008592:1008593
@@ -21,6 +21,8 @@
 #ifndef KEXIMAINWINDOWIFACE_H
 #define KEXIMAINWINDOWIFACE_H
 
+//#define KEXI_IMPL_WARNINGS
+
 #include <QMap>
 #include <Q3CString>
 
@@ -72,50 +74,62 @@
     //! Project data of currently opened project or NULL if no project here yet.
     virtual KexiProject *project() = 0;
 
+#ifdef KEXI_IMPL_WARNINGS
 #ifdef __GNUC__
 #warning TODO virtual KActionCollection* actionCollection() const = 0;
 #else
 #pragma WARNING( TODO virtual KActionCollection* actionCollection() const = 0; )
 #endif
+#endif
     virtual KActionCollection* actionCollection() const = 0;
 
+#ifdef KEXI_IMPL_WARNINGS
 #ifdef __GNUC__
 #warning TODO virtual QWidget* focusWidget() const = 0;
 #else
 #pragma WARNING( TODO virtual QWidget* focusWidget() const = 0; )
 #endif
+#endif
     virtual QWidget* focusWidget() const = 0;
 
     //! Implemented by KXMLGUIClient
+#ifdef KEXI_IMPL_WARNINGS
 #ifdef __GNUC__
 #warning TODO virtual void plugActionList(const QString& name, const QList<KAction \
*>& actionList) = 0;  #else
 #pragma WARNING( TODO virtual void plugActionList(const QString& name, const \
QList<KAction *>& actionList) = 0; )  #endif
+#endif
     virtual void plugActionList(const QString& name,
                                 const QList<KAction *>& actionList) = 0;
 
+#ifdef KEXI_IMPL_WARNINGS
 #ifdef __GNUC__
 #warning TODO KXMLGUIClient* guiClient() const = 0;
 #else
 #pragma WARNING( TODO KXMLGUIClient* guiClient() const = 0; )
 #endif
+#endif
     virtual KXMLGUIClient* guiClient() const = 0;
 
     //! Implemented by KXMLGUIClient
+#ifdef KEXI_IMPL_WARNINGS
 #ifdef __GNUC__
 #warning TODO virtual void unplugActionList (const QString &name) = 0;
 #else
 #pragma WARNING( TODO virtual void unplugActionList (const QString &name) = 0; )
 #endif
+#endif
     virtual void unplugActionList(const QString &name) = 0;
 
     //! Implemented by KMainWindow
+#ifdef KEXI_IMPL_WARNINGS
 #ifdef __GNUC__
 #warning TODO virtual KXMLGUIFactory * KMainWindow::guiFactory() = 0;
 #else
 #pragma WARNING( TODO virtual KXMLGUIFactory * KMainWindow::guiFactory() = 0; )
 #endif
+#endif
     virtual KXMLGUIFactory * guiFactory() = 0;
 
     /*! Registers window \a window for watching and adds it to the main window's \
                stack. */
--- trunk/koffice/kexi/core/KexiWindow.h #1008592:1008593
@@ -21,6 +21,8 @@
 #ifndef KEXIWINDOWBASE_H
 #define KEXIWINDOWBASE_H
 
+//#define KEXI_IMPL_WARNINGS
+
 #include "kexipartguiclient.h"
 #include "kexiactionproxy.h"
 #include "kexi.h"
@@ -152,11 +154,13 @@
     virtual void detachFromGUIClient();
 
     //! \return true if the window is attached within the main window
+#ifdef KEXI_IMPL_WARNINGS
 #ifdef __GNUC__
 #warning TODO isAttached()
 #else
 #pragma WARNING( TODO isAttached() )
 #endif
+#endif
     bool isAttached() const {
         return true;
     }


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

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