From c0bcd64f7fce74db2ef792e73ed5eceb079fd64f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 15 May 2024 12:38:32 +0900 Subject: [PATCH] Replace KDE_DEPRECATED with TDE_DEPRECATED Signed-off-by: Michele Calgaro --- chalk/core/kis_datamanager.h | 4 ++-- chalk/core/kis_paint_device.h | 4 ++-- chalk/ui/kis_filters_listview.h | 4 ++-- filters/kword/libexport/TagProcessing.h | 2 +- kexi/3rdparty/kolibs/koPageLayoutDia.h | 2 +- kpresenter/KPrPixmapObject.h | 4 ++-- lib/kofficecore/KoStyleStack.h | 8 ++++---- lib/kofficecore/KoView.h | 2 +- lib/kofficeui/KoPageLayoutDia.h | 2 +- lib/kofficeui/KoRuler.h | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/chalk/core/kis_datamanager.h b/chalk/core/kis_datamanager.h index 79f7ddb8c..26b46081c 100644 --- a/chalk/core/kis_datamanager.h +++ b/chalk/core/kis_datamanager.h @@ -154,13 +154,13 @@ public: /** * Get a read-only pointer to the specified pixel. */ - inline KDE_DEPRECATED const TQ_UINT8* pixel(TQ_INT32 x, TQ_INT32 y) + inline TDE_DEPRECATED const TQ_UINT8* pixel(TQ_INT32 x, TQ_INT32 y) { return ACTUAL_DATAMGR::pixel(x, y); } /** * Get a read-write pointer to the specified pixel. */ - inline KDE_DEPRECATED TQ_UINT8* writablePixel(TQ_INT32 x, TQ_INT32 y) + inline TDE_DEPRECATED TQ_UINT8* writablePixel(TQ_INT32 x, TQ_INT32 y) { return ACTUAL_DATAMGR::writablePixel(x, y); } /** diff --git a/chalk/core/kis_paint_device.h b/chalk/core/kis_paint_device.h index e36abaf78..adcbeba42 100644 --- a/chalk/core/kis_paint_device.h +++ b/chalk/core/kis_paint_device.h @@ -235,12 +235,12 @@ public: /** * Get a read-only pointer to pixel (x, y). */ - KDE_DEPRECATED const TQ_UINT8* pixel(TQ_INT32 x, TQ_INT32 y); + TDE_DEPRECATED const TQ_UINT8* pixel(TQ_INT32 x, TQ_INT32 y); /** * Get a read-write pointer to pixel (x, y). */ - KDE_DEPRECATED TQ_UINT8* writablePixel(TQ_INT32 x, TQ_INT32 y); + TDE_DEPRECATED TQ_UINT8* writablePixel(TQ_INT32 x, TQ_INT32 y); /** * Converts the paint device to a different colorspace diff --git a/chalk/ui/kis_filters_listview.h b/chalk/ui/kis_filters_listview.h index 8d57bc876..6b486549a 100644 --- a/chalk/ui/kis_filters_listview.h +++ b/chalk/ui/kis_filters_listview.h @@ -107,7 +107,7 @@ class KisFiltersListView : public TDEIconView { public: explicit KisFiltersListView(TQWidget * parent = 0, const char * name = 0, WFlags f = 0, bool filterForAdjustmentLayers = false); KisFiltersListView(TQWidget* parent, bool filterForAdjustmentLayers = false, const char* name = 0); - KisFiltersListView(KisLayerSP layer, TQWidget* parent, bool filterForAdjustmentLayers = false, const char * name = 0) KDE_DEPRECATED; + KisFiltersListView(KisLayerSP layer, TQWidget* parent, bool filterForAdjustmentLayers = false, const char * name = 0) TDE_DEPRECATED; KisFiltersListView(KisPaintDeviceSP layer, TQWidget* parent, bool filterForAdjustmentLayers = false, const char * name = 0); virtual void customEvent(TQCustomEvent *); @@ -117,7 +117,7 @@ public: void init(); public: - void setLayer(KisLayerSP layer) KDE_DEPRECATED; + void setLayer(KisLayerSP layer) TDE_DEPRECATED; void setProfile(KisProfile * profile) { m_profile = profile; }; inline void setPaintDevice(KisPaintDeviceSP pd) { diff --git a/filters/kword/libexport/TagProcessing.h b/filters/kword/libexport/TagProcessing.h index 62176fd36..043bddc09 100644 --- a/filters/kword/libexport/TagProcessing.h +++ b/filters/kword/libexport/TagProcessing.h @@ -109,7 +109,7 @@ public: * @brief Old constructor (without type checking) * @deprecated do not use for new code */ - AttrProcessing ( const TQString& n, const TQString& t, void *d ) KDE_DEPRECATED; + AttrProcessing ( const TQString& n, const TQString& t, void *d ) TDE_DEPRECATED; /** * @brief No-op constructor diff --git a/kexi/3rdparty/kolibs/koPageLayoutDia.h b/kexi/3rdparty/kolibs/koPageLayoutDia.h index ff23c9293..14e387b93 100644 --- a/kexi/3rdparty/kolibs/koPageLayoutDia.h +++ b/kexi/3rdparty/kolibs/koPageLayoutDia.h @@ -142,7 +142,7 @@ public: * Retrieves a standard page layout. * Deprecated: better use KoPageLayout::standardLayout() */ - static KDE_DEPRECATED KoPageLayout standardLayout(); + static TDE_DEPRECATED KoPageLayout standardLayout(); /** * Returns the layout diff --git a/kpresenter/KPrPixmapObject.h b/kpresenter/KPrPixmapObject.h index 4534af09a..23917ef5b 100644 --- a/kpresenter/KPrPixmapObject.h +++ b/kpresenter/KPrPixmapObject.h @@ -60,7 +60,7 @@ public: { return image.getOriginalSize(); } /// Deprecated, please use KPrPixmapObject::setPicture - void setPixmap( const KoPictureKey & key ) KDE_DEPRECATED; + void setPixmap( const KoPictureKey & key ) TDE_DEPRECATED; void setPicture( const KoPictureKey & key ); void reload( void ); @@ -105,7 +105,7 @@ public: KoPicture picture() const { return image;} /// Deprecated, please use KPrPixmapObject::loadPicture - void loadImage( const TQString & fileName ) KDE_DEPRECATED; + void loadImage( const TQString & fileName ) TDE_DEPRECATED; void loadPicture( const TQString & fileName ); virtual void flip(bool horizontal ); diff --git a/lib/kofficecore/KoStyleStack.h b/lib/kofficecore/KoStyleStack.h index 6c188989d..0da315b43 100644 --- a/lib/kofficecore/KoStyleStack.h +++ b/lib/kofficecore/KoStyleStack.h @@ -100,13 +100,13 @@ public: * where detail is e.g. left, right, top or bottom. * This allows to also find 'name' alone (e.g. padding implies padding-left, padding-right etc.) */ - bool hasAttribute( const TQString& name, const TQString& detail = TQString() ) const KDE_DEPRECATED; + bool hasAttribute( const TQString& name, const TQString& detail = TQString() ) const TDE_DEPRECATED; /** * Search for the attribute called 'name', starting on top of the stack, * and return it. */ - TQString attribute( const TQString& name, const TQString& detail = TQString() ) const KDE_DEPRECATED; + TQString attribute( const TQString& name, const TQString& detail = TQString() ) const TDE_DEPRECATED; /** * Check if any of the styles on the stack has an attribute called 'name'-'detail' @@ -124,13 +124,13 @@ public: /** * Check if any of the styles on the stack has a child node called 'name'. */ - bool hasChildNode( const TQString & name ) const KDE_DEPRECATED; + bool hasChildNode( const TQString & name ) const TDE_DEPRECATED; /** * Search for a child node called 'name', starting on top of the stack, * and return it. */ - TQDomElement childNode( const TQString & name ) const KDE_DEPRECATED; + TQDomElement childNode( const TQString & name ) const TDE_DEPRECATED; /** * Check if any of the styles on the stack has a child element called 'localName' in the namespace 'nsURI'. diff --git a/lib/kofficecore/KoView.h b/lib/kofficecore/KoView.h index 354fd2c80..49615973b 100644 --- a/lib/kofficecore/KoView.h +++ b/lib/kofficecore/KoView.h @@ -252,7 +252,7 @@ public: * * @deprecated, use applyViewTransformations / reverseViewTransformations instead. */ - virtual TQWMatrix matrix() const KDE_DEPRECATED; + virtual TQWMatrix matrix() const TDE_DEPRECATED; /** * Apply the transformations that the view makes to its contents. diff --git a/lib/kofficeui/KoPageLayoutDia.h b/lib/kofficeui/KoPageLayoutDia.h index ff23c9293..14e387b93 100644 --- a/lib/kofficeui/KoPageLayoutDia.h +++ b/lib/kofficeui/KoPageLayoutDia.h @@ -142,7 +142,7 @@ public: * Retrieves a standard page layout. * Deprecated: better use KoPageLayout::standardLayout() */ - static KDE_DEPRECATED KoPageLayout standardLayout(); + static TDE_DEPRECATED KoPageLayout standardLayout(); /** * Returns the layout diff --git a/lib/kofficeui/KoRuler.h b/lib/kofficeui/KoRuler.h index 4c8031ecf..ca09f9c74 100644 --- a/lib/kofficeui/KoRuler.h +++ b/lib/kofficeui/KoRuler.h @@ -123,7 +123,7 @@ public: * example "mm", "pt" or "inch". * @deprecated You should use the KoUnit::Unit variant instead. */ - void setUnit( const TQString& unit ) KDE_DEPRECATED ; + void setUnit( const TQString& unit ) TDE_DEPRECATED ; /** * Set the unit to be used. */