change: change code style to Linux style except indent.
This commit is contained in:
@@ -25,20 +25,20 @@
|
||||
|
||||
#include "common/define.h"
|
||||
|
||||
namespace olive {
|
||||
namespace olive
|
||||
{
|
||||
|
||||
/**
|
||||
* @brief A QListView derivative that contains functionality used by both List view and Icon view (which are both based
|
||||
* on QListView)
|
||||
*/
|
||||
class ProjectExplorerListViewBase : public QListView
|
||||
{
|
||||
Q_OBJECT
|
||||
class ProjectExplorerListViewBase : public QListView {
|
||||
Q_OBJECT
|
||||
public:
|
||||
ProjectExplorerListViewBase(QWidget* parent);
|
||||
ProjectExplorerListViewBase(QWidget *parent);
|
||||
|
||||
protected:
|
||||
/**
|
||||
/**
|
||||
* @brief Double click event override
|
||||
*
|
||||
* Function that signals DoubleClickedView().
|
||||
@@ -46,15 +46,15 @@ protected:
|
||||
* FIXME: This code is the same as the code in ProjectExplorerTreeView. Is there a way to merge these two through
|
||||
* subclassing?
|
||||
*/
|
||||
virtual void mouseDoubleClickEvent(QMouseEvent *event) override;
|
||||
virtual void mouseDoubleClickEvent(QMouseEvent *event) override;
|
||||
|
||||
signals:
|
||||
/**
|
||||
/**
|
||||
* @brief Unconditional double click signal
|
||||
*
|
||||
* Emits a signal when the view is double clicked but not on any particular item
|
||||
*/
|
||||
void DoubleClickedEmptyArea();
|
||||
void DoubleClickedEmptyArea();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user