+ Code cleanup:

+ do not include header of itself
+ do not include unneeded header files
+ removed unneeded forward declarations
+ do not translate C string to get a QString
+ break too long lines
+ replace tabs with spaces
+ use virtual keyword on destructors
This commit is contained in:
wmayer
2015-11-13 15:47:03 +01:00
parent bf0d8d68bb
commit 45af17e39c
27 changed files with 93 additions and 311 deletions

View File

@@ -24,34 +24,19 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Standard_math.hxx>
#endif
#include "ViewProviderResult.h"
#include <Gui/Command.h>
#include <Gui/Document.h>
#include <Gui/Control.h>
#include <Mod/Fem/App/FemAnalysis.h>
#include "TaskDlgAnalysis.h"
using namespace FemGui;
PROPERTY_SOURCE(FemGui::ViewProviderResult, Gui::ViewProviderDocumentObject)
ViewProviderResult::ViewProviderResult()
{
sPixmap = "fem-result";
sPixmap = "fem-result";
}
ViewProviderResult::~ViewProviderResult()
@@ -59,8 +44,6 @@ ViewProviderResult::~ViewProviderResult()
}
// Python feature -----------------------------------------------------------------------
namespace Gui {