mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
Coding - Apply .clang-format formatting #286
Update empty method guards to new style with regex (see PR). Used clang-format 18.1.8. New actions to validate code formatting is added. Update .clang-format with disabling of include sorting. It is temporary changes, then include will be sorted. Apply formatting for /src and /tools folder. The files with .hxx,.cxx,.lxx,.h,.pxx,.hpp,*.cpp extensions.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef TreeModel_ContextMenu_H
|
||||
#define TreeModel_ContextMenu_H
|
||||
@@ -33,7 +33,7 @@ class TreeModel_ContextMenu : public QObject
|
||||
Q_OBJECT
|
||||
public:
|
||||
//! Constructor
|
||||
Standard_EXPORT TreeModel_ContextMenu (QTreeView* theTreeView);
|
||||
Standard_EXPORT TreeModel_ContextMenu(QTreeView* theTreeView);
|
||||
|
||||
//! Destructor
|
||||
~TreeModel_ContextMenu() {}
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
protected slots:
|
||||
//! Shows context menu for tree view header. It contains actions to change columns visibility.
|
||||
//! \param thePosition a clicked point
|
||||
void onTreeViewHeaderContextMenuRequested (const QPoint& thePosition);
|
||||
void onTreeViewHeaderContextMenuRequested(const QPoint& thePosition);
|
||||
|
||||
//! Changes clicked column visibility
|
||||
void onColumnVisibilityChanged();
|
||||
|
Reference in New Issue
Block a user