mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 02:53:56 -07:00
Clang-format (#3028)
* 1/3 Add .clang-format file and travis compilation check * 2/3 Run clang-format * 3/3 Fix compilation problems due to include reordering * 3bis/3 AfterControlStatement: false
This commit is contained in:
parent
8dbdd24c8e
commit
b29bd9e070
272 changed files with 13378 additions and 9535 deletions
|
|
@ -1,11 +1,11 @@
|
|||
#ifndef WINDOW_SETS_H
|
||||
#define WINDOW_SETS_H
|
||||
|
||||
#include <QDialogButtonBox>
|
||||
#include <QGridLayout>
|
||||
#include <QLabel>
|
||||
#include <QMainWindow>
|
||||
#include <QSet>
|
||||
#include <QDialogButtonBox>
|
||||
#include <QLabel>
|
||||
#include <QGridLayout>
|
||||
|
||||
class SetsModel;
|
||||
class SetsProxyModel;
|
||||
|
|
@ -14,7 +14,8 @@ class CardDatabase;
|
|||
class QItemSelection;
|
||||
class QTreeView;
|
||||
|
||||
class WndSets : public QMainWindow {
|
||||
class WndSets : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
SetsModel *model;
|
||||
|
|
@ -27,10 +28,16 @@ private:
|
|||
QLabel *labNotes;
|
||||
QGridLayout *mainLayout;
|
||||
void rebuildMainLayout(int actionToTake);
|
||||
enum {NO_SETS_SELECTED, SOME_SETS_SELECTED};
|
||||
enum
|
||||
{
|
||||
NO_SETS_SELECTED,
|
||||
SOME_SETS_SELECTED
|
||||
};
|
||||
|
||||
public:
|
||||
WndSets(QWidget *parent = 0);
|
||||
~WndSets();
|
||||
|
||||
protected:
|
||||
void selectRows(QSet<int> rows);
|
||||
private slots:
|
||||
|
|
@ -44,7 +51,7 @@ private slots:
|
|||
void actDown();
|
||||
void actTop();
|
||||
void actBottom();
|
||||
void actToggleButtons(const QItemSelection & selected, const QItemSelection & deselected);
|
||||
void actToggleButtons(const QItemSelection &selected, const QItemSelection &deselected);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue