Commit a627cbd5 authored by Boudewijn Rempt's avatar Boudewijn Rempt

* Filenames changed, too. Also: changed HACKING guidelines to use four

spaces. 

svn path=/trunk/koffice/; revision=444999
parent 51238ee8
......@@ -7,7 +7,7 @@ consistency, these are the rules new code should adhere to:
Indentation
With real tabs, each tab eight spaces. Use the default Linux indentation
With four spaces. Use the default Java indentation
style of (X)Emacs or KDevelop -- also for brace placement.
Includes
......@@ -91,4 +91,4 @@ Spaces
Slots and signals
Prefix slots with slot and signals with sig: slotSelectionUpdated, sigSelectionUpdated.
\ No newline at end of file
Prefix slots with slot and signals with sig: slotSelectionUpdated, sigSelectionUpdated.
......@@ -18,8 +18,8 @@ INCLUDES = -I$(srcdir)/../../core \
kde_module_LTLIBRARIES = kritacmykplugin.la
kritacmykplugin_la_SOURCES = cmyk_plugin.cc kis_strategy_colorspace_cmyk.cc
noinst_HEADERS = cmyk_plugin.h kis_strategy_colorspace_cmyk.h
kritacmykplugin_la_SOURCES = cmyk_plugin.cc kis_cmyk_colorspace.cc
noinst_HEADERS = cmyk_plugin.h kis_cmyk_colorspace.h
kritacmykplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kritacmykplugin_la_LIBADD = ../../libkritacommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
......
......@@ -32,7 +32,7 @@
#include "cmyk_plugin.h"
#include "kis_strategy_colorspace_cmyk.h"
#include "kis_cmyk_colorspace.h"
typedef KGenericFactory<CMYKPlugin> CMYKPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kritacmykplugin, CMYKPluginFactory( "krita" ) )
......
......@@ -27,7 +27,7 @@
#include "kis_config.h"
#include "kis_image.h"
#include "kis_strategy_colorspace_cmyk.h"
#include "kis_cmyk_colorspace.h"
#include "kis_colorspace_registry.h"
#include "kis_iterators_pixel.h"
......
......@@ -18,14 +18,14 @@ INCLUDES = -I$(srcdir)/../../core \
lib_LTLIBRARIES = libkritagrayscale.la
libkritagrayscale_la_SOURCES = kis_strategy_colorspace_grayscale.cc
libkritagrayscale_la_SOURCES = kis_gray_colorspace.cc
libkritagrayscale_la_LDFLAGS = $(all_libraries)
libkritagrayscale_la_LIBADD = ../../libkritacommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
kde_module_LTLIBRARIES = kritagrayplugin.la
kritagrayplugin_la_SOURCES = gray_plugin.cc
noinst_HEADERS = gray_plugin.h kis_strategy_colorspace_grayscale.h
noinst_HEADERS = gray_plugin.h kis_gray_colorspace.h
kritagrayplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kritagrayplugin_la_LIBADD = ../../libkritacommon.la libkritagrayscale.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
......
......@@ -31,7 +31,7 @@
#include "gray_plugin.h"
#include "kis_strategy_colorspace_grayscale.h"
#include "kis_gray_colorspace.h"
typedef KGenericFactory<GrayPlugin> GrayPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kritagrayplugin, GrayPluginFactory( "kritacore" ) )
......
......@@ -32,7 +32,7 @@
#include "kis_abstract_colorspace.h"
#include "kis_colorspace_registry.h"
#include "kis_image.h"
#include "kis_strategy_colorspace_grayscale.h"
#include "kis_gray_colorspace.h"
#include "kis_iterators_pixel.h"
#include "kis_integer_maths.h"
......
......@@ -21,7 +21,7 @@
#include "kis_factory.h"
#include "kis_strategy_colorspace_grayscale_tester.h"
#include "kis_strategy_colorspace_grayscale.h"
#include "kis_gray_colorspace.h"
using namespace KUnitTest;
......
......@@ -22,7 +22,7 @@ INCLUDES = -I$(srcdir)/../../core \
lib_LTLIBRARIES = libkrita_rgb_f32.la
libkrita_rgb_f32_la_SOURCES = kis_strategy_colorspace_rgb_f32.cc
libkrita_rgb_f32_la_SOURCES = kis_rgb_f32_colorspace.cc
libkrita_rgb_f32_la_LDFLAGS = $(all_libraries)
libkrita_rgb_f32_la_LIBADD = ../../libkritacommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
......@@ -31,7 +31,7 @@ kde_module_LTLIBRARIES = krita_rgb_f32_plugin.la
# Srcs for the plugin
krita_rgb_f32_plugin_la_SOURCES = rgb_f32_plugin.cc
noinst_HEADERS = rgb_f32_plugin.h kis_strategy_colorspace_rgb_f32.h
noinst_HEADERS = rgb_f32_plugin.h kis_rgb_f32_colorspace.h
krita_rgb_f32_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
krita_rgb_f32_plugin_la_LIBADD = ../../libkritacommon.la libkrita_rgb_f32.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
......
......@@ -29,7 +29,7 @@
#include <klocale.h>
#include "kis_image.h"
#include "kis_strategy_colorspace_rgb_f32.h"
#include "kis_rgb_f32_colorspace.h"
#include "kis_iterators_pixel.h"
#include "kis_color_conversions.h"
......
......@@ -28,7 +28,7 @@
#include <kis_factory.h>
#include "rgb_f32_plugin.h"
#include "kis_strategy_colorspace_rgb_f32.h"
#include "kis_rgb_f32_colorspace.h"
typedef KGenericFactory<RGBF32Plugin> RGBF32PluginFactory;
K_EXPORT_COMPONENT_FACTORY( krita_rgb_f32_plugin, RGBF32PluginFactory( "krita" ) )
......
......@@ -21,7 +21,7 @@
#include "kis_factory.h"
#include "kis_strategy_colorspace_rgb_f32_tester.h"
#include "kis_strategy_colorspace_rgb_f32.h"
#include "kis_rgb_f32_colorspace.h"
#include "kis_integer_maths.h"
#include "kis_paint_device.h"
......
......@@ -15,7 +15,7 @@ INCLUDES = -I$(srcdir)/../../core \
$(all_includes)
lib_LTLIBRARIES = libkrita_rgb_u16.la
libkrita_rgb_u16_la_SOURCES = kis_strategy_colorspace_rgb_u16.cc
libkrita_rgb_u16_la_SOURCES = kis_rgb_u16_colorspace.cc
libkrita_rgb_u16_la_LDFLAGS = $(all_libraries)
libkrita_rgb_u16_la_LIBADD = ../../libkritacommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
......@@ -24,7 +24,7 @@ kde_module_LTLIBRARIES = krita_rgb_u16_plugin.la
# Srcs for the plugin
krita_rgb_u16_plugin_la_SOURCES = rgb_u16_plugin.cc
noinst_HEADERS = rgb_u16_plugin.h kis_strategy_colorspace_rgb_u16.h
noinst_HEADERS = rgb_u16_plugin.h kis_rgb_u16_colorspace.h
krita_rgb_u16_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
krita_rgb_u16_plugin_la_LIBADD = ../../libkritacommon.la libkrita_rgb_u16.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
......
......@@ -29,7 +29,7 @@
#include <klocale.h>
#include "kis_image.h"
#include "kis_strategy_colorspace_rgb_u16.h"
#include "kis_rgb_u16_colorspace.h"
#include "kis_iterators_pixel.h"
#include "kis_color_conversions.h"
#include "kis_integer_maths.h"
......
......@@ -28,7 +28,7 @@
#include <kis_factory.h>
#include "rgb_u16_plugin.h"
#include "kis_strategy_colorspace_rgb_u16.h"
#include "kis_rgb_u16_colorspace.h"
typedef KGenericFactory<RGBU16Plugin> RGBU16PluginFactory;
K_EXPORT_COMPONENT_FACTORY( krita_rgb_u16_plugin, RGBU16PluginFactory( "krita" ) )
......
......@@ -21,7 +21,7 @@
#include "kis_factory.h"
#include "kis_strategy_colorspace_rgb_u16_tester.h"
#include "kis_strategy_colorspace_rgb_u16.h"
#include "kis_rgb_u16_colorspace.h"
#include "kis_integer_maths.h"
#include "kis_paint_device.h"
......
......@@ -21,7 +21,7 @@ INCLUDES = -I$(srcdir)/../../core \
$(all_includes)
lib_LTLIBRARIES = libkritargb.la
libkritargb_la_SOURCES = kis_strategy_colorspace_rgb.cc
libkritargb_la_SOURCES = kis_rgb_colorspace.cc
libkritargb_la_LDFLAGS = $(all_libraries)
libkritargb_la_LIBADD = ../../libkritacommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
......@@ -30,7 +30,7 @@ kde_module_LTLIBRARIES = kritargbplugin.la
# Srcs for the plugin
kritargbplugin_la_SOURCES = rgb_plugin.cc
noinst_HEADERS = rgb_plugin.h kis_strategy_colorspace_rgb.h
noinst_HEADERS = rgb_plugin.h kis_rgb_colorspace.h
kritargbplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kritargbplugin_la_LIBADD = ../../libkritacommon.la libkritargb.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
......
......@@ -28,7 +28,7 @@
#include <klocale.h>
#include "kis_image.h"
#include "kis_strategy_colorspace_rgb.h"
#include "kis_rgb_colorspace.h"
#include "kis_iterators_pixel.h"
#include "kis_color_conversions.h"
#include "kis_integer_maths.h"
......
......@@ -36,7 +36,7 @@
#include "rgb_plugin.h"
#include "kis_strategy_colorspace_rgb.h"
#include "kis_rgb_colorspace.h"
typedef KGenericFactory<RGBPlugin> RGBPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kritargbplugin, RGBPluginFactory( "krita" ) )
......
......@@ -21,7 +21,7 @@
#include "kis_factory.h"
#include "kis_strategy_colorspace_rgb_tester.h"
#include "kis_strategy_colorspace_rgb.h"
#include "kis_rgb_colorspace.h"
using namespace KUnitTest;
......
......@@ -24,8 +24,8 @@ INCLUDES = -I$(srcdir)/../../core \
kde_module_LTLIBRARIES = kritatestcsplugin.la
# Srcs for the plugin
kritatestcsplugin_la_SOURCES = testcs_plugin.cc kis_strategy_colorspace_test.cc
noinst_HEADERS = testcs_plugin.h kis_strategy_colorspace_test.h
kritatestcsplugin_la_SOURCES = testcs_plugin.cc kis_test_colorspace.cc
noinst_HEADERS = testcs_plugin.h kis_test_colorspace.h
kritatestcsplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kritatestcsplugin_la_LIBADD = ../../libkritacommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
......
......@@ -28,7 +28,7 @@
#include <klocale.h>
#include "kis_image.h"
#include "kis_strategy_colorspace_test.h"
#include "kis_test_colorspace.h"
#include "kis_iterators_pixel.h"
#include "kis_color_conversions.h"
#include "kis_integer_maths.h"
......
......@@ -37,7 +37,7 @@
#include "testcs_plugin.h"
#include "kis_strategy_colorspace_test.h"
#include "kis_test_colorspace.h"
typedef KGenericFactory<TestCSPlugin> TestCSPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kritatestcsplugin, TestCSPluginFactory( "krita" ) )
......
......@@ -20,8 +20,8 @@ INCLUDES = -I$(srcdir)/../../core \
kde_module_LTLIBRARIES = kritawetplugin.la
kritawetplugin_la_SOURCES = kis_colorspace_wet.cc wet_plugin.cc kis_wetop.cc kis_wet_palette_widget.cc kis_wetness_visualisation_filter.cc kis_texture_painter.cc kis_texture_filter.cc wetphysicsfilter.cc
noinst_HEADERS = kis_colorspace_wet.h wet_plugin.h wetphysicsfilter.h kis_wetop.cc kis_wet_palette_widget.h kis_texture_painter.h kis_wetness_visualisation_filter.h kis_texture_filter.h wetphysicsfilter.h
kritawetplugin_la_SOURCES = kis_wet_colorspace.cc wet_plugin.cc kis_wetop.cc kis_wet_palette_widget.cc kis_wetness_visualisation_filter.cc kis_texture_painter.cc kis_texture_filter.cc wetphysicsfilter.cc
noinst_HEADERS = kis_wet_colorspace.h wet_plugin.h wetphysicsfilter.h kis_wetop.cc kis_wet_palette_widget.h kis_texture_painter.h kis_wetness_visualisation_filter.h kis_texture_filter.h wetphysicsfilter.h
kritawetplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kritawetplugin_la_LIBADD = ../../libkritacommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
......
......@@ -27,7 +27,7 @@
#include <kis_painter.h>
#include <kis_types.h>
#include "kis_colorspace_wet.h"
#include "kis_wet_colorspace.h"
#include "kis_texture_painter.h"
KisTexturePainter::KisTexturePainter()
......
......@@ -30,7 +30,7 @@
#include "kis_abstract_colorspace.h"
#include "kis_colorspace_registry.h"
#include "kis_image.h"
#include "kis_colorspace_wet.h"
#include "kis_wet_colorspace.h"
#include "kis_iterators_pixel.h"
#include "kis_integer_maths.h"
......
......@@ -41,7 +41,7 @@
#include <kis_color.h>
#include <kis_color_cup.h>
#include "kis_colorspace_wet.h"
#include "kis_wet_colorspace.h"
#include "kis_wet_palette_widget.h"
KisWetPaletteWidget::KisWetPaletteWidget(QWidget *parent, const char *name) : super(parent, name)
......
......@@ -23,7 +23,7 @@
#include <kis_image.h>
#include <kis_colorspace_registry.h>
#include "kis_colorspace_wet.h"
#include "kis_wet_colorspace.h"
#include "kis_wetness_visualisation_filter.h"
WetnessVisualisationFilter::WetnessVisualisationFilter(KisView* view)
......
......@@ -29,7 +29,7 @@
#include <kis_iterators_pixel.h>
#include "kis_wetop.h"
#include "kis_colorspace_wet.h"
#include "kis_wet_colorspace.h"
KisPaintOp * KisWetOpFactory::createOp(KisPainter * painter)
{
......
......@@ -53,7 +53,7 @@
#include "wet_plugin.h"
#include "kis_wet_palette_widget.h"
#include "kis_colorspace_wet.h"
#include "kis_wet_colorspace.h"
#include "kis_wetop.h"
#include "kis_wetness_visualisation_filter.h"
#include "kis_texture_filter.h"
......
......@@ -26,7 +26,7 @@
#include <kis_filter.h>
#include <kis_types.h>
#include "kis_colorspace_wet.h"
#include "kis_wet_colorspace.h"
class KisID;
class QRect;
......
......@@ -13,8 +13,8 @@ INCLUDES = -I$(srcdir)/../../core \
kde_module_LTLIBRARIES = kritawsplugin.la
kritawsplugin_la_SOURCES = wet_sticky_plugin.cc kis_colorspace_wet_sticky.cc kis_ws_engine_filter.cc
noinst_HEADERS = wet_sticky_plugin.h kis_colorspace_wet_sticky.h kis_ws_engine_filter.h
kritawsplugin_la_SOURCES = wet_sticky_plugin.cc kis_wet_sticky_colorspace.cc kis_ws_engine_filter.cc
noinst_HEADERS = wet_sticky_plugin.h kis_wet_sticky_colorspace.h kis_ws_engine_filter.h
kritawsplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kritawsplugin_la_LIBADD = ../../libkritacommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
......
......@@ -31,7 +31,7 @@
#include "kis_abstract_colorspace.h"
#include "kis_colorspace_registry.h"
#include "kis_image.h"
#include "kis_colorspace_wet_sticky.h"
#include "kis_wet_sticky_colorspace.h"
#include "kis_iterators_pixel.h"
#include "kis_integer_maths.h"
#include "kis_types.h"
......
......@@ -44,7 +44,7 @@
#include <kis_colorspace_registry.h>
#include "kis_ws_engine_filter.h"
#include "kis_colorspace_wet_sticky.h"
#include "kis_wet_sticky_colorspace.h"
/**
* The Wet & Sticky Engine filter is based on the wet & sticky model
......
......@@ -30,7 +30,7 @@
#include "wet_sticky_plugin.h"
#include "kis_colorspace_wet_sticky.h"
#include "kis_wet_sticky_colorspace.h"
#include "kis_ws_engine_filter.h"
typedef KGenericFactory<WetStickyPlugin> WetStickyPluginFactory;
......
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