Replace KDE_DEPRECATED with TDE_DEPRECATED

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/71/head
Michele Calgaro 2 weeks ago
parent 8bc8b24757
commit c0bcd64f7f
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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); }
/**

@ -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

@ -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) {

@ -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

@ -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

@ -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 );

@ -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'.

@ -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.

@ -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

@ -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.
*/

Loading…
Cancel
Save