r24670 by craig - Clean up includes

scribus-commit scribus-commit at lists.scribus.net
Tue Jun 8 21:23:27 UTC 2021


Author: craig
Date: Tue Jun  8 21:23:27 2021
New Revision: 24670

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24670
Log:
Clean up includes

Modified:
    trunk/Scribus/scribus/latexhelpers.h
    trunk/Scribus/scribus/scgtplugin.cpp
    trunk/Scribus/scribus/scgtplugin.h
    trunk/Scribus/scribus/styleitem.h
    trunk/Scribus/scribus/ui/hruler.cpp
    trunk/Scribus/scribus/ui/loremipsum.h

Modified: trunk/Scribus/scribus/latexhelpers.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24670&path=/trunk/Scribus/scribus/latexhelpers.h
==============================================================================
--- trunk/Scribus/scribus/latexhelpers.h	(original)
+++ trunk/Scribus/scribus/latexhelpers.h	Tue Jun  8 21:23:27 2021
@@ -26,6 +26,7 @@
 #include <QSyntaxHighlighter>
 #include <QXmlStreamReader>
 #include <QString>
+#include <QStringRef>
 #include <QObject>
 #include <QPointer>
 

Modified: trunk/Scribus/scribus/scgtplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24670&path=/trunk/Scribus/scribus/scgtplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/scgtplugin.cpp	(original)
+++ trunk/Scribus/scribus/scgtplugin.cpp	Tue Jun  8 21:23:27 2021
@@ -6,19 +6,10 @@
 */
 // kk2006
 
+#include <QObject>
+#include <QHBoxLayout>
 
 #include "scgtplugin.h"
-
-#include <QCheckBox>
-#include <QDir>
-#include <QObject>
-#include <QHBoxLayout>
-#include <QString>
-#include <QStringList>
-#include <QWidget>
-
-/***************************************************************************************/
-/***************************************************************************************/
 
 ScGTPluginManager* ScGTPluginManager::m_instance = nullptr; // init static variables
 

Modified: trunk/Scribus/scribus/scgtplugin.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24670&path=/trunk/Scribus/scribus/scgtplugin.h
==============================================================================
--- trunk/Scribus/scribus/scgtplugin.h	(original)
+++ trunk/Scribus/scribus/scgtplugin.h	Tue Jun  8 21:23:27 2021
@@ -12,11 +12,11 @@
 #include "scplugin.h"
 #include "ui/customfdialog.h"
 
-class QString;
-class QCheckBox;
-class QStringList;
-class QDir;
-class QWidget;
+#include <QCheckBox>
+#include <QDir>
+#include <QString>
+#include <QStringList>
+#include <QWidget>
 
 /**
   @brief Super class for all text importer plugins.

Modified: trunk/Scribus/scribus/styleitem.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24670&path=/trunk/Scribus/scribus/styleitem.h
==============================================================================
--- trunk/Scribus/scribus/styleitem.h	(original)
+++ trunk/Scribus/scribus/styleitem.h	Tue Jun  8 21:23:27 2021
@@ -12,8 +12,8 @@
 #include <QList>
 #include <QPair>
 
-class QString;
-class QStringList;
+#include <QString>
+#include <QStringList>
 class ScribusDoc;
 class QTabWidget;
 

Modified: trunk/Scribus/scribus/ui/hruler.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24670&path=/trunk/Scribus/scribus/ui/hruler.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/hruler.cpp	(original)
+++ trunk/Scribus/scribus/ui/hruler.cpp	Tue Jun  8 21:23:27 2021
@@ -296,7 +296,7 @@
 	qApp->restoreOverrideCursor();
 }
 
-void Hruler::enterEvent(QEvent *e)
+void Hruler::enterEvent(QEvent* e)
 {
 	if (m_textEditMode)
 		qApp->changeOverrideCursor(IconManager::instance().loadCursor("tab.png", 3));

Modified: trunk/Scribus/scribus/ui/loremipsum.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24670&path=/trunk/Scribus/scribus/ui/loremipsum.h
==============================================================================
--- trunk/Scribus/scribus/ui/loremipsum.h	(original)
+++ trunk/Scribus/scribus/ui/loremipsum.h	Tue Jun  8 21:23:27 2021
@@ -21,6 +21,11 @@
 
 #include "scribusapi.h"
 
+#include <QDialog>
+#include <QMap>
+#include <QString>
+#include <QStringList>
+class QCheckBox;
 class QEvent;
 class QGridLayout;
 class QHBoxLayout;
@@ -28,9 +33,6 @@
 class QPushButton;
 class QSpacerItem;
 class QSpinBox;
-class QCheckBox;
-class QString;
-class QStringList;
 class QTreeWidget;
 class QVBoxLayout;
 




More information about the scribus-commit mailing list