Skip to content

Commit e54e033

Browse files
committed
fixed includeguards, add class headers
1 parent e4cc106 commit e54e033

20 files changed

+31
-27
lines changed

src/autoupdatercore/adminauthoriser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef ADMINAUTHORISER_H
22
#define ADMINAUTHORISER_H
33

4-
#include "QtAutoUpdaterCore/qautoupdatercore_global.h"
4+
#include "QtAutoUpdaterCore/qtautoupdatercore_global.h"
55

66
#include <QtCore/qstring.h>
77
#include <QtCore/qstringlist.h>

src/autoupdatercore/autoupdatercore.pro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ TARGET = QtAutoUpdaterCore
33
QT = core
44

55
HEADERS += \
6-
qautoupdatercore_global.h \
76
adminauthoriser.h \
87
updater_p.h \
98
updater.h \
10-
simplescheduler_p.h
9+
simplescheduler_p.h \
10+
qtautoupdatercore_global.h
1111

1212
SOURCES += \
1313
simplescheduler.cpp \
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef QAUTOUPDATERCORE_H
2-
#define QAUTOUPDATERCORE_H
1+
#ifndef QTAUTOUPDATERCORE_H
2+
#define QTAUTOUPDATERCORE_H
33

44
#include <QtCore/qglobal.h>
55

@@ -9,4 +9,4 @@
99
# define Q_AUTOUPDATERCORE_EXPORT Q_DECL_IMPORT
1010
#endif
1111

12-
#endif // QAUTOUPDATERCORE_H
12+
#endif // QTAUTOUPDATERCORE_H

src/autoupdatercore/simplescheduler_p.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef SIMPLESCHEDULER_P_H
22
#define SIMPLESCHEDULER_P_H
33

4-
#include "qautoupdatercore_global.h"
4+
#include "qtautoupdatercore_global.h"
55

66
#include <QtCore/QObject>
77
#include <QtCore/QVariant>

src/autoupdatercore/updater.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef UPDATER_H
22
#define UPDATER_H
33

4-
#include "QtAutoUpdaterCore/qautoupdatercore_global.h"
4+
#include "QtAutoUpdaterCore/qtautoupdatercore_global.h"
55
#include "QtAutoUpdaterCore/adminauthoriser.h"
66

77
#include <QtCore/qobject.h>

src/autoupdatercore/updater_p.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef UPDATER_P_H
22
#define UPDATER_P_H
33

4-
#include "qautoupdatercore_global.h"
4+
#include "qtautoupdatercore_global.h"
55
#include "updater.h"
66
#include "simplescheduler_p.h"
77

src/autoupdatergui/adminauthorization_p.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef ADMINAUTHORIZATION_P_H
22
#define ADMINAUTHORIZATION_P_H
33

4-
#include "qautoupdatergui_global.h"
4+
#include "qtautoupdatergui_global.h"
55
#include "adminauthoriser.h"
66

77
namespace QtAutoUpdater

src/autoupdatergui/adminauthorization_x11.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
**************************************************************************/
3434

3535
#include "adminauthorization_p.h"
36-
#include "dialogmaster.h"
3736

3837
#include <QtCore/QFile>
3938
#include <QtCore/QCoreApplication>
4039
#include <QtWidgets/QInputDialog>
40+
#include <dialogmaster.h>
4141

4242
#include <cstdlib>
4343
#include <sys/resource.h>

src/autoupdatergui/autoupdatergui.pro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ win32 {
1414
include(../3rdparty/vendor/vendor.pri)
1515

1616
HEADERS += \
17-
qautoupdatergui_global.h \
1817
updatebutton_p.h \
1918
updatebutton.h \
2019
updatecontroller_p.h \
2120
updatecontroller.h \
2221
adminauthorization_p.h \
2322
progressdialog_p.h \
24-
updateinfodialog_p.h
23+
updateinfodialog_p.h \
24+
qtautoupdatergui_global.h
2525

2626
SOURCES += \
2727
progressdialog.cpp \

src/autoupdatergui/progressdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#include "progressdialog_p.h"
22
#include "ui_progressdialog.h"
3-
#include "dialogmaster.h"
43

54
#include <QtGui/QCloseEvent>
5+
#include <dialogmaster.h>
66
#ifdef Q_OS_WIN
77
#include <QtWinExtras/QWinTaskbarProgress>
88
#endif

0 commit comments

Comments
 (0)