r17941 by jghali - remove some unneeded scmessagebox.h include
scribus-commit
scribus-commit at lists.scribus.net
Sun Dec 9 00:23:14 UTC 2012
Author: jghali
Date: Sun Dec 9 00:23:14 2012
New Revision: 17941
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17941
Log:
remove some unneeded scmessagebox.h include
Modified:
trunk/Scribus/scribus/pageitem_noteframe.cpp
trunk/Scribus/scribus/pageitem_textframe.cpp
trunk/Scribus/scribus/plugins/pixmapexport/export.cpp
trunk/Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp
trunk/Scribus/scribus/scribusview.cpp
trunk/Scribus/scribus/ui/aligndistribute.cpp
trunk/Scribus/scribus/ui/javadocs.cpp
trunk/Scribus/scribus/util.cpp
Modified: trunk/Scribus/scribus/pageitem_noteframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17941&path=/trunk/Scribus/scribus/pageitem_noteframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_noteframe.cpp (original)
+++ trunk/Scribus/scribus/pageitem_noteframe.cpp Sun Dec 9 00:23:14 2012
@@ -4,7 +4,6 @@
#include "pageitem.h"
#include "scribus.h"
#include "scribusdoc.h"
-#include "ui/scmessagebox.h"
#include "undomanager.h"
#include "util_text.h"
Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17941&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp (original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp Sun Dec 9 00:23:14 2012
@@ -57,8 +57,6 @@
#include "util_math.h"
#include "ui/guidemanager.h"
-//don`t worry - message boxes are called only if GUI is enabled
-#include "ui/scmessagebox.h"
#include <cairo.h>
Modified: trunk/Scribus/scribus/plugins/pixmapexport/export.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17941&path=/trunk/Scribus/scribus/plugins/pixmapexport/export.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/pixmapexport/export.cpp (original)
+++ trunk/Scribus/scribus/plugins/pixmapexport/export.cpp Sun Dec 9 00:23:14 2012
@@ -6,13 +6,14 @@
*/
#include "export.h"
#include "dialog.h"
+
+#include <QCursor>
+#include <QDir>
+#include <QMessageBox>
#include <QPixmap>
#include <QString>
-#include <QDir>
-#include <QCursor>
#include <QSharedPointer>
-#include "ui/scmessagebox.h"
#include "scribus.h"
#include "scraction.h"
#include "ui/scmwmenumanager.h"
Modified: trunk/Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17941&path=/trunk/Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp (original)
+++ trunk/Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp Sun Dec 9 00:23:14 2012
@@ -21,14 +21,15 @@
* *
***************************************************************************/
+#include <QBuffer>
+#include <QByteArray>
+#include <QCheckBox>
+#include <QDataStream>
#include <QFile>
+#include <QList>
+#include <QMessageBox>
+#include <QScopedPointer>
#include <QTextStream>
-#include <QDataStream>
-#include <QByteArray>
-#include <QBuffer>
-#include <QList>
-#include <QCheckBox>
-#include <QScopedPointer>
#include "svgexplugin.h"
@@ -50,7 +51,6 @@
#include "util.h"
#include "ui/customfdialog.h"
#include "ui/guidemanager.h"
-#include "ui/scmessagebox.h"
#include "sccolorengine.h"
#include "util_formats.h"
#include "util_math.h"
Modified: trunk/Scribus/scribus/scribusview.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17941&path=/trunk/Scribus/scribus/scribusview.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusview.cpp (original)
+++ trunk/Scribus/scribus/scribusview.cpp Sun Dec 9 00:23:14 2012
@@ -43,6 +43,7 @@
#include <QLabel>
#include <QList>
#include <QMenu>
+#include <QMessageBox>
#include <QMimeData>
#include <QMouseEvent>
#include <QPaintEvent>
@@ -118,7 +119,6 @@
#include "ui/propertiespalette_line.h"
#include "ui/propertiespalette_text.h"
#include "ui/rulermover.h"
-#include "ui/scmessagebox.h"
#include "ui/scrapbookpalette.h"
#include "ui/storyeditor.h"
#include "ui/symbolpalette.h"
Modified: trunk/Scribus/scribus/ui/aligndistribute.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17941&path=/trunk/Scribus/scribus/ui/aligndistribute.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/aligndistribute.cpp (original)
+++ trunk/Scribus/scribus/ui/aligndistribute.cpp Sun Dec 9 00:23:14 2012
@@ -27,6 +27,7 @@
#include <QLabel>
#include <QLayout>
#include <QLineEdit>
+#include <QMessageBox>
#include <QPixmap>
#include <QPushButton>
#include <QTabWidget>
@@ -44,7 +45,6 @@
#include "scribusstructs.h"
#include "units.h"
#include "util_icon.h"
-#include "ui/scmessagebox.h"
#include "ui/scrspinbox.h"
//TODO Distribute with
Modified: trunk/Scribus/scribus/ui/javadocs.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17941&path=/trunk/Scribus/scribus/ui/javadocs.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/javadocs.cpp (original)
+++ trunk/Scribus/scribus/ui/javadocs.cpp Sun Dec 9 00:23:14 2012
@@ -5,13 +5,15 @@
for which a new license (GPL+exception) is in place.
*/
#include "javadocs.h"
-#include <QPixmap>
+
#include <QHBoxLayout>
#include <QVBoxLayout>
-#include <QTextEdit>
+#include <QMessageBox>
#include <QListWidget>
+#include <QPixmap>
#include <QPushButton>
#include <QRegExp>
+#include <QTextEdit>
#include <QToolTip>
#include "commonstrings.h"
@@ -19,7 +21,6 @@
#include "query.h"
#include "scpage.h"
#include "scribusdoc.h"
-#include "ui/scmessagebox.h"
#include "util_icon.h"
Modified: trunk/Scribus/scribus/util.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17941&path=/trunk/Scribus/scribus/util.cpp
==============================================================================
--- trunk/Scribus/scribus/util.cpp (original)
+++ trunk/Scribus/scribus/util.cpp Sun Dec 9 00:23:14 2012
@@ -24,13 +24,15 @@
#include <algorithm>
#include "util.h"
#include <zlib.h>
+
#include <QApplication>
#include <QCryptographicHash>
#include <QDomElement>
+#include <QMessageBox>
#include <QProcess>
+
#include "pageitem.h"
#include "pageitem_table.h"
-#include "ui/scmessagebox.h"
#include "scribus.h"
#include "scribusdoc.h"
#include "scpainter.h"
More information about the scribus-commit
mailing list