Random whitespace update

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-09-17 15:39:49 -07:00
parent d6d82a5af8
commit 0d1da0563b
7 changed files with 62 additions and 56 deletions

View file

@ -425,8 +425,10 @@ public:
virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);
virtual Qt::ItemFlags flags(const QModelIndex &index) const;
bool *checkState;
public slots:
public
slots:
void repopulate();
private:
explicit TagFilterModel(QObject *parent = 0);
};

View file

@ -416,8 +416,7 @@ void DateWidget::keyPressEvent(QKeyEvent *event)
#define COMPONENT_FROM_UI(_component) what->_component = ui._component->isChecked()
#define UI_FROM_COMPONENT(_component) ui._component->setChecked(what->_component)
DiveComponentSelection::DiveComponentSelection(QWidget *parent, struct dive *target, struct dive_components *_what):
targetDive(target)
DiveComponentSelection::DiveComponentSelection(QWidget *parent, struct dive *target, struct dive_components *_what) : targetDive(target)
{
ui.setupUi(this);
what = _what;

View file

@ -96,8 +96,10 @@ class DateWidget : public QWidget {
public:
DateWidget(QWidget *parent = 0);
QDate date() const;
public slots:
public
slots:
void setDate(const QDate &date);
protected:
void paintEvent(QPaintEvent *event);
void mousePressEvent(QMouseEvent *event);
@ -108,6 +110,7 @@ protected:
bool eventFilter(QObject *, QEvent *);
signals:
void dateChanged(const QDate &date);
private:
QDate mDate;
QCalendarWidget *calendarWidget;
@ -120,6 +123,7 @@ public:
private
slots:
void buttonClicked(QAbstractButton *button);
private:
Ui::DiveComponentSelectionDialog ui;
struct dive *targetDive;
@ -130,6 +134,7 @@ class TagFilter : public QWidget {
Q_OBJECT
public:
TagFilter(QWidget *parent = 0);
private:
Ui::TagFilter ui;
};