diff options
Diffstat (limited to 'chalk/ui')
71 files changed, 84 insertions, 84 deletions
diff --git a/chalk/ui/imageviewer.h b/chalk/ui/imageviewer.h index 1865e5d0..b2fc86db 100644 --- a/chalk/ui/imageviewer.h +++ b/chalk/ui/imageviewer.h @@ -32,7 +32,7 @@ class TQLabel; */ class ImageViewer : public TQScrollView { Q_OBJECT - TQ_OBJECT + public: ImageViewer(TQWidget *widget, const char * name = 0); diff --git a/chalk/ui/kcurve.h b/chalk/ui/kcurve.h index 20aa20c3..f2a006be 100644 --- a/chalk/ui/kcurve.h +++ b/chalk/ui/kcurve.h @@ -29,7 +29,7 @@ class KRITAUI_EXPORT KCurve : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KCurve(TQWidget *parent = 0, const char *name = 0, WFlags f = 0); diff --git a/chalk/ui/kis_autobrush.h b/chalk/ui/kis_autobrush.h index fb06393e..bfba7ce9 100644 --- a/chalk/ui/kis_autobrush.h +++ b/chalk/ui/kis_autobrush.h @@ -26,7 +26,7 @@ class KisAutobrush : public KisWdgAutobrush { Q_OBJECT - TQ_OBJECT + public: KisAutobrush(TQWidget *parent, const char* name, const TQString& caption); void activate(); diff --git a/chalk/ui/kis_autogradient.h b/chalk/ui/kis_autogradient.h index 19c832a9..ff14345b 100644 --- a/chalk/ui/kis_autogradient.h +++ b/chalk/ui/kis_autogradient.h @@ -29,7 +29,7 @@ class KisAutogradientResource; class KisAutogradient : public KisWdgAutogradient { Q_OBJECT - TQ_OBJECT + public: KisAutogradient(TQWidget *parent, const char* name, const TQString& caption); diff --git a/chalk/ui/kis_birdeye_box.h b/chalk/ui/kis_birdeye_box.h index e8fb88f7..01883933 100644 --- a/chalk/ui/kis_birdeye_box.h +++ b/chalk/ui/kis_birdeye_box.h @@ -34,7 +34,7 @@ class KisColorSpace; class KisBirdEyeBox : public TQWidget { Q_OBJECT - TQ_OBJECT + public: diff --git a/chalk/ui/kis_brush_chooser.h b/chalk/ui/kis_brush_chooser.h index cd5509ad..eaf2aa6f 100644 --- a/chalk/ui/kis_brush_chooser.h +++ b/chalk/ui/kis_brush_chooser.h @@ -28,7 +28,7 @@ class KisDoubleWidget; class KisBrushChooser : public KisItemChooser { typedef KisItemChooser super; Q_OBJECT - TQ_OBJECT + public: KisBrushChooser(TQWidget *parent = 0, const char *name = 0); diff --git a/chalk/ui/kis_canvas.h b/chalk/ui/kis_canvas.h index 5f717468..79841b7a 100644 --- a/chalk/ui/kis_canvas.h +++ b/chalk/ui/kis_canvas.h @@ -66,7 +66,7 @@ class KisCanvasWidgetPainter; class KisCanvasWidget : public TQObject { Q_OBJECT - TQ_OBJECT + public: KisCanvasWidget(); @@ -283,7 +283,7 @@ protected: class KisCanvas : public TQObject { Q_OBJECT - TQ_OBJECT + public: KisCanvas(TQWidget *parent, const char *name); diff --git a/chalk/ui/kis_clipboard.h b/chalk/ui/kis_clipboard.h index 020240e6..fc90bf50 100644 --- a/chalk/ui/kis_clipboard.h +++ b/chalk/ui/kis_clipboard.h @@ -34,7 +34,7 @@ class TQImage; class KisClipboard : public TQObject { Q_OBJECT - TQ_OBJECT + public: diff --git a/chalk/ui/kis_cmb_composite.h b/chalk/ui/kis_cmb_composite.h index 25ccf367..ba11af4c 100644 --- a/chalk/ui/kis_cmb_composite.h +++ b/chalk/ui/kis_cmb_composite.h @@ -41,7 +41,7 @@ class KRITAUI_EXPORT KisCmbComposite : public TQComboBox typedef TQComboBox super; Q_OBJECT - TQ_OBJECT + public: diff --git a/chalk/ui/kis_cmb_idlist.h b/chalk/ui/kis_cmb_idlist.h index 06894309..9d14e2a2 100644 --- a/chalk/ui/kis_cmb_idlist.h +++ b/chalk/ui/kis_cmb_idlist.h @@ -35,7 +35,7 @@ class KisCmbIDList : public TQComboBox typedef TQComboBox super; Q_OBJECT - TQ_OBJECT + public: diff --git a/chalk/ui/kis_color_cup.h b/chalk/ui/kis_color_cup.h index 8c7fd2b5..6a304957 100644 --- a/chalk/ui/kis_color_cup.h +++ b/chalk/ui/kis_color_cup.h @@ -34,7 +34,7 @@ class KValueSelector; class KisColorPopup : public TQFrame { Q_OBJECT - TQ_OBJECT + public: @@ -56,7 +56,7 @@ private: class KRITAUI_EXPORT KisColorCup : public TQPushButton { Q_OBJECT - TQ_OBJECT + public: diff --git a/chalk/ui/kis_controlframe.h b/chalk/ui/kis_controlframe.h index ac20191d..f5217b27 100644 --- a/chalk/ui/kis_controlframe.h +++ b/chalk/ui/kis_controlframe.h @@ -52,7 +52,7 @@ class KisView; class KisPopupFrame : public TQPopupMenu { Q_OBJECT - TQ_OBJECT + public: @@ -76,7 +76,7 @@ private: class KisControlFrame : public TQObject //: public KToolBar { Q_OBJECT - TQ_OBJECT + public: KisControlFrame(KMainWindow * window, KisView * view, const char *name = 0 ); diff --git a/chalk/ui/kis_custom_brush.h b/chalk/ui/kis_custom_brush.h index a92ba65c..1d94bdcc 100644 --- a/chalk/ui/kis_custom_brush.h +++ b/chalk/ui/kis_custom_brush.h @@ -31,7 +31,7 @@ class KisResourceServerBase; class KisCustomBrush : public KisWdgCustomBrush { Q_OBJECT - TQ_OBJECT + public: KisCustomBrush(TQWidget *parent, const char* name, const TQString& caption, KisView* view); virtual ~KisCustomBrush(); diff --git a/chalk/ui/kis_custom_image_widget.h b/chalk/ui/kis_custom_image_widget.h index a36d44bc..4c171773 100644 --- a/chalk/ui/kis_custom_image_widget.h +++ b/chalk/ui/kis_custom_image_widget.h @@ -32,7 +32,7 @@ class KisID; */ class KisCustomImageWidget : public WdgNewImage { Q_OBJECT - TQ_OBJECT + public: /** * Constructor. Please note that this class is being used/created by KisDoc. diff --git a/chalk/ui/kis_custom_palette.h b/chalk/ui/kis_custom_palette.h index e8994c1e..52c76a7c 100644 --- a/chalk/ui/kis_custom_palette.h +++ b/chalk/ui/kis_custom_palette.h @@ -32,7 +32,7 @@ class KisResourceServerBase; class KisCustomPalette : public KisWdgCustomPalette { Q_OBJECT - TQ_OBJECT + public: KisCustomPalette(TQWidget *parent, const char* name, const TQString& caption, KisView* view); virtual ~KisCustomPalette(); diff --git a/chalk/ui/kis_custom_pattern.h b/chalk/ui/kis_custom_pattern.h index 7850b370..bfd1a5f4 100644 --- a/chalk/ui/kis_custom_pattern.h +++ b/chalk/ui/kis_custom_pattern.h @@ -31,7 +31,7 @@ class KisResourceServerBase; class KisCustomPattern : public KisWdgCustomPattern { Q_OBJECT - TQ_OBJECT + public: KisCustomPattern(TQWidget *parent, const char* name, const TQString& caption, KisView* view); virtual ~KisCustomPattern(); diff --git a/chalk/ui/kis_dlg_adj_layer_props.h b/chalk/ui/kis_dlg_adj_layer_props.h index e40635ee..a87e63f2 100644 --- a/chalk/ui/kis_dlg_adj_layer_props.h +++ b/chalk/ui/kis_dlg_adj_layer_props.h @@ -38,7 +38,7 @@ class KisDlgAdjLayerProps : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: diff --git a/chalk/ui/kis_dlg_adjustment_layer.h b/chalk/ui/kis_dlg_adjustment_layer.h index dd799260..58e2020a 100644 --- a/chalk/ui/kis_dlg_adjustment_layer.h +++ b/chalk/ui/kis_dlg_adjustment_layer.h @@ -38,7 +38,7 @@ class KisDlgAdjustmentLayer : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: diff --git a/chalk/ui/kis_dlg_apply_profile.h b/chalk/ui/kis_dlg_apply_profile.h index 017c54ec..60629f5c 100644 --- a/chalk/ui/kis_dlg_apply_profile.h +++ b/chalk/ui/kis_dlg_apply_profile.h @@ -27,7 +27,7 @@ class KisDlgApplyProfile : public KDialogBase { typedef KDialogBase super; Q_OBJECT - TQ_OBJECT + public: KisDlgApplyProfile(TQWidget *parent = 0, diff --git a/chalk/ui/kis_dlg_image_properties.h b/chalk/ui/kis_dlg_image_properties.h index b5d0a3ae..7f3e7892 100644 --- a/chalk/ui/kis_dlg_image_properties.h +++ b/chalk/ui/kis_dlg_image_properties.h @@ -29,7 +29,7 @@ class KisID; class KisDlgImageProperties : public KDialogBase { typedef KDialogBase super; Q_OBJECT - TQ_OBJECT + public: KisDlgImageProperties(KisImageSP image, diff --git a/chalk/ui/kis_dlg_layer_properties.h b/chalk/ui/kis_dlg_layer_properties.h index d60a6b8f..00e89ca8 100644 --- a/chalk/ui/kis_dlg_layer_properties.h +++ b/chalk/ui/kis_dlg_layer_properties.h @@ -28,7 +28,7 @@ class KisColorSpace; class KisDlgLayerProperties : public KDialogBase { typedef KDialogBase super; Q_OBJECT - TQ_OBJECT + public: KisDlgLayerProperties(const TQString& deviceName, diff --git a/chalk/ui/kis_dlg_new_layer.h b/chalk/ui/kis_dlg_new_layer.h index 761b2495..b54b2ec6 100644 --- a/chalk/ui/kis_dlg_new_layer.h +++ b/chalk/ui/kis_dlg_new_layer.h @@ -32,7 +32,7 @@ class WdgLayerProperties; class NewLayerDialog : public KDialogBase { typedef KDialogBase super; Q_OBJECT - TQ_OBJECT + public: NewLayerDialog(const KisID colorSpace, diff --git a/chalk/ui/kis_dlg_preferences.h b/chalk/ui/kis_dlg_preferences.h index 908caf8e..0b53dc9e 100644 --- a/chalk/ui/kis_dlg_preferences.h +++ b/chalk/ui/kis_dlg_preferences.h @@ -49,7 +49,7 @@ class KisID; class GeneralTab : public WdgGeneralSettings { Q_OBJECT - TQ_OBJECT + public: @@ -68,7 +68,7 @@ public: class ColorSettingsTab : public TQWidget { Q_OBJECT - TQ_OBJECT + public: @@ -91,7 +91,7 @@ public: class PerformanceTab : public WdgPerformanceSettings { Q_OBJECT - TQ_OBJECT + public: PerformanceTab( TQWidget *parent = 0, const char *name = 0 ); @@ -109,7 +109,7 @@ public: class TabletSettingsTab : public WdgTabletSettings { Q_OBJECT - TQ_OBJECT + public: TabletSettingsTab( TQWidget *parent = 0, const char *name = 0 ); @@ -206,7 +206,7 @@ private: class DisplaySettingsTab : public WdgDisplaySettings { Q_OBJECT - TQ_OBJECT + public: DisplaySettingsTab( TQWidget *parent = 0, const char *name = 0 ); @@ -225,7 +225,7 @@ protected slots: */ class GridSettingsTab : public WdgGridSettingsBase { Q_OBJECT - TQ_OBJECT + public: GridSettingsTab(TQWidget* parent); public: @@ -247,7 +247,7 @@ class GridSettingsTab : public WdgGridSettingsBase { class PreferencesDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: diff --git a/chalk/ui/kis_doc.h b/chalk/ui/kis_doc.h index f09cf39d..ccb4b535 100644 --- a/chalk/ui/kis_doc.h +++ b/chalk/ui/kis_doc.h @@ -50,7 +50,7 @@ class KRITACORE_EXPORT KisDoc : public KoDocument, private KisUndoAdapter { typedef KoDocument super; Q_OBJECT - TQ_OBJECT + public: KisDoc(TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject* parent = 0, const char* name = 0, bool singleViewMode = false); diff --git a/chalk/ui/kis_double_widget.h b/chalk/ui/kis_double_widget.h index beb1cdd0..e0e37e23 100644 --- a/chalk/ui/kis_double_widget.h +++ b/chalk/ui/kis_double_widget.h @@ -31,7 +31,7 @@ class KDoubleSpinBox; class KisDoubleWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + typedef TQWidget super; public: diff --git a/chalk/ui/kis_factory.h b/chalk/ui/kis_factory.h index 660e77dd..5426b4fa 100644 --- a/chalk/ui/kis_factory.h +++ b/chalk/ui/kis_factory.h @@ -35,7 +35,7 @@ class KAboutData; class KRITACORE_EXPORT KisFactory : public KoFactory { Q_OBJECT - TQ_OBJECT + public: KisFactory( TQObject* parent = 0, const char* name = 0 ); diff --git a/chalk/ui/kis_filter_manager.h b/chalk/ui/kis_filter_manager.h index a155e74a..bfb414cc 100644 --- a/chalk/ui/kis_filter_manager.h +++ b/chalk/ui/kis_filter_manager.h @@ -44,7 +44,7 @@ class KisPreviewDialog; class KRITACORE_EXPORT KisFilterManager : public TQObject { Q_OBJECT - TQ_OBJECT + public: diff --git a/chalk/ui/kis_gradient_chooser.h b/chalk/ui/kis_gradient_chooser.h index 3553213f..f61327d8 100644 --- a/chalk/ui/kis_gradient_chooser.h +++ b/chalk/ui/kis_gradient_chooser.h @@ -29,7 +29,7 @@ class KisView; class KisCustomGradientDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: @@ -44,7 +44,7 @@ private: class KisGradientChooser : public KisItemChooser { typedef KisItemChooser super; Q_OBJECT - TQ_OBJECT + public: // XXX: On library redesign, remove m_view parameter here, it's just a temporary hack for the autogradient dialog! diff --git a/chalk/ui/kis_gradient_slider_widget.h b/chalk/ui/kis_gradient_slider_widget.h index 995b3a59..f1b99ef0 100644 --- a/chalk/ui/kis_gradient_slider_widget.h +++ b/chalk/ui/kis_gradient_slider_widget.h @@ -30,7 +30,7 @@ class KisGradientSegment; class KisGradientSliderWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KisGradientSliderWidget(TQWidget *parent = 0, const char* name = 0, WFlags f = 0); diff --git a/chalk/ui/kis_grid_manager.h b/chalk/ui/kis_grid_manager.h index 16ae03f5..dcbc81a3 100644 --- a/chalk/ui/kis_grid_manager.h +++ b/chalk/ui/kis_grid_manager.h @@ -33,7 +33,7 @@ class KAction; class KisGridManager : public TQObject { Q_OBJECT - TQ_OBJECT + public: KisGridManager(KisView * parent); ~KisGridManager(); diff --git a/chalk/ui/kis_histogram_view.h b/chalk/ui/kis_histogram_view.h index 92ab8f20..7b3e5743 100644 --- a/chalk/ui/kis_histogram_view.h +++ b/chalk/ui/kis_histogram_view.h @@ -47,7 +47,7 @@ class KisChannelInfo; **/ class KisHistogramView : public TQLabel { Q_OBJECT - TQ_OBJECT + public: KisHistogramView(TQWidget *parent = 0, const char *name = 0, WFlags f = 0); virtual ~KisHistogramView(); diff --git a/chalk/ui/kis_iconwidget.h b/chalk/ui/kis_iconwidget.h index 45733d13..1baa8d7a 100644 --- a/chalk/ui/kis_iconwidget.h +++ b/chalk/ui/kis_iconwidget.h @@ -27,7 +27,7 @@ class KoIconItem; class KisIconWidget : public TQToolButton { typedef TQToolButton super; Q_OBJECT - TQ_OBJECT + /** * The icon widget is used in the control box where the current color and brush diff --git a/chalk/ui/kis_import_catcher.h b/chalk/ui/kis_import_catcher.h index 6f6923e1..1d5c452f 100644 --- a/chalk/ui/kis_import_catcher.h +++ b/chalk/ui/kis_import_catcher.h @@ -39,7 +39,7 @@ class KisDoc; class KisImportCatcher : TQObject { Q_OBJECT - TQ_OBJECT + public: diff --git a/chalk/ui/kis_int_spinbox.h b/chalk/ui/kis_int_spinbox.h index 469de099..ea80a80d 100644 --- a/chalk/ui/kis_int_spinbox.h +++ b/chalk/ui/kis_int_spinbox.h @@ -34,7 +34,7 @@ class TQValidator; class KisPopupSlider : public TQPopupMenu { Q_OBJECT - TQ_OBJECT + public: @@ -75,7 +75,7 @@ class KisIntSpinbox : public TQWidget { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( int value READ value WRITE setValue ) TQ_PROPERTY( int minValue READ minValue WRITE setMinValue ) TQ_PROPERTY( int maxValue READ maxValue WRITE setMaxValue ) diff --git a/chalk/ui/kis_itemchooser.h b/chalk/ui/kis_itemchooser.h index bb84ddcc..5b46a78c 100644 --- a/chalk/ui/kis_itemchooser.h +++ b/chalk/ui/kis_itemchooser.h @@ -31,7 +31,7 @@ typedef TQPtrList<KoIconItem> vKoIconItem; class KisItemChooser : public TQWidget { typedef TQWidget super; Q_OBJECT - TQ_OBJECT + public: KisItemChooser(TQWidget *parent = 0, diff --git a/chalk/ui/kis_label_cursor_pos.h b/chalk/ui/kis_label_cursor_pos.h index ff7301f1..81a8a30a 100644 --- a/chalk/ui/kis_label_cursor_pos.h +++ b/chalk/ui/kis_label_cursor_pos.h @@ -22,7 +22,7 @@ class KisLabelCursorPos : public TQLabel { Q_OBJECT - TQ_OBJECT + typedef TQLabel super; public: diff --git a/chalk/ui/kis_label_progress.h b/chalk/ui/kis_label_progress.h index 0539a143..f40a2ca2 100644 --- a/chalk/ui/kis_label_progress.h +++ b/chalk/ui/kis_label_progress.h @@ -29,7 +29,7 @@ class KProgress; class KisLabelProgress : public TQLabel, public KisProgressDisplayInterface { Q_OBJECT - TQ_OBJECT + typedef TQLabel super; public: diff --git a/chalk/ui/kis_label_zoom.h b/chalk/ui/kis_label_zoom.h index a2cff7ea..527b45e5 100644 --- a/chalk/ui/kis_label_zoom.h +++ b/chalk/ui/kis_label_zoom.h @@ -22,7 +22,7 @@ class KisLabelZoom : public TQLabel { Q_OBJECT - TQ_OBJECT + KisLabelZoom( TQWidget *parent, const char *name = 0, WFlags f = 0 ) : TQLabel( parent, name, f ) {} diff --git a/chalk/ui/kis_layerbox.h b/chalk/ui/kis_layerbox.h index 776f7fe2..eb721946 100644 --- a/chalk/ui/kis_layerbox.h +++ b/chalk/ui/kis_layerbox.h @@ -44,7 +44,7 @@ class KisCanvasSubject; class KisLayerBox : public TQFrame { typedef TQFrame super; Q_OBJECT - TQ_OBJECT + public: KisLayerBox(KisCanvasSubject *subject, TQWidget *parent = 0, const char *name = 0); diff --git a/chalk/ui/kis_layerlist.h b/chalk/ui/kis_layerlist.h index c8a2c18c..92683b80 100644 --- a/chalk/ui/kis_layerlist.h +++ b/chalk/ui/kis_layerlist.h @@ -30,7 +30,7 @@ class KisLayer; class KisLayerList: public LayerList { Q_OBJECT - TQ_OBJECT + typedef LayerList super; signals: diff --git a/chalk/ui/kis_multi_bool_filter_widget.h b/chalk/ui/kis_multi_bool_filter_widget.h index 81d626fa..a3d87559 100644 --- a/chalk/ui/kis_multi_bool_filter_widget.h +++ b/chalk/ui/kis_multi_bool_filter_widget.h @@ -41,7 +41,7 @@ typedef std::vector<KisBoolWidgetParam> vKisBoolWidgetParam; class KRITA_EXPORT KisMultiBoolFilterWidget : public KisFilterConfigWidget { Q_OBJECT - TQ_OBJECT + public: KisMultiBoolFilterWidget(TQWidget * parent, const char * name, const char *caption, vKisBoolWidgetParam iwparam); virtual void setConfiguration(KisFilterConfiguration * cfg); diff --git a/chalk/ui/kis_multi_double_filter_widget.h b/chalk/ui/kis_multi_double_filter_widget.h index ee3a3dcf..6c152a91 100644 --- a/chalk/ui/kis_multi_double_filter_widget.h +++ b/chalk/ui/kis_multi_double_filter_widget.h @@ -28,7 +28,7 @@ class KisDelayedActionDoubleInput : public KDoubleNumInput { Q_OBJECT - TQ_OBJECT + public: @@ -64,7 +64,7 @@ typedef std::vector<KisDoubleWidgetParam> vKisDoubleWidgetParam; class KRITA_EXPORT KisMultiDoubleFilterWidget : public KisFilterConfigWidget { Q_OBJECT - TQ_OBJECT + public: KisMultiDoubleFilterWidget(TQWidget * parent, const char * name, const char * caption, vKisDoubleWidgetParam dwparam); virtual void setConfiguration(KisFilterConfiguration * cfg); diff --git a/chalk/ui/kis_multi_integer_filter_widget.h b/chalk/ui/kis_multi_integer_filter_widget.h index c40b74a1..e4060c2c 100644 --- a/chalk/ui/kis_multi_integer_filter_widget.h +++ b/chalk/ui/kis_multi_integer_filter_widget.h @@ -29,7 +29,7 @@ class KisDelayedActionIntegerInput : public KIntNumInput { Q_OBJECT - TQ_OBJECT + public: @@ -65,7 +65,7 @@ typedef std::vector<KisIntegerWidgetParam> vKisIntegerWidgetParam; class KRITA_EXPORT KisMultiIntegerFilterWidget : public KisFilterConfigWidget { Q_OBJECT - TQ_OBJECT + public: KisMultiIntegerFilterWidget(TQWidget * parent, const char * name, const char *caption, vKisIntegerWidgetParam iwparam); diff --git a/chalk/ui/kis_opengl_image_context.h b/chalk/ui/kis_opengl_image_context.h index 2798f0f8..84cbea45 100644 --- a/chalk/ui/kis_opengl_image_context.h +++ b/chalk/ui/kis_opengl_image_context.h @@ -43,7 +43,7 @@ class KisColorSpace; class KRITACORE_EXPORT KisOpenGLImageContext : public TQObject , public KShared { Q_OBJECT - TQ_OBJECT + public: static KisOpenGLImageContextSP getImageContext(KisImageSP image, KisProfile *monitorProfile); diff --git a/chalk/ui/kis_paintop_box.h b/chalk/ui/kis_paintop_box.h index 400c087c..9312341e 100644 --- a/chalk/ui/kis_paintop_box.h +++ b/chalk/ui/kis_paintop_box.h @@ -50,7 +50,7 @@ class KisColorSpace; class KisPaintopBox : public TQWidget { Q_OBJECT - TQ_OBJECT + typedef TQWidget super; diff --git a/chalk/ui/kis_palette_view.h b/chalk/ui/kis_palette_view.h index e82b66c0..10e1fcd3 100644 --- a/chalk/ui/kis_palette_view.h +++ b/chalk/ui/kis_palette_view.h @@ -35,7 +35,7 @@ class KisColor; class KisPaletteView : public TQScrollView { Q_OBJECT - TQ_OBJECT + public: KisPaletteView(TQWidget *parent, const char* name = 0, int minWidth=210, int cols = 16); virtual ~KisPaletteView(); diff --git a/chalk/ui/kis_palette_widget.h b/chalk/ui/kis_palette_widget.h index 6ea62019..897a55ee 100644 --- a/chalk/ui/kis_palette_widget.h +++ b/chalk/ui/kis_palette_widget.h @@ -39,7 +39,7 @@ class KisColor; class KisPaletteWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KisPaletteWidget( TQWidget *parent, int minWidth=210, int cols = 16); virtual ~KisPaletteWidget(); diff --git a/chalk/ui/kis_part_layer.h b/chalk/ui/kis_part_layer.h index 377b37a0..47b8d954 100644 --- a/chalk/ui/kis_part_layer.h +++ b/chalk/ui/kis_part_layer.h @@ -73,7 +73,7 @@ protected: */ class KisPartLayerImpl : public KisPartLayer { Q_OBJECT - TQ_OBJECT + typedef KisPartLayer super; public: KisPartLayerImpl(KisImageSP img, KisChildDoc * doc); diff --git a/chalk/ui/kis_part_layer_handler.h b/chalk/ui/kis_part_layer_handler.h index ad21f868..cec8524a 100644 --- a/chalk/ui/kis_part_layer_handler.h +++ b/chalk/ui/kis_part_layer_handler.h @@ -29,7 +29,7 @@ class TQKeyEvent; class KisPartLayerHandler : public TQObject { Q_OBJECT - TQ_OBJECT + public: KisPartLayerHandler(KisView* view, const KoDocumentEntry& entry, KisGroupLayerSP parent, KisLayerSP above); diff --git a/chalk/ui/kis_pattern_chooser.h b/chalk/ui/kis_pattern_chooser.h index 284bd8e1..31350a1d 100644 --- a/chalk/ui/kis_pattern_chooser.h +++ b/chalk/ui/kis_pattern_chooser.h @@ -25,7 +25,7 @@ class TQLabel; class KisPatternChooser : public KisItemChooser { typedef KisItemChooser super; Q_OBJECT - TQ_OBJECT + public: KisPatternChooser(TQWidget *parent = 0, const char *name = 0); diff --git a/chalk/ui/kis_perspective_grid_manager.h b/chalk/ui/kis_perspective_grid_manager.h index 11875587..acb38deb 100644 --- a/chalk/ui/kis_perspective_grid_manager.h +++ b/chalk/ui/kis_perspective_grid_manager.h @@ -31,7 +31,7 @@ class KisView; class KisPerspectiveGridManager : public TQObject { Q_OBJECT - TQ_OBJECT + public: KisPerspectiveGridManager(KisView * parent); ~KisPerspectiveGridManager(); diff --git a/chalk/ui/kis_previewdialog.h b/chalk/ui/kis_previewdialog.h index 68f8153d..b5269fee 100644 --- a/chalk/ui/kis_previewdialog.h +++ b/chalk/ui/kis_previewdialog.h @@ -29,7 +29,7 @@ class TQFrame; class KisPreviewDialog: public KDialogBase { typedef KDialogBase super; Q_OBJECT - TQ_OBJECT + public: KisPreviewDialog( TQWidget* parent = 0, const char* name = 0, bool modal = false, const TQString &caption=TQString()); diff --git a/chalk/ui/kis_previewwidget.h b/chalk/ui/kis_previewwidget.h index 51592624..359175b7 100644 --- a/chalk/ui/kis_previewwidget.h +++ b/chalk/ui/kis_previewwidget.h @@ -48,7 +48,7 @@ class KisLabelProgress; class KisPreviewWidget : public PreviewWidgetBase { Q_OBJECT - TQ_OBJECT + public: /** Constructs the widget */ diff --git a/chalk/ui/kis_resource_mediator.h b/chalk/ui/kis_resource_mediator.h index 8c67151d..9f78700f 100644 --- a/chalk/ui/kis_resource_mediator.h +++ b/chalk/ui/kis_resource_mediator.h @@ -36,7 +36,7 @@ class KisResourceServerBase; */ class KisResourceMediator : public TQObject { Q_OBJECT - TQ_OBJECT + typedef TQObject super; public: diff --git a/chalk/ui/kis_resourceserver.h b/chalk/ui/kis_resourceserver.h index ab3de04e..aa1d0608 100644 --- a/chalk/ui/kis_resourceserver.h +++ b/chalk/ui/kis_resourceserver.h @@ -31,7 +31,7 @@ class KisResource; class KisResourceServerBase : public TQObject { Q_OBJECT - TQ_OBJECT + public: KisResourceServerBase(TQString type); virtual ~KisResourceServerBase(); diff --git a/chalk/ui/kis_ruler.h b/chalk/ui/kis_ruler.h index 28ab4d82..088f8df0 100644 --- a/chalk/ui/kis_ruler.h +++ b/chalk/ui/kis_ruler.h @@ -34,7 +34,7 @@ class TQPainter; class KisRuler : public TQFrame { Q_OBJECT - TQ_OBJECT + typedef TQFrame super; public: diff --git a/chalk/ui/kis_selection_manager.h b/chalk/ui/kis_selection_manager.h index d71353b2..435e186d 100644 --- a/chalk/ui/kis_selection_manager.h +++ b/chalk/ui/kis_selection_manager.h @@ -36,7 +36,7 @@ class KisClipboard; class KRITACORE_EXPORT KisSelectionManager : public TQObject { Q_OBJECT - TQ_OBJECT + public: diff --git a/chalk/ui/kis_selection_options.h b/chalk/ui/kis_selection_options.h index 115678cd..f4d38c36 100644 --- a/chalk/ui/kis_selection_options.h +++ b/chalk/ui/kis_selection_options.h @@ -32,7 +32,7 @@ class KRITAUI_EXPORT KisSelectionOptions : public TQWidget { Q_OBJECT - TQ_OBJECT + typedef TQWidget super; diff --git a/chalk/ui/kis_text_brush.h b/chalk/ui/kis_text_brush.h index 623ff432..4ca84797 100644 --- a/chalk/ui/kis_text_brush.h +++ b/chalk/ui/kis_text_brush.h @@ -49,7 +49,7 @@ class KisTextBrushResource : public KisBrush class KisTextBrush : public KisWdgTextBrush { Q_OBJECT - TQ_OBJECT + public: KisTextBrush(TQWidget *parent, const char* name, const TQString& caption); diff --git a/chalk/ui/kis_tool.h b/chalk/ui/kis_tool.h index bda3b7e7..fb79325a 100644 --- a/chalk/ui/kis_tool.h +++ b/chalk/ui/kis_tool.h @@ -60,7 +60,7 @@ const TQ_UINT8 NUMBER_OF_TOOLTYPES = 6; class KisTool : public TQObject, public KisCanvasObserver, public KShared { Q_OBJECT - TQ_OBJECT + public: KisTool(const TQString & name); diff --git a/chalk/ui/kis_tool_dummy.h b/chalk/ui/kis_tool_dummy.h index 0c5f1d6f..378781d6 100644 --- a/chalk/ui/kis_tool_dummy.h +++ b/chalk/ui/kis_tool_dummy.h @@ -40,7 +40,7 @@ class KRITATOOL_EXPORT KisToolDummy : public KisToolNonPaint { typedef KisToolNonPaint super; Q_OBJECT - TQ_OBJECT + public: KisToolDummy(); diff --git a/chalk/ui/kis_tool_freehand.h b/chalk/ui/kis_tool_freehand.h index 91db5698..a65c5a1e 100644 --- a/chalk/ui/kis_tool_freehand.h +++ b/chalk/ui/kis_tool_freehand.h @@ -34,7 +34,7 @@ class KisPaintLayer; class KRITACORE_EXPORT KisToolFreehand : public KisToolPaint { Q_OBJECT - TQ_OBJECT + typedef KisToolPaint super; public: diff --git a/chalk/ui/kis_tool_manager.h b/chalk/ui/kis_tool_manager.h index f3368383..e19d0b07 100644 --- a/chalk/ui/kis_tool_manager.h +++ b/chalk/ui/kis_tool_manager.h @@ -43,7 +43,7 @@ class KoToolBox; class KisToolManager : public TQObject, public KisToolControllerInterface { Q_OBJECT - TQ_OBJECT + public: diff --git a/chalk/ui/kis_tool_non_paint.h b/chalk/ui/kis_tool_non_paint.h index 0b618109..41608cae 100644 --- a/chalk/ui/kis_tool_non_paint.h +++ b/chalk/ui/kis_tool_non_paint.h @@ -39,7 +39,7 @@ class KisCanvasSubject; class KRITACORE_EXPORT KisToolNonPaint : public KisTool { Q_OBJECT - TQ_OBJECT + typedef KisTool super; public: diff --git a/chalk/ui/kis_tool_paint.h b/chalk/ui/kis_tool_paint.h index 565d1476..58fddfd7 100644 --- a/chalk/ui/kis_tool_paint.h +++ b/chalk/ui/kis_tool_paint.h @@ -51,7 +51,7 @@ enum enumBrushMode { class KRITACORE_EXPORT KisToolPaint : public KisTool { Q_OBJECT - TQ_OBJECT + typedef KisTool super; public: diff --git a/chalk/ui/kis_tool_registry.h b/chalk/ui/kis_tool_registry.h index 5fd32b93..fe477131 100644 --- a/chalk/ui/kis_tool_registry.h +++ b/chalk/ui/kis_tool_registry.h @@ -38,7 +38,7 @@ class TQStringList; class KRITACORE_EXPORT KisToolRegistry : public TQObject, public KisGenericRegistry<KisToolFactorySP>{ Q_OBJECT - TQ_OBJECT + public: virtual ~KisToolRegistry(); diff --git a/chalk/ui/kis_tool_shape.h b/chalk/ui/kis_tool_shape.h index 45767fe4..fb750ac5 100644 --- a/chalk/ui/kis_tool_shape.h +++ b/chalk/ui/kis_tool_shape.h @@ -30,7 +30,7 @@ class WdgGeometryOptions; class KRITACORE_EXPORT KisToolShape : public KisToolPaint { Q_OBJECT - TQ_OBJECT + typedef KisToolPaint super; public: diff --git a/chalk/ui/kis_view.h b/chalk/ui/kis_view.h index 3e4b6987..514f789f 100644 --- a/chalk/ui/kis_view.h +++ b/chalk/ui/kis_view.h @@ -118,7 +118,7 @@ class KRITA_EXPORT KisView { Q_OBJECT - TQ_OBJECT + typedef KoView super; diff --git a/chalk/ui/kobirdeyepanel.h b/chalk/ui/kobirdeyepanel.h index de280d9a..61b85fb0 100644 --- a/chalk/ui/kobirdeyepanel.h +++ b/chalk/ui/kobirdeyepanel.h @@ -138,7 +138,7 @@ class KoThumbnailAdapter class KoBirdEyePanel : public TQWidget { Q_OBJECT - TQ_OBJECT + public: diff --git a/chalk/ui/layerlist.h b/chalk/ui/layerlist.h index ea6926b7..39cd0214 100644 --- a/chalk/ui/layerlist.h +++ b/chalk/ui/layerlist.h @@ -34,7 +34,7 @@ template<class T> class TQPtrList; class LayerList: public KListView { Q_OBJECT - TQ_OBJECT + public: LayerList( TQWidget *parent = 0, const char *name = 0 ); diff --git a/chalk/ui/squeezedcombobox.h b/chalk/ui/squeezedcombobox.h index 9103b4f9..bb3b1ae1 100644 --- a/chalk/ui/squeezedcombobox.h +++ b/chalk/ui/squeezedcombobox.h @@ -82,7 +82,7 @@ private: class SqueezedComboBox : public TQComboBox { Q_OBJECT - TQ_OBJECT + public: /** |