Commit 5f316da2 authored by Edric Milaret's avatar Edric Milaret

code cleanup

- use #pragma once instead of define
- Correct header typo in company name

Issue: #80939
Change-Id: I241bce32311936bb900937e9a16935d8f4ebdaca
parent 5cbf2b66
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef ABOUTDIALOG_H #pragma once
#define ABOUTDIALOG_H
#include <QDialog> #include <QDialog>
...@@ -43,4 +42,3 @@ private: ...@@ -43,4 +42,3 @@ private:
Ui::AboutDialog *ui; Ui::AboutDialog *ui;
}; };
#endif // ABOUTDIALOG_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef ACCOUNTDETAILS_H #pragma once
#define ACCOUNTDETAILS_H
#include <QWidget> #include <QWidget>
#include <QMap> #include <QMap>
...@@ -71,4 +70,3 @@ private: ...@@ -71,4 +70,3 @@ private:
}; };
#endif // ACCOUNTDETAILS_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author : Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com>* * Author : Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author : Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com>* * Author : Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
* You should have received a copy of the GNU General Public License * * You should have received a copy of the GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef ACCOUNTSERIALIZATIONADAPTER_H
#define ACCOUNTSERIALIZATIONADAPTER_H #pragma once
#include "typedefs.h" #include "typedefs.h"
...@@ -42,4 +42,3 @@ public: ...@@ -42,4 +42,3 @@ public:
virtual ~AccountSerializationAdapter(); virtual ~AccountSerializationAdapter();
}; };
#endif
\ No newline at end of file
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef ACCOUNTSTATEDELEGATE_H #pragma once
#define ACCOUNTSTATEDELEGATE_H
#include <QObject> #include <QObject>
#include <QString> #include <QString>
...@@ -36,4 +35,3 @@ protected: ...@@ -36,4 +35,3 @@ protected:
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const; QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
}; };
#endif // ACCOUNTSTATEDELEGATE_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef CALLWIDGET_H #pragma once
#define CALLWIDGET_H
#include <QWidget> #include <QWidget>
#include <QVector> #include <QVector>
...@@ -86,4 +85,3 @@ private: ...@@ -86,4 +85,3 @@ private:
void displaySpinner(bool display); void displaySpinner(bool display);
}; };
#endif // CALLWIDGET_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef CONFIGURATIONWIDGET_H #pragma once
#define CONFIGURATIONWIDGET_H
#include <QWidget> #include <QWidget>
#include <QItemSelection> #include <QItemSelection>
...@@ -74,4 +73,3 @@ private: ...@@ -74,4 +73,3 @@ private:
QSettings settings_; QSettings settings_;
}; };
#endif // CONFIGURATIONWIDGET_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef CONTACTDELEGATE_H #pragma once
#define CONTACTDELEGATE_H
#include <QObject> #include <QObject>
#include <QString> #include <QString>
...@@ -39,4 +38,3 @@ private: ...@@ -39,4 +38,3 @@ private:
constexpr static int sizeImage_ = 49; constexpr static int sizeImage_ = 49;
}; };
#endif // CONTACTDELEGATE_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef CONTACTMETHODPICKER_H #pragma once
#define CONTACTMETHODPICKER_H
#include <QDialog> #include <QDialog>
...@@ -48,4 +47,3 @@ private: ...@@ -48,4 +47,3 @@ private:
int index_; int index_;
}; };
#endif // CONTACTMETHODPICKER_H
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef CONTACTPICKER_H #pragma once
#define CONTACTPICKER_H
#include <QDialog> #include <QDialog>
#include <QSortFilterProxyModel> #include <QSortFilterProxyModel>
...@@ -68,5 +67,3 @@ private: ...@@ -68,5 +67,3 @@ private:
ContactMethod* number_; ContactMethod* number_;
OnlyPersonProxyModel* contactProxyModel_; OnlyPersonProxyModel* contactProxyModel_;
}; };
#endif // CONTACTPICKER_H
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef GLOBALSYSTEMTRAY_H #pragma once
#define GLOBALSYSTEMTRAY_H
#include <QSystemTrayIcon> #include <QSystemTrayIcon>
...@@ -37,4 +36,3 @@ private: ...@@ -37,4 +36,3 @@ private:
GlobalSystemTray(); GlobalSystemTray();
}; };
#endif // GLOBALSYSTEMTRAY_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef HISTORYDELEGATE_H #pragma once
#define HISTORYDELEGATE_H
#include <QObject> #include <QObject>
#include <QString> #include <QString>
...@@ -41,4 +40,3 @@ private: ...@@ -41,4 +40,3 @@ private:
constexpr static int imgSize_ = 25; constexpr static int imgSize_ = 25;
}; };
#endif // HISTORYDELEGATE_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef IMDELEGATE_H #pragma once
#define IMDELEGATE_H
#include <QObject> #include <QObject>
#include <QApplication> #include <QApplication>
...@@ -44,4 +43,3 @@ private: ...@@ -44,4 +43,3 @@ private:
bool showAuthor_; bool showAuthor_;
}; };
#endif // IMDELEGATE_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef INSTANTMESSAGINGWIDGET_H #pragma once
#define INSTANTMESSAGINGWIDGET_H
#include <QWidget> #include <QWidget>
#include <QKeyEvent> #include <QKeyEvent>
...@@ -60,4 +59,3 @@ private: ...@@ -60,4 +59,3 @@ private:
void copyToClipboard(); void copyToClipboard();
}; };
#endif // INSTANTMESSAGINGWIDGET_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,9 +16,7 @@ ...@@ -16,9 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#pragma once
#ifndef MAINBAR_H
#define MAINBAR_H
#include <QWidget> #include <QWidget>
#include <QMenu> #include <QMenu>
...@@ -58,4 +56,3 @@ signals: ...@@ -58,4 +56,3 @@ signals:
void minimize(); void minimize();
}; };
#endif // MAINBAR_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef MAINWINDOW_H #pragma once
#define MAINWINDOW_H
#include "globalsystemtray.h" #include "globalsystemtray.h"
...@@ -52,4 +51,3 @@ protected: ...@@ -52,4 +51,3 @@ protected:
void mouseMoveEvent(QMouseEvent *evt); void mouseMoveEvent(QMouseEvent *evt);
}; };
#endif // MAINWINDOW_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef NAVBAR_H #pragma once
#define NAVBAR_H
#include <QWidget> #include <QWidget>
...@@ -44,4 +43,3 @@ private: ...@@ -44,4 +43,3 @@ private:
Ui::NavBar *ui; Ui::NavBar *ui;
}; };
#endif // NAVBAR_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef NAVSTACK_H #pragma once
#define NAVSTACK_H
#include <QStackedWidget> #include <QStackedWidget>
#include <QStack> #include <QStack>
...@@ -49,4 +48,3 @@ private: ...@@ -49,4 +48,3 @@ private:
void setNavBar(NavWidget *navW); void setNavBar(NavWidget *navW);
}; };
#endif // NAVSTACK_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef NAVWIDGET_H #pragma once
#define NAVWIDGET_H
#include <QWidget> #include <QWidget>
...@@ -45,4 +44,3 @@ signals: ...@@ -45,4 +44,3 @@ signals:
void BackRequested(); void BackRequested();
}; };
#endif // NAVSIGNALHELPER_H
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
......
/*************************************************************************** /***************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux * * Copyright (C) 2015 by Savoir-faire Linux *
* Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>*
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef SELECTAREADIALOG_H #pragma once
#define SELECTAREADIALOG_H
#include <QDialog> #include <QDialog>
#include <QMouseEvent> #include <QMouseEvent>
...@@ -42,4 +41,3 @@ private: ...@@ -42,4 +41,3 @@ private:
QPixmap originalPixmap_; QPixmap originalPixmap_;
}; };
#endif // SELECTAREADIALOG_H
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/ **************************************************************************/
#ifndef SETTINGSKEY_H #pragma once
#define SETTINGSKEY_H
namespace SettingsKey {