Commit f34e0ee8 authored by Martin Koller's avatar Martin Koller
Browse files

remove unused includes, port away from klocale -> KLocalizedString

parent ebdc633b
......@@ -25,17 +25,13 @@
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#define DEBUG_KP_EFFECT_BALANCE 0
#include "kpEffectBalanceCommand.h"
#include "imagelib/effects/kpEffectBalance.h"
#include "kpLogCategories.h"
#include <klocale.h>
#include <KLocalizedString>
//--------------------------------------------------------------------------------
kpEffectBalanceCommand::kpEffectBalanceCommand (int channels,
int brightness, int contrast, int gamma,
......
......@@ -31,9 +31,9 @@
#include "kpEffectBlurSharpenCommand.h"
#include "kpLogCategories.h"
#include <klocale.h>
#include <KLocalizedString>
//--------------------------------------------------------------------------------
kpEffectBlurSharpenCommand::kpEffectBlurSharpenCommand (kpEffectBlurSharpen::Type type,
int strength,
......
......@@ -31,11 +31,10 @@
#include "layers/selections/image/kpAbstractImageSelection.h"
#include "kpDefs.h"
#include "document/kpDocument.h"
#include "pixmapfx/kpPixmapFX.h"
#include "kpLogCategories.h"
#include <klocale.h>
#include <KLocalizedString>
//--------------------------------------------------------------------------------
kpEffectClearCommand::kpEffectClearCommand (bool actOnSelection,
const kpColor &newColor,
......
......@@ -28,12 +28,13 @@
#include "kpEffectCommandBase.h"
#include <klocale.h>
#include "kpDefs.h"
#include "document/kpDocument.h"
#include "generic/kpSetOverrideCursorSaver.h"
#include <KLocalizedString>
//--------------------------------------------------------------------------------
struct kpEffectCommandBasePrivate
{
......
......@@ -32,9 +32,9 @@
#include "kpEffectFlattenCommand.h"
#include "imagelib/effects/kpEffectFlatten.h"
#include "kpLogCategories.h"
#include <klocale.h>
#include <KLocalizedString>
//--------------------------------------------------------------------------------
kpEffectFlattenCommand::kpEffectFlattenCommand (const QColor &color1,
const QColor &color2,
......
......@@ -29,8 +29,9 @@
#include "kpEffectGrayscaleCommand.h"
#include "imagelib/effects/kpEffectGrayscale.h"
#include <klocale.h>
#include <KLocalizedString>
//--------------------------------------------------------------------------------
kpEffectGrayscaleCommand::kpEffectGrayscaleCommand (
bool actOnSelection,
......
......@@ -27,7 +27,7 @@
#include "kpEffectHSVCommand.h"
#include "imagelib/effects/kpEffectHSV.h"
#include <klocale.h>
#include <KLocalizedString>
//---------------------------------------------------------------------
......
......@@ -26,22 +26,13 @@
*/
#define DEBUG_KP_EFFECT_INVERT 0
#include "kpEffectInvertCommand.h"
#include "imagelib/effects/kpEffectInvert.h"
#include "pixmapfx/kpPixmapFX.h"
#include <qcheckbox.h>
#include <qimage.h>
#include <qlayout.h>
#include <qpixmap.h>
#include "kpLogCategories.h"
#include <klocale.h>
#include <KLocalizedString>
//--------------------------------------------------------------------------------
kpEffectInvertCommand::kpEffectInvertCommand (int channels,
bool actOnSelection,
......
......@@ -30,11 +30,9 @@
#include "kpEffectReduceColorsCommand.h"
#include "imagelib/effects/kpEffectReduceColors.h"
#include "kpLogCategories.h"
#include <klocale.h>
#include <KLocalizedString>
//---------------------------------------------------------------------
......
......@@ -31,9 +31,9 @@
#include "imagelib/effects/kpEffectToneEnhance.h"
#include "kpLogCategories.h"
#include <klocale.h>
#include <KLocalizedString>
//--------------------------------------------------------------------------------
kpEffectToneEnhanceCommand::kpEffectToneEnhanceCommand (double granularity, double amount,
bool actOnSelection,
......
......@@ -32,8 +32,6 @@
#include "imagelib/kpDocumentMetaInfo.h"
#include "kpDefs.h"
#include <klocale.h>
struct kpDocumentMetaInfoCommandPrivate
{
......
......@@ -29,20 +29,16 @@
#include "kpTransformFlipCommand.h"
#include <qapplication.h>
#include <qgroupbox.h>
#include <qlayout.h>
#include <qpixmap.h>
#include <qradiobutton.h>
#include "kpLogCategories.h"
#include <klocale.h>
#include "layers/selections/image/kpAbstractImageSelection.h"
#include "environments/commands/kpCommandEnvironment.h"
#include "kpDefs.h"
#include "document/kpDocument.h"
#include "pixmapfx/kpPixmapFX.h"
#include <KLocalizedString>
//---------------------------------------------------------------------
kpTransformFlipCommand::kpTransformFlipCommand (bool actOnSelection,
......
......@@ -44,22 +44,17 @@
#include <math.h>
#include <qapplication.h>
#include <qpixmap.h>
#include <qpoint.h>
#include <qpolygon.h>
#include <qrect.h>
#include <qsize.h>
#include <qtoolbutton.h>
#include <qmatrix.h>
#include <kapplication.h>
#include <kconfig.h>
#include "kpLogCategories.h"
#include <kiconeffect.h>
#include <kiconloader.h>
#include <klocale.h>
#include <knuminput.h>
#include <KLocalizedString>
//--------------------------------------------------------------------------------
kpTransformResizeScaleCommand::kpTransformResizeScaleCommand (bool actOnSelection,
int newWidth, int newHeight,
......
......@@ -38,15 +38,15 @@
#include "pixmapfx/kpPixmapFX.h"
#include "layers/selections/image/kpRectangularImageSelection.h"
#include "views/manager/kpViewManager.h"
#include "kpLogCategories.h"
#include <qapplication.h>
#include <qpixmap.h>
#include <qpolygon.h>
#include <qmatrix.h>
#include "kpLogCategories.h"
#include <klocale.h>
#include <KLocalizedString>
//--------------------------------------------------------------------------------
kpTransformRotateCommand::kpTransformRotateCommand (bool actOnSelection,
double angle,
......
......@@ -39,18 +39,18 @@
#include "layers/selections/image/kpFreeFormImageSelection.h"
#include "pixmapfx/kpPixmapFX.h"
#include "layers/selections/image/kpRectangularImageSelection.h"
#include "kpLogCategories.h"
#include <qapplication.h>
#include <qmatrix.h>
#include <qpixmap.h>
#include <qpolygon.h>
#include "kpLogCategories.h"
#include <klocale.h>
// TODO: nasty, should avoid using GUI class in this command class
#include "dialogs/imagelib/transforms/kpTransformSkewDialog.h"
#include <KLocalizedString>
//--------------------------------------------------------------------------------
kpTransformSkewCommand::kpTransformSkewCommand (bool actOnSelection,
int hangle, int vangle,
......
......@@ -33,22 +33,20 @@
#include <climits>
#include <qdatetime.h>
#include <qlinkedlist.h>
#include <qmenu.h>
#include <kapplication.h>
#include <kconfig.h>
#include "kpLogCategories.h"
#include <klocale.h>
#include <KSharedConfig>
#include <kconfiggroup.h>
#include <kstandardshortcut.h>
#include <kstandardaction.h>
#include <ktoolbarpopupaction.h>
#include <kactioncollection.h>
#include <kconfiggroup.h>
#include <kiconloader.h>
#include <KLocalizedString>
#include "kpCommand.h"
#include "kpLogCategories.h"
#include "environments/commands/kpCommandEnvironment.h"
#include "kpDefs.h"
#include "document/kpDocument.h"
......
......@@ -35,13 +35,12 @@
#include "kpDefs.h"
#include "document/kpDocument.h"
#include "imagelib/kpImage.h"
#include "pixmapfx/kpPixmapFX.h"
#include "kpLogCategories.h"
#include <klocale.h>
#include <qapplication.h>
#include <KLocalizedString>
//---------------------------------------------------------------------
struct kpToolFloodFillCommandPrivate
......
......@@ -34,28 +34,7 @@
#include "document/kpDocument.h"
#include "kpDefs.h"
#include "imagelib/kpImage.h"
#include "imagelib/kpPainter.h"
#include "pixmapfx/kpPixmapFX.h"
#include "layers/tempImage/kpTempImage.h"
#include "tools/polygonal/kpToolPolygonalBase.h"
#include "widgets/toolbars/options/kpToolWidgetLineWidth.h"
#include "views/manager/kpViewManager.h"
#include <float.h>
#include <math.h>
#include "kpLogCategories.h"
#include <klocale.h>
#include <qbitmap.h>
#include <qcursor.h>
#include <qlayout.h>
#include <qpainter.h>
#include <qpixmap.h>
#include <qpoint.h>
#include <qpolygon.h>
#include <qpushbutton.h>
#include <qrect.h>
struct kpToolPolygonalCommandPrivate
......
......@@ -42,15 +42,7 @@
#include "widgets/toolbars/options/kpToolWidgetLineWidth.h"
#include "views/kpView.h"
#include "views/manager/kpViewManager.h"
#include "kpLogCategories.h"
#include <klocale.h>
#include <qbitmap.h>
#include <qcursor.h>
#include <qevent.h>
#include <qpainter.h>
#include <qpixmap.h>
struct kpToolRectangularCommandPrivate
......
......@@ -31,16 +31,15 @@
#include "kpToolImageSelectionTransparencyCommand.h"
#include "layers/selections/image/kpAbstractImageSelection.h"
#include "environments/commands/kpCommandEnvironment.h"
#include "kpDefs.h"
#include "generic/kpSetOverrideCursorSaver.h"
#include "kpLogCategories.h"
#include <klocale.h>
#include "layers/selections/image/kpAbstractImageSelection.h"
#include <qcursor.h>
#include <QCursor>
//--------------------------------------------------------------------------------
kpToolImageSelectionTransparencyCommand::kpToolImageSelectionTransparencyCommand (
const QString &name,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment