r16078 by jghali - some cleanup

scribus-commit scribus-commit at lists.scribus.net
Tue Dec 7 23:24:22 CET 2010


Author: jghali
Date: Tue Dec  7 22:24:22 2010
New Revision: 16078

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16078
Log:
some cleanup

Modified:
    branches/ScribusOIF/scribus/ui/propertiespalette_image.cpp
    branches/ScribusOIF/scribus/ui/propertiespalette_image.h
    branches/ScribusOIF/scribus/ui/propertiespalette_line.cpp
    branches/ScribusOIF/scribus/ui/propertiespalette_shape.cpp
    branches/ScribusOIF/scribus/ui/propertiespalette_shape.h
    branches/ScribusOIF/scribus/ui/propertiespalette_xyz.cpp
    branches/ScribusOIF/scribus/ui/propertiespalette_xyz.h

Modified: branches/ScribusOIF/scribus/ui/propertiespalette_image.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16078&path=/branches/ScribusOIF/scribus/ui/propertiespalette_image.cpp
==============================================================================
--- branches/ScribusOIF/scribus/ui/propertiespalette_image.cpp (original)
+++ branches/ScribusOIF/scribus/ui/propertiespalette_image.cpp Tue Dec  7 22:24:22 2010
@@ -8,49 +8,13 @@
 
 #include "propertiespalette_image.h"
 
-#include <QButtonGroup>
-#include <QCheckBox>
-#include <QCloseEvent>
-#include <QComboBox>
-#include <QEvent>
-#include <QFocusEvent>
-#include <QFrame>
-#include <QGridLayout>
-#include <QGroupBox>
-#include <QHBoxLayout>
-#include <QImage>
-#include <QKeyEvent>
-#include <QLabel>
-#include <QListView>
-#include <QTransform>
-#include <QMenu>
-#include <QMessageBox>
-#include <QObject>
-#include <QPixmap>
-#include <QPoint>
-#include <QPushButton>
-#include <QRadioButton>
-#include <QRegExp>
-#include <QSpacerItem>
-#include <QSpinBox>
-#include <QStackedWidget>
-#include <QTimer>
-#include <QToolBox>
-#include <QToolTip>
-#include <QVBoxLayout>
-#include <QValidator>
-#include <QWidget>
-
 #if defined(_MSC_VER)
 #define _USE_MATH_DEFINES
 #endif
 #include <cmath>
-#include "autoform.h"
 #include "commonstrings.h"
-#include "colorcombo.h"
-#include "colorlistbox.h"
 #include "sccolorengine.h"
-#include "cpalette.h"
+#include "pageitem.h"
 #include "propertiespalette_utils.h"
 #include "sccombobox.h"
 #include "scribus.h"
@@ -63,7 +27,6 @@
 #include "util.h"
 #include "util_icon.h"
 #include "util_math.h"
-#include "text/nlsconfig.h"
 
 PropertiesPalette_Image::PropertiesPalette_Image( QWidget* parent) : QWidget(parent)
 {

Modified: branches/ScribusOIF/scribus/ui/propertiespalette_image.h
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16078&path=/branches/ScribusOIF/scribus/ui/propertiespalette_image.h
==============================================================================
--- branches/ScribusOIF/scribus/ui/propertiespalette_image.h (original)
+++ branches/ScribusOIF/scribus/ui/propertiespalette_image.h Tue Dec  7 22:24:22 2010
@@ -7,44 +7,15 @@
 #ifndef PROPERTIESPALETTE_IMAGE_H
 #define PROPERTIESPALETTE_IMAGE_H
 
-#include <QListWidgetItem>
-#include <QLineEdit>
-
-class QButtonGroup;
-class QCheckBox;
-class QCloseEvent;
-class QComboBox;
-class QEvent;
-class QEvent;
-class QFocusEvent;
-class QFrame;
-class QGridLayout;
-class QGroupBox;
-class QHBoxLayout;
-class QLabel;
-class QMenu;
-class QPushButton;
-class QRadioButton;
-class QSpinBox;
-class QStackedWidget;
-class QToolBox;
-class QVBoxLayout;
-class QWidget;
-
 #include "ui_propertiespalette_imagebase.h"
 
 #include "scribusapi.h"
 #include "scrpalettebase.h"
 #include "scrspinbox.h"
-#include "pageitem.h"
-#include "linkbutton.h"
-#include "alignselect.h"
-#include "shadebutton.h"
 #include "sclistboxpixmap.h"
 #include "scguardedptr.h"
-#include "sctreewidget.h"
 
-class Autoforms;
+class PageItem;
 class ScComboBox;
 class ScribusDoc;
 class ScribusMainWindow;

Modified: branches/ScribusOIF/scribus/ui/propertiespalette_line.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16078&path=/branches/ScribusOIF/scribus/ui/propertiespalette_line.cpp
==============================================================================
--- branches/ScribusOIF/scribus/ui/propertiespalette_line.cpp (original)
+++ branches/ScribusOIF/scribus/ui/propertiespalette_line.cpp Tue Dec  7 22:24:22 2010
@@ -6,39 +6,6 @@
 */
 
 #include "propertiespalette_line.h"
-
-#include <QButtonGroup>
-#include <QCheckBox>
-#include <QCloseEvent>
-#include <QComboBox>
-#include <QEvent>
-#include <QFocusEvent>
-#include <QFrame>
-#include <QGridLayout>
-#include <QGroupBox>
-#include <QHBoxLayout>
-#include <QImage>
-#include <QKeyEvent>
-#include <QLabel>
-#include <QListView>
-#include <QTransform>
-#include <QMenu>
-#include <QMessageBox>
-#include <QObject>
-#include <QPixmap>
-#include <QPoint>
-#include <QPushButton>
-#include <QRadioButton>
-#include <QRegExp>
-#include <QSpacerItem>
-#include <QSpinBox>
-#include <QStackedWidget>
-#include <QTimer>
-#include <QToolBox>
-#include <QToolTip>
-#include <QVBoxLayout>
-#include <QValidator>
-#include <QWidget>
 
 #if defined(_MSC_VER)
 #define _USE_MATH_DEFINES

Modified: branches/ScribusOIF/scribus/ui/propertiespalette_shape.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16078&path=/branches/ScribusOIF/scribus/ui/propertiespalette_shape.cpp
==============================================================================
--- branches/ScribusOIF/scribus/ui/propertiespalette_shape.cpp (original)
+++ branches/ScribusOIF/scribus/ui/propertiespalette_shape.cpp Tue Dec  7 22:24:22 2010
@@ -8,71 +8,28 @@
 
 #include "propertiespalette_shape.h"
 
-#include <QButtonGroup>
-#include <QCheckBox>
-#include <QCloseEvent>
-#include <QComboBox>
-#include <QEvent>
-#include <QFocusEvent>
-#include <QFrame>
-#include <QGridLayout>
-#include <QGroupBox>
-#include <QHBoxLayout>
-#include <QImage>
-#include <QKeyEvent>
-#include <QLabel>
-#include <QListView>
-#include <QTransform>
-#include <QMenu>
-#include <QMessageBox>
-#include <QObject>
-#include <QPixmap>
-#include <QPoint>
-#include <QPushButton>
-#include <QRadioButton>
-#include <QRegExp>
-#include <QSpacerItem>
-#include <QSpinBox>
-#include <QStackedWidget>
-#include <QTimer>
-#include <QToolBox>
-#include <QToolTip>
-#include <QVBoxLayout>
-#include <QValidator>
-#include <QWidget>
-
 #if defined(_MSC_VER)
 #define _USE_MATH_DEFINES
 #endif
 #include <cmath>
-#include "arrowchooser.h"
 #include "autoform.h"
-#include "basepointwidget.h"
 #include "commonstrings.h"
 #include "colorlistbox.h"
 #include "sccolorengine.h"
 #include "cpalette.h"
 #include "pageitem_textframe.h"
 #include "sccombobox.h"
-#include "scfonts.h"
 #include "scribus.h"
 #include "scribuscore.h"
 #include "scraction.h"
 #include "scribusview.h"
 #include "selection.h"
-#include "spalette.h"
-#include "styleselect.h"
-#include "tabmanager.h"
-#include "transparencypalette.h"
 #include "units.h"
 #include "undomanager.h"
 #include "util.h"
 #include "util_icon.h"
 #include "util_math.h"
 #include "text/nlsconfig.h"
-#include "dasheditor.h"
-#include "fontcombo.h"
-#include "colorcombo.h"
 
 #include "ui/nodeeditpalette.h"
 #include "ui/propertiespalette_utils.h"

Modified: branches/ScribusOIF/scribus/ui/propertiespalette_shape.h
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16078&path=/branches/ScribusOIF/scribus/ui/propertiespalette_shape.h
==============================================================================
--- branches/ScribusOIF/scribus/ui/propertiespalette_shape.h (original)
+++ branches/ScribusOIF/scribus/ui/propertiespalette_shape.h Tue Dec  7 22:24:22 2010
@@ -7,42 +7,17 @@
 #ifndef PROPERTIESPALETTE_SHAPE_H
 #define PROPERTIESPALETTE_SHAPE_H
 
-class QButtonGroup;
-class QCheckBox;
-class QCloseEvent;
-class QComboBox;
-class QEvent;
-class QEvent;
-class QFocusEvent;
-class QFrame;
-class QGridLayout;
-class QGroupBox;
-class QHBoxLayout;
-class QLabel;
-class QMenu;
-class QPushButton;
-class QRadioButton;
-class QSpinBox;
-class QStackedWidget;
-class QStackedWidget;
-class QToolBox;
-class QVBoxLayout;
-class QWidget;
-
 #include "ui_propertiespalette_shapebase.h"
 
 #include "scribusapi.h"
 #include "scrspinbox.h"
 #include "pageitem.h"
 #include "linkbutton.h"
-#include "linecombo.h"
-#include "shadebutton.h"
 #include "sclistboxpixmap.h"
 #include "scguardedptr.h"
 #include "sctreewidget.h"
 
 class Autoforms;
-class ScComboBox;
 class ScribusDoc;
 class ScribusMainWindow;
 class Selection;

Modified: branches/ScribusOIF/scribus/ui/propertiespalette_xyz.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16078&path=/branches/ScribusOIF/scribus/ui/propertiespalette_xyz.cpp
==============================================================================
--- branches/ScribusOIF/scribus/ui/propertiespalette_xyz.cpp (original)
+++ branches/ScribusOIF/scribus/ui/propertiespalette_xyz.cpp Tue Dec  7 22:24:22 2010
@@ -6,39 +6,6 @@
 */
 
 #include "propertiespalette_xyz.h"
-
-#include <QButtonGroup>
-#include <QCheckBox>
-#include <QCloseEvent>
-#include <QComboBox>
-#include <QEvent>
-#include <QFocusEvent>
-#include <QFrame>
-#include <QGridLayout>
-#include <QGroupBox>
-#include <QHBoxLayout>
-#include <QImage>
-#include <QKeyEvent>
-#include <QLabel>
-#include <QListView>
-#include <QTransform>
-#include <QMenu>
-#include <QMessageBox>
-#include <QObject>
-#include <QPixmap>
-#include <QPoint>
-#include <QPushButton>
-#include <QRadioButton>
-#include <QRegExp>
-#include <QSpacerItem>
-#include <QSpinBox>
-#include <QStackedWidget>
-#include <QTimer>
-#include <QToolBox>
-#include <QToolTip>
-#include <QVBoxLayout>
-#include <QValidator>
-#include <QWidget>
 
 #if defined(_MSC_VER)
 #define _USE_MATH_DEFINES
@@ -49,6 +16,7 @@
 #include "commonstrings.h"
 #include "colorlistbox.h"
 #include "sccolorengine.h"
+#include "pageitem.h"
 #include "pageitem_textframe.h"
 #include "propertiespalette_utils.h"
 #include "sccombobox.h"

Modified: branches/ScribusOIF/scribus/ui/propertiespalette_xyz.h
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16078&path=/branches/ScribusOIF/scribus/ui/propertiespalette_xyz.h
==============================================================================
--- branches/ScribusOIF/scribus/ui/propertiespalette_xyz.h (original)
+++ branches/ScribusOIF/scribus/ui/propertiespalette_xyz.h Tue Dec  7 22:24:22 2010
@@ -7,48 +7,18 @@
 #ifndef PROPERTIESPALETTE_XYZ_H
 #define PROPERTIESPALETTE_XYZ_H
 
-#include <QWidget>
-#include <QListWidgetItem>
-#include <QLineEdit>
-
-class QButtonGroup;
-class QCheckBox;
-class QCloseEvent;
-class QComboBox;
-class QEvent;
-class QEvent;
-class QFocusEvent;
-class QFrame;
-class QGridLayout;
-class QGroupBox;
-class QHBoxLayout;
-class QLabel;
-class QMenu;
-class QPushButton;
-class QRadioButton;
-class QSpinBox;
-class QStackedWidget;
-class QStackedWidget;
-class QToolBox;
-class QVBoxLayout;
-
 #include "ui_propertiespalette_xyzbase.h"
 
 #include "scribusapi.h"
 #include "scrspinbox.h"
-#include "pageitem.h"
-#include "page.h"
 #include "linkbutton.h"
-#include "shadebutton.h"
 #include "sclistboxpixmap.h"
 #include "scguardedptr.h"
-#include "sctreewidget.h"
 
-class Autoforms;
 class BasePointWidget;
 class NameWidget;
+class PageItem;
 class ScribusDoc;
-class ScComboBox;
 class Selection;
 class ScribusMainWindow;
 class UserActionSniffer;




More information about the scribus-commit mailing list