Clean up #includes.
authorgregor herrmann <gregor@toastfreeware.priv.at>
Thu, 29 Jul 2021 22:39:19 +0000 (00:39 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Thu, 29 Jul 2021 22:39:19 +0000 (00:39 +0200)
(qtcreator is helpful but only partially.)

src/app/application.h
src/gui/daynavigatorwidget.cpp
src/gui/mainwindow.cpp
src/mvc/delegate.cpp
src/mvc/eventmodel.cpp

index b237866c3491eef63b14b72ad0a13d46f9f34fb5..2f4e1c2ea43c791cfdec8d3529c0368cdb32eae1 100644 (file)
@@ -21,7 +21,7 @@
 #define APPLICATION_H
 
 #include <QApplication>
-#include <conference.h>
+#include "conference.h"
 
 class Application : public QApplication
 {
index 918d90766e64ea824a06643e0ee4ebc60aa9d83d..dcda38f327f7c8284133682d2fa3acd68a2d6932 100644 (file)
  * You should have received a copy of the GNU General Public License along with
  * ConfClerk.  If not, see <http://www.gnu.org/licenses/>.
  */
-#include "daynavigatorwidget.h"
 
 #include <QPainter>
 #include <QLabel>
-#include <conference.h>
-#include <application.h>
+
+#include "daynavigatorwidget.h"
+#include "conference.h"
+#include "application.h"
 
 
 DayNavigatorWidget::DayNavigatorWidget(QWidget *aParent): QWidget(aParent) {
index 83b1a646a34971b933c23be1a6668840454a76d8..6d74823fed3ed8068de66706fcff4994fce4051a 100644 (file)
 #include <QNetworkAccessManager>
 #include <QNetworkReply>
 #include <QSslConfiguration>
+#include <QDialog>
+#include <QMessageBox>
 
 #include "sqlengine.h"
-
 #include "track.h"
 #include "eventmodel.h"
 #include "delegate.h"
 #include "room.h"
-
 #include "conference.h"
-
-#include <QDialog>
-#include <QMessageBox>
-#include <application.h>
-
 #include "ui_about.h"
 #include "eventdialog.h"
 #include "daynavigatorwidget.h"
@@ -46,9 +41,9 @@
 #include "conferenceeditor.h"
 #include "schedulexmlparser.h"
 #include "errormessage.h"
-
 #include "tabcontainer.h"
 #include "appsettings.h"
+#include "application.h"
 
 MainWindow::MainWindow(QWidget* parent): QMainWindow(parent) {
     setupUi(this);
index aa25627df639c6cacde9a7fb916a3d7b40cb7e9c..55bf4c88f10831188f2ad67f51e084371550b306 100644 (file)
  * You should have received a copy of the GNU General Public License along with
  * ConfClerk.  If not, see <http://www.gnu.org/licenses/>.
  */
-#include "delegate.h"
-#include "eventmodel.h"
-#include "track.h"
-
 #include <QDebug>
 #include <QPainter>
-#include <application.h>
 
+#include "delegate.h"
+#include "eventmodel.h"
+#include "track.h"
 #include "conference.h"
 #include "room.h"
+#include "application.h"
 
 const int SPACER = 10;
 
index 8f978d9c3a8bc67ff25bd522c350d4c48ee7773b..c92a76da8d11473c25f20426d6128f2a6604ed74 100644 (file)
@@ -21,8 +21,7 @@
 #include "conference.h"
 #include "track.h"
 #include "room.h"
-
-#include <application.h>
+#include "application.h"
 
 const QString EventModel::COMMA_SEPARATOR = ", ";