diff options
| author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2018-02-22 16:54:34 +0100 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2018-02-22 16:54:34 +0100 |
| commit | 5e5c9c07291f6b09623d31c92b1fb61c4ede576e (patch) | |
| tree | 0684c123db375336e0e03f0240155a12e744db16 /src/aboutdialog.h | |
| parent | 5ad912e1934061b38825801a27f7c12933878005 (diff) | |
Applied clang-format on source
Diffstat (limited to 'src/aboutdialog.h')
| -rw-r--r-- | src/aboutdialog.h | 44 |
1 files changed, 19 insertions, 25 deletions
diff --git a/src/aboutdialog.h b/src/aboutdialog.h index 103a0d2f..a5c93834 100644 --- a/src/aboutdialog.h +++ b/src/aboutdialog.h @@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
*/
-
#define ABOUTDIALOG_H
#include <QDialog>
@@ -29,43 +28,38 @@ class QListWidgetItem; #include <map>
namespace Ui {
- class AboutDialog;
+class AboutDialog;
}
-class AboutDialog : public QDialog
-{
- Q_OBJECT
+class AboutDialog : public QDialog {
+ Q_OBJECT
public:
- explicit AboutDialog(const QString &version, QWidget *parent = 0);
- ~AboutDialog();
+ explicit AboutDialog(const QString& version, QWidget* parent = 0);
+ ~AboutDialog();
private:
-
- enum Licenses {
- LICENSE_NONE,
- LICENSE_LGPL3,
- LICENSE_GPL3,
- LICENSE_BSD3,
- LICENSE_BOOST,
- LICENSE_CCBY3,
- LICENSE_ZLIB,
- LICENSE_APACHE2
- };
+ enum Licenses {
+ LICENSE_NONE,
+ LICENSE_LGPL3,
+ LICENSE_GPL3,
+ LICENSE_BSD3,
+ LICENSE_BOOST,
+ LICENSE_CCBY3,
+ LICENSE_ZLIB,
+ LICENSE_APACHE2
+ };
private:
-
- void addLicense(const QString &name, Licenses license);
+ void addLicense(const QString& name, Licenses license);
private slots:
- void on_creditsList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
+ void on_creditsList_currentItemChanged(QListWidgetItem* current, QListWidgetItem* previous);
private:
+ Ui::AboutDialog* ui;
- Ui::AboutDialog *ui;
-
- std::map<int, QString> m_LicenseFiles;
-
+ std::map<int, QString> m_LicenseFiles;
};
#endif // ABOUTDIALOG_H
|
