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

List:       kde-commits
Subject:    koffice/kexi
From:       Jarosław Staniek <staniek () kde ! org>
Date:       2010-01-16 21:17:24
Message-ID: 1263676644.101985.22320.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1075835 by staniek:

remove code that allowed to disable reports


 M  +0 -3      config-kexi.h.cmake  
 M  +0 -9      core/kexi.cpp  
 M  +0 -3      core/kexi.h  
 M  +0 -3      core/kexipartmanager.cpp  
 M  +0 -1      kexi_export.h  
 M  +0 -8      main/KexiMainWindow.cpp  


--- trunk/koffice/kexi/config-kexi.h.cmake #1075834:1075835
@@ -1,6 +1,3 @@
-/* build Kexi reports plugin */
-/* #undef KEXI_REPORTS_SUPPORT */
-
 /* build Kexi scripting GUI plugin */
 /* #undef KEXI_SCRIPTS_SUPPORT */
 
--- trunk/koffice/kexi/core/kexi.cpp #1075834:1075835
@@ -94,15 +94,6 @@
 
 //temp
 
-bool _tempShowReports = true;
-bool& Kexi::tempShowReports()
-{
-#ifndef KEXI_REPORTS_SUPPORT
-    _tempShowReports = false;
-#endif
-    return _tempShowReports;
-}
-
 bool _tempShowMacros = true;
 bool& Kexi::tempShowMacros()
 {
--- trunk/koffice/kexi/core/kexi.h #1075834:1075835
@@ -77,9 +77,6 @@
 //some temporary flags
 
 //! false by default, flag loaded on main window startup
-KEXICORE_EXPORT bool& tempShowReports();
-
-//! false by default, flag loaded on main window startup
 KEXICORE_EXPORT bool& tempShowMacros();
 
 //! false by default, flag loaded on main window startup
--- trunk/koffice/kexi/core/kexipartmanager.cpp #1075834:1075835
@@ -80,9 +80,6 @@
         QString partClass = ptr->property("X-Kexi-Class", QVariant::String).toString();
         QString partName = ptr->property("X-Kexi-TypeName", QVariant::String).toString();
         kDebug() << partName << partClass;
-//<TEMP>: disable some parts if needed
-//        if (!Kexi::tempShowReports() && partName == "report")
-//            continue;
         if (   partClass.isEmpty()
             || (!Kexi::tempShowMacros() && partClass == "org.kexi-project.macro")
             || (!Kexi::tempShowScripts() && partClass == "org.kexi-project.script")
--- trunk/koffice/kexi/kexi_export.h #1075834:1075835
@@ -126,7 +126,6 @@
 # define KEXI_SHOW_UNIMPLEMENTED 
 # define KEXI_STARTUP_SHOW_TEMPLATES 
 # define KEXI_STARTUP_SHOW_RECENT
-# define KEXI_REPORTS_SUPPORT
 */
 //# define KEXI_NO_FEEDBACK_AGENT
 #endif
--- trunk/koffice/kexi/main/KexiMainWindow.cpp #1075834:1075835
@@ -1103,12 +1103,6 @@
       */
 #endif
 
-#ifdef KEXI_REPORTS_SUPPORT
-    Kexi::tempShowReports() = true;
-#else
-    Kexi::tempShowReports() = false;
-#endif
-
 #ifdef KEXI_MACROS_SUPPORT
     Kexi::tempShowMacros() = true;
 #else
@@ -4508,8 +4502,6 @@
 bool
 KexiMainWindow::setupUserMode(KexiProjectData *projectData)
 {
-// Kexi::tempShowForms() = true;
-// Kexi::tempShowReports() = true;
 // Kexi::tempShowMacros() = true;
 // Kexi::tempShowScripts() = true;
     if (!projectData)
[prev in list] [next in list] [prev in thread] [next in thread] 

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