Replace KDE_DEPRECATED with TDE_DEPRECATED

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/275/head
Michele Calgaro 7 months ago
parent 562773a5f7
commit 43e38f2c0a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -448,7 +448,7 @@ class DCOP_EXPORT DCOPClient : public TQObject
*/ */
bool connectDCOPSignal( const TQCString &sender, const TQCString &signal, bool connectDCOPSignal( const TQCString &sender, const TQCString &signal,
const TQCString &receiverObj, const TQCString &slot, const TQCString &receiverObj, const TQCString &slot,
bool Volatile) KDE_DEPRECATED; bool Volatile) TDE_DEPRECATED;
/** /**
* Disconnects a DCOP signal. * Disconnects a DCOP signal.
@ -476,7 +476,7 @@ class DCOP_EXPORT DCOPClient : public TQObject
* For backwards compatibility * For backwards compatibility
*/ */
bool disconnectDCOPSignal( const TQCString &sender, const TQCString &signal, bool disconnectDCOPSignal( const TQCString &sender, const TQCString &signal,
const TQCString &receiverObj, const TQCString &slot) KDE_DEPRECATED; const TQCString &receiverObj, const TQCString &slot) TDE_DEPRECATED;
/** /**
* Reimplement this function to handle app-wide function calls unassociated w/an object. * Reimplement this function to handle app-wide function calls unassociated w/an object.
@ -739,7 +739,7 @@ class DCOP_EXPORT DCOPClient : public TQObject
* For backwards compatibility with KDE 2.x * For backwards compatibility with KDE 2.x
* // KDE4 remove * // KDE4 remove
*/ */
static TQCString dcopServerFileOld(const TQCString &hostname=0) KDE_DEPRECATED; static TQCString dcopServerFileOld(const TQCString &hostname=0) TDE_DEPRECATED;
/** /**
* Return the path of iceauth or an empty string if not found. * Return the path of iceauth or an empty string if not found.

@ -181,7 +181,7 @@ struct PlayerController
* @deprecated * @deprecated
* Not used * Not used
*/ */
volatile int message KDE_DEPRECATED; // set one of the following : volatile int message TDE_DEPRECATED; // set one of the following :
#define PLAYER_DOPAUSE 1 #define PLAYER_DOPAUSE 1
#define PLAYER_DOSTOP 2 #define PLAYER_DOSTOP 2

@ -339,7 +339,7 @@ class KABC_EXPORT AddressBook : public TQObject
/** /**
@deprecated There is no need to call this function anymore. @deprecated There is no need to call this function anymore.
*/ */
void cleanUp() KDE_DEPRECATED; void cleanUp() TDE_DEPRECATED;
/** /**
Used for debug output. This function prints out the list Used for debug output. This function prints out the list

@ -76,7 +76,7 @@ namespace TDEABC {
* @param allowEncode Set to false if you wish no encoding of the value. * @param allowEncode Set to false if you wish no encoding of the value.
* @since 3.2 * @since 3.2
*/ */
KABC_EXPORT TQString makeLDIFfieldString( TQString field, TQString value, bool allowEncode = true ) KDE_DEPRECATED; KABC_EXPORT TQString makeLDIFfieldString( TQString field, TQString value, bool allowEncode = true ) TDE_DEPRECATED;

@ -83,12 +83,12 @@ class KABC_EXPORT StdAddressBook : public AddressBook
@deprecated Use AddressBook::save( Ticket* ) instead @deprecated Use AddressBook::save( Ticket* ) instead
*/ */
static bool save() KDE_DEPRECATED; static bool save() TDE_DEPRECATED;
/** /**
@deprecated There is no need to call this function anymore. @deprecated There is no need to call this function anymore.
*/ */
static void handleCrash() KDE_DEPRECATED; static void handleCrash() TDE_DEPRECATED;
/** /**
Returns the default file name for vcard-based addressbook Returns the default file name for vcard-based addressbook

@ -111,12 +111,12 @@ class KABC_EXPORT VCardConverter
/** /**
@deprecated @deprecated
*/ */
bool vCardToAddressee( const TQString&, Addressee &, Version version = v3_0 ) KDE_DEPRECATED; bool vCardToAddressee( const TQString&, Addressee &, Version version = v3_0 ) TDE_DEPRECATED;
/** /**
@deprecated @deprecated
*/ */
bool addresseeToVCard( const Addressee&, TQString&, Version version = v3_0 ) KDE_DEPRECATED; bool addresseeToVCard( const Addressee&, TQString&, Version version = v3_0 ) TDE_DEPRECATED;
private: private:
/** /**

@ -70,67 +70,67 @@
#endif #endif
/** /**
* The KDE_DEPRECATED macro can be used to trigger compile-time warnings * The TDE_DEPRECATED macro can be used to trigger compile-time warnings
* with newer compilers when deprecated functions are used. * with newer compilers when deprecated functions are used.
* *
* For non-inline functions, the macro gets inserted at the very end of the * For non-inline functions, the macro gets inserted at the very end of the
* function declaration, right before the semicolon: * function declaration, right before the semicolon:
* *
* \code * \code
* DeprecatedConstructor() KDE_DEPRECATED; * DeprecatedConstructor() TDE_DEPRECATED;
* void deprecatedFunctionA() KDE_DEPRECATED; * void deprecatedFunctionA() TDE_DEPRECATED;
* int deprecatedFunctionB() const KDE_DEPRECATED; * int deprecatedFunctionB() const TDE_DEPRECATED;
* \endcode * \endcode
* *
* Functions which are implemented inline are handled differently: for them, * Functions which are implemented inline are handled differently: for them,
* the KDE_DEPRECATED macro is inserted at the front, right before the return * the TDE_DEPRECATED macro is inserted at the front, right before the return
* type, but after "static" or "virtual": * type, but after "static" or "virtual":
* *
* \code * \code
* KDE_DEPRECATED void deprecatedInlineFunctionA() { .. } * TDE_DEPRECATED void deprecatedInlineFunctionA() { .. }
* virtual KDE_DEPRECATED int deprecatedInlineFunctionB() { .. } * virtual TDE_DEPRECATED int deprecatedInlineFunctionB() { .. }
* static KDE_DEPRECATED bool deprecatedInlineFunctionC() { .. } * static TDE_DEPRECATED bool deprecatedInlineFunctionC() { .. }
* \end * \end
* *
* You can also mark whole structs or classes as deprecated, by inserting the * You can also mark whole structs or classes as deprecated, by inserting the
* KDE_DEPRECATED macro after the struct/class keyword, but before the * TDE_DEPRECATED macro after the struct/class keyword, but before the
* name of the struct/class: * name of the struct/class:
* *
* \code * \code
* class KDE_DEPRECATED DeprecatedClass { }; * class TDE_DEPRECATED DeprecatedClass { };
* struct KDE_DEPRECATED DeprecatedStruct { }; * struct TDE_DEPRECATED DeprecatedStruct { };
* \endcode * \endcode
* *
* \note * \note
* It does not make much sense to use the KDE_DEPRECATED keyword for a Qt signal; * It does not make much sense to use the TDE_DEPRECATED keyword for a TQt signal;
* this is because usually get called by the class which they belong to, * this is because usually get called by the class which they belong to,
* and one'd assume that a class author doesn't use deprecated methods of his * and one'd assume that a class author doesn't use deprecated methods of his
* own class. The only exception to this are signals which are connected to * own class. The only exception to this are signals which are connected to
* other signals; they get invoked from moc-generated code. In any case, * other signals; they get invoked from moc-generated code. In any case,
* printing a warning message in either case is not useful. * printing a warning message in either case is not useful.
* For slots, it can make sense (since slots can be invoked directly) but be * For slots, it can make sense (since slots can be invoked directly) but be
* aware that if the slots get triggered by a signal, the will get called from * aware that if the slots get triggered by a signal, it will get called from
* moc code as well and thus the warnings are useless. * moc code as well and thus the warnings are useless.
* *
* \par * \par
* Also note that it is not possible to use KDE_DEPRECATED for classes which * Also note that it is not possible to use TDE_DEPRECATED for classes which
* use the k_dcop keyword (to indicate a DCOP interface declaration); this is * use the k_dcop keyword (to indicate a DCOP interface declaration); this is
* because the dcopidl program would choke on the unexpected declaration * because the dcopidl program would choke on the unexpected declaration
* syntax. * syntax.
*/ */
#ifndef KDE_DEPRECATED #ifndef TDE_DEPRECATED
#if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2) #ifdef __GNUC__
/* gcc >= 3.2 */ #define TDE_DEPRECATED __attribute__ ((deprecated))
# define KDE_DEPRECATED __attribute__ ((deprecated)) #elif defined(_MSC_VER)
#elif defined(_MSC_VER) && (_MSC_VER >= 1300) #define TDE_DEPRECATED __declspec(deprecated)
/* msvc >= 7 */ #else
# define KDE_DEPRECATED __declspec(deprecated) #define TDE_DEPRECATED
#else #endif
# define KDE_DEPRECATED
#endif
#endif #endif
#define KDE_DEPRECATED TDE_DEPRECATED
/** /**
* The KDE_ISLIKELY macro tags a boolean expression as likely to evaluate to * The KDE_ISLIKELY macro tags a boolean expression as likely to evaluate to
* 'true'. When used in an if ( ) statement, it gives a hint to the compiler * 'true'. When used in an if ( ) statement, it gives a hint to the compiler

@ -69,39 +69,39 @@
#endif #endif
/** /**
* The KDE_DEPRECATED macro can be used to trigger compile-time warnings * The TDE_DEPRECATED macro can be used to trigger compile-time warnings
* with newer compilers when deprecated functions are used. * with newer compilers when deprecated functions are used.
* *
* For non-inline functions, the macro gets inserted at the very end of the * For non-inline functions, the macro gets inserted at the very end of the
* function declaration, right before the semicolon: * function declaration, right before the semicolon:
* *
* \code * \code
* DeprecatedConstructor() KDE_DEPRECATED; * DeprecatedConstructor() TDE_DEPRECATED;
* void deprecatedFunctionA() KDE_DEPRECATED; * void deprecatedFunctionA() TDE_DEPRECATED;
* int deprecatedFunctionB() const KDE_DEPRECATED; * int deprecatedFunctionB() const TDE_DEPRECATED;
* \endcode * \endcode
* *
* Functions which are implemented inline are handled differently: for them, * Functions which are implemented inline are handled differently: for them,
* the KDE_DEPRECATED macro is inserted at the front, right before the return * the TDE_DEPRECATED macro is inserted at the front, right before the return
* type, but after "static" or "virtual": * type, but after "static" or "virtual":
* *
* \code * \code
* KDE_DEPRECATED void deprecatedInlineFunctionA() { .. } * TDE_DEPRECATED void deprecatedInlineFunctionA() { .. }
* virtual KDE_DEPRECATED int deprecatedInlineFunctionB() { .. } * virtual TDE_DEPRECATED int deprecatedInlineFunctionB() { .. }
* static KDE_DEPRECATED bool deprecatedInlineFunctionC() { .. } * static TDE_DEPRECATED bool deprecatedInlineFunctionC() { .. }
* \end * \end
* *
* You can also mark whole structs or classes as deprecated, by inserting the * You can also mark whole structs or classes as deprecated, by inserting the
* KDE_DEPRECATED macro after the struct/class keyword, but before the * TDE_DEPRECATED macro after the struct/class keyword, but before the
* name of the struct/class: * name of the struct/class:
* *
* \code * \code
* class KDE_DEPRECATED DeprecatedClass { }; * class TDE_DEPRECATED DeprecatedClass { };
* struct KDE_DEPRECATED DeprecatedStruct { }; * struct TDE_DEPRECATED DeprecatedStruct { };
* \endcode * \endcode
* *
* \note * \note
* It does not make much sense to use the KDE_DEPRECATED keyword for a Qt signal; * It does not make much sense to use the TDE_DEPRECATED keyword for a Qt signal;
* this is because usually get called by the class which they belong to, * this is because usually get called by the class which they belong to,
* and one'd assume that a class author doesn't use deprecated methods of his * and one'd assume that a class author doesn't use deprecated methods of his
* own class. The only exception to this are signals which are connected to * own class. The only exception to this are signals which are connected to
@ -112,24 +112,24 @@
* moc code as well and thus the warnings are useless. * moc code as well and thus the warnings are useless.
* *
* \par * \par
* Also note that it is not possible to use KDE_DEPRECATED for classes which * Also note that it is not possible to use TDE_DEPRECATED for classes which
* use the k_dcop keyword (to indicate a DCOP interface declaration); this is * use the k_dcop keyword (to indicate a DCOP interface declaration); this is
* because the dcopidl program would choke on the unexpected declaration * because the dcopidl program would choke on the unexpected declaration
* syntax. * syntax.
*/ */
#ifndef KDE_DEPRECATED #ifndef TDE_DEPRECATED
#if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2) #ifdef __GNUC__
/* gcc >= 3.2 */ #define TDE_DEPRECATED __attribute__ ((deprecated))
# define KDE_DEPRECATED __attribute__ ((deprecated)) #elif defined(_MSC_VER)
#elif defined(_MSC_VER) && (_MSC_VER >= 1300) #define TDE_DEPRECATED __declspec(deprecated)
/* msvc >= 7 */ #else
# define KDE_DEPRECATED __declspec(deprecated) #define TDE_DEPRECATED
#else #endif
# define KDE_DEPRECATED
#endif
#endif #endif
#define KDE_DEPRECATED TDE_DEPRECATED
/** /**
* The KDE_ISLIKELY macro tags a boolean expression as likely to evaluate to * The KDE_ISLIKELY macro tags a boolean expression as likely to evaluate to
* 'true'. When used in an if ( ) statement, it gives a hint to the compiler * 'true'. When used in an if ( ) statement, it gives a hint to the compiler

@ -230,7 +230,7 @@ private:
/** /**
* @deprecated Use fileName() instead. * @deprecated Use fileName() instead.
*/ */
KDE_DEPRECATED TQString filename() const { return fileName(); }; TDE_DEPRECATED TQString filename() const { return fileName(); };
private: private:

@ -931,7 +931,7 @@ public:
* @param flags the same flags as getnameinfo() * @param flags the same flags as getnameinfo()
* @returns 0 on success, nonzero otherwise. * @returns 0 on success, nonzero otherwise.
*/ */
static int resolve(sockaddr* sock, ksocklen_t len, TQString& host, TQString& port, int flags = 0) KDE_DEPRECATED; static int resolve(sockaddr* sock, ksocklen_t len, TQString& host, TQString& port, int flags = 0) TDE_DEPRECATED;
/** /**
* Performs resolution on the given socket address. * Performs resolution on the given socket address.
@ -945,7 +945,7 @@ public:
* @param flags the same flags as getnameinfo() * @param flags the same flags as getnameinfo()
* @returns 0 on success, nonzero otherwise. * @returns 0 on success, nonzero otherwise.
*/ */
static int resolve(::TDESocketAddress* sock, TQString& host, TQString& port, int flags = 0) KDE_DEPRECATED; static int resolve(::TDESocketAddress* sock, TQString& host, TQString& port, int flags = 0) TDE_DEPRECATED;
/** @deprecated /** @deprecated
* This function is now deprecated. Please use @ref KNetwork::KResolver::resolve. * This function is now deprecated. Please use @ref KNetwork::KResolver::resolve.
@ -967,7 +967,7 @@ public:
* @param error pointer to a variable holding the error code * @param error pointer to a variable holding the error code
* @return a list of KAddressInfos * @return a list of KAddressInfos
*/ */
static TQPtrList<KAddressInfo> lookup(const TQString& host, const TQString& port, int flags = 0, int *error = 0) KDE_DEPRECATED; static TQPtrList<KAddressInfo> lookup(const TQString& host, const TQString& port, int flags = 0, int *error = 0) TDE_DEPRECATED;
/** /**
* Returns the local socket address * Returns the local socket address
@ -975,7 +975,7 @@ public:
* @param fd the file descriptor * @param fd the file descriptor
* @return the local socket address or 0 if an error occurred. Delete after use. * @return the local socket address or 0 if an error occurred. Delete after use.
*/ */
static ::TDESocketAddress *localAddress(int fd) KDE_DEPRECATED; static ::TDESocketAddress *localAddress(int fd) TDE_DEPRECATED;
/** /**
* Returns the peer socket address. Use KExtendedSocket::resolve() to * Returns the peer socket address. Use KExtendedSocket::resolve() to
@ -984,7 +984,7 @@ public:
* @param fd the file descriptor * @param fd the file descriptor
* @return the peer socket address or 0 if an error occurred. Delete after use. * @return the peer socket address or 0 if an error occurred. Delete after use.
*/ */
static ::TDESocketAddress *peerAddress(int fd) KDE_DEPRECATED; static ::TDESocketAddress *peerAddress(int fd) TDE_DEPRECATED;
/** /**
* Returns the representing text of this error code * Returns the representing text of this error code
@ -1003,7 +1003,7 @@ public:
* @param enable if true, set address reusable * @param enable if true, set address reusable
* @return true on success, false on failure. * @return true on success, false on failure.
*/ */
static bool setAddressReusable(int fd, bool enable) KDE_DEPRECATED; static bool setAddressReusable(int fd, bool enable) TDE_DEPRECATED;
protected: protected:
virtual void virtual_hook( int id, void* data ); virtual void virtual_hook( int id, void* data );
@ -1040,20 +1040,20 @@ public:
* Returns the KAddressInfo's TDESocketAddress. * Returns the KAddressInfo's TDESocketAddress.
* Only valid as long as the KAddressInfo exists. * Only valid as long as the KAddressInfo exists.
*/ */
inline KDE_DEPRECATED operator const ::TDESocketAddress*() const inline TDE_DEPRECATED operator const ::TDESocketAddress*() const
{ return addr; } { return addr; }
/** /**
* Returns the KAddressInfo's addrinfo. * Returns the KAddressInfo's addrinfo.
*/ */
inline KDE_DEPRECATED operator const addrinfo&() const inline TDE_DEPRECATED operator const addrinfo&() const
{ return *ai; } { return *ai; }
/** /**
* Returns a pointer to KAddressInfo's addrinfo. * Returns a pointer to KAddressInfo's addrinfo.
* Only valid as long as the KAddressInfo exists. * Only valid as long as the KAddressInfo exists.
*/ */
inline KDE_DEPRECATED operator const addrinfo*() const inline TDE_DEPRECATED operator const addrinfo*() const
{ return ai; } { return ai; }
/** /**
@ -1061,32 +1061,32 @@ public:
* Only valid as long as the KAddressInfo exists. * Only valid as long as the KAddressInfo exists.
* @return the KAddressInfo's TDESocketAddress. * @return the KAddressInfo's TDESocketAddress.
*/ */
inline KDE_DEPRECATED const ::TDESocketAddress* address() const inline TDE_DEPRECATED const ::TDESocketAddress* address() const
{ return addr; } { return addr; }
/** /**
* Returns the flags of the address info (see getaddrinfo(3)). * Returns the flags of the address info (see getaddrinfo(3)).
* @return the flags of the addres info. * @return the flags of the addres info.
*/ */
int flags() const KDE_DEPRECATED; int flags() const TDE_DEPRECATED;
/** /**
* Returns the family of the address info (see getaddrinfo(3)). * Returns the family of the address info (see getaddrinfo(3)).
* @return the family of the addres info. * @return the family of the addres info.
*/ */
int family() const KDE_DEPRECATED; int family() const TDE_DEPRECATED;
/** /**
* Returns the socket type of the address info (see getaddrinfo(3)). * Returns the socket type of the address info (see getaddrinfo(3)).
* @return the socket type of the addres info. * @return the socket type of the addres info.
*/ */
int socktype() const KDE_DEPRECATED; int socktype() const TDE_DEPRECATED;
/** /**
* Returns the protocol of the address info (see getaddrinfo(3)). * Returns the protocol of the address info (see getaddrinfo(3)).
* @return the protocol of the addres info. * @return the protocol of the addres info.
*/ */
int protocol() const KDE_DEPRECATED; int protocol() const TDE_DEPRECATED;
/** /**
@ -1094,7 +1094,7 @@ public:
* Only valid as long as the KAddressInfo exists. * Only valid as long as the KAddressInfo exists.
* @return the official name of the host * @return the official name of the host
*/ */
const char* canonname() const KDE_DEPRECATED; const char* canonname() const TDE_DEPRECATED;
/** /**
* Returns the length of the TDESocketAddress. * Returns the length of the TDESocketAddress.

@ -185,7 +185,7 @@ namespace KNotifyClient
* the user connected the event to sound, only. Can be TQString::null. * the user connected the event to sound, only. Can be TQString::null.
* @return a value > 0, unique for this event if successful, 0 otherwise * @return a value > 0, unique for this event if successful, 0 otherwise
*/ */
TDECORE_EXPORT int event(const TQString &message, const TQString &text=TQString::null) KDE_DEPRECATED; TDECORE_EXPORT int event(const TQString &message, const TQString &text=TQString::null) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
@ -194,7 +194,7 @@ namespace KNotifyClient
* @param text The text explaining the event you raise. Can be TQString::null. * @param text The text explaining the event you raise. Can be TQString::null.
* @return a value > 0, unique for this event if successful, 0 otherwise * @return a value > 0, unique for this event if successful, 0 otherwise
*/ */
TDECORE_EXPORT int event( StandardEvent event, const TQString& text=TQString::null ) KDE_DEPRECATED; TDECORE_EXPORT int event( StandardEvent event, const TQString& text=TQString::null ) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
@ -207,7 +207,7 @@ namespace KNotifyClient
* @return a value > 0, unique for this event if successful, 0 otherwise * @return a value > 0, unique for this event if successful, 0 otherwise
*/ */
TDECORE_EXPORT int userEvent(const TQString &text=TQString::null, int present=Default, int level=Default, TDECORE_EXPORT int userEvent(const TQString &text=TQString::null, int present=Default, int level=Default,
const TQString &sound=TQString::null, const TQString &file=TQString::null) KDE_DEPRECATED; const TQString &sound=TQString::null, const TQString &file=TQString::null) TDE_DEPRECATED;
//#endif //#endif

@ -219,7 +219,7 @@ public:
@see operator<<() @see operator<<()
*/ */
bool setExecutable(const TQString& proc) KDE_DEPRECATED; bool setExecutable(const TQString& proc) TDE_DEPRECATED;
/** /**
@ -320,7 +320,7 @@ public:
* @deprecated * @deprecated
* Use pid() instead. * Use pid() instead.
*/ */
KDE_DEPRECATED pid_t getPid() const { return pid(); } TDE_DEPRECATED pid_t getPid() const { return pid(); }
/** /**
* Suspend processing of data from stdout of the child process. * Suspend processing of data from stdout of the child process.

@ -120,7 +120,7 @@ public:
* @return true if successful, false otherwise * @return true if successful, false otherwise
* @deprecated * @deprecated
**/ **/
KDE_DEPRECATED bool fputs (const TQString &line, bool AppendNewLine=true) TDE_DEPRECATED bool fputs (const TQString &line, bool AppendNewLine=true)
{ return writeStdin(line, AppendNewLine); } { return writeStdin(line, AppendNewLine); }
/** /**
@ -159,7 +159,7 @@ public:
* @deprecated use readln. Note that it has an inverted autoAck default, * @deprecated use readln. Note that it has an inverted autoAck default,
* though. * though.
**/ **/
KDE_DEPRECATED int fgets (TQString &line, bool autoAck=false) TDE_DEPRECATED int fgets (TQString &line, bool autoAck=false)
{ return readln (line, autoAck); } { return readln (line, autoAck); }
/** /**

@ -57,7 +57,7 @@ class KRegExpPrivate;
* *
* @author Torben Weis <weis@kde.org> * @author Torben Weis <weis@kde.org>
*/ */
class TDECORE_EXPORT KDE_DEPRECATED KRegExp class TDECORE_EXPORT TDE_DEPRECATED KRegExp
{ {
public: public:

@ -92,20 +92,20 @@ public:
* Constructs a TDESocket with the provided file descriptor. * Constructs a TDESocket with the provided file descriptor.
* @param _sock The file descriptor to use. * @param _sock The file descriptor to use.
*/ */
TDESocket( int _sock ) KDE_DEPRECATED; TDESocket( int _sock ) TDE_DEPRECATED;
/** /**
* Creates a socket and connects to a host. * Creates a socket and connects to a host.
* @param _host The remote host to which to connect. * @param _host The remote host to which to connect.
* @param _port The port on the remote host. * @param _port The port on the remote host.
* @param timeOut The number of seconds waiting for connect (default 30). * @param timeOut The number of seconds waiting for connect (default 30).
*/ */
TDESocket( const char *_host, unsigned short int _port, int timeOut = 30) KDE_DEPRECATED; TDESocket( const char *_host, unsigned short int _port, int timeOut = 30) TDE_DEPRECATED;
/** /**
* Connects to a UNIX domain socket. * Connects to a UNIX domain socket.
* @param _path The filename of the socket. * @param _path The filename of the socket.
*/ */
TDESocket( const char * _path ) KDE_DEPRECATED; TDESocket( const char * _path ) TDE_DEPRECATED;
/** /**
* Destructor. Closes the socket if it is still open. * Destructor. Closes the socket if it is still open.
@ -150,7 +150,7 @@ public:
* instead * instead
* @deprecated * @deprecated
*/ */
unsigned long ipv4_addr() KDE_DEPRECATED; unsigned long ipv4_addr() TDE_DEPRECATED;
// BCI: remove in libtdecore.so.4 // BCI: remove in libtdecore.so.4
/** /**
@ -158,7 +158,7 @@ public:
* Don't use this in new programs. Use KExtendedSocket::lookup * Don't use this in new programs. Use KExtendedSocket::lookup
* @deprecated * @deprecated
*/ */
static bool initSockaddr(ksockaddr_in *server_name, const char *hostname, unsigned short int port, int domain = PF_INET) KDE_DEPRECATED; static bool initSockaddr(ksockaddr_in *server_name, const char *hostname, unsigned short int port, int domain = PF_INET) TDE_DEPRECATED;
#endif #endif
signals: signals:

@ -82,7 +82,7 @@ public:
* @param isArray tells the destructor to delete an array instead of an object * @param isArray tells the destructor to delete an array instead of an object
* @deprecated See the other setObject variant. * @deprecated See the other setObject variant.
**/ **/
KDE_DEPRECATED type *setObject( type *obj, bool isArray = false) { TDE_DEPRECATED type *setObject( type *obj, bool isArray = false) {
deleteit = obj; deleteit = obj;
globalReference = 0; globalReference = 0;
array = isArray; array = isArray;

@ -77,7 +77,7 @@ public:
* @return the word, or an empty string if not found * @return the word, or an empty string if not found
* @deprecated use TQString::section instead * @deprecated use TQString::section instead
*/ */
static TQString word( const TQString &text , uint pos ) KDE_DEPRECATED; static TQString word( const TQString &text , uint pos ) TDE_DEPRECATED;
/** Returns a range of words from that string. /** Returns a range of words from that string.
* Ie: * Ie:
@ -183,7 +183,7 @@ public:
* @return the resulting string * @return the resulting string
* @deprecated use TQString::leftJustify instead * @deprecated use TQString::leftJustify instead
*/ */
static TQString ljust( const TQString &text , uint width ) KDE_DEPRECATED; static TQString ljust( const TQString &text , uint width ) TDE_DEPRECATED;
/** Right-justifies a string and returns a string at least 'width' characters /** Right-justifies a string and returns a string at least 'width' characters
* wide. * wide.
@ -194,7 +194,7 @@ public:
* @return the resulting string * @return the resulting string
* @deprecated use TQString::rightJustify instead * @deprecated use TQString::rightJustify instead
*/ */
static TQString rjust( const TQString &text , uint width ) KDE_DEPRECATED; static TQString rjust( const TQString &text , uint width ) TDE_DEPRECATED;
/** Centers a string and returns a string at least 'width' characters /** Centers a string and returns a string at least 'width' characters
* wide. * wide.
@ -432,7 +432,7 @@ private:
/** /**
* @deprecated Use matchFileName () instead. * @deprecated Use matchFileName () instead.
*/ */
static KDE_DEPRECATED bool matchFilename( const TQString& filename, const TQString& pattern ) static TDE_DEPRECATED bool matchFilename( const TQString& filename, const TQString& pattern )
{ {
return matchFileName (filename, pattern); return matchFileName (filename, pattern);
} }

@ -834,7 +834,7 @@ public:
* *
* @see isValid() * @see isValid()
*/ */
KDE_DEPRECATED bool isMalformed() const { return !isValid(); } TDE_DEPRECATED bool isMalformed() const { return !isValid(); }
/** /**
* @brief Tests if the file is local * @brief Tests if the file is local
@ -1468,7 +1468,7 @@ public:
* *
* @deprecated Use equals() instead. * @deprecated Use equals() instead.
*/ */
bool cmp( const KURL &u, bool ignore_trailing = false ) const KDE_DEPRECATED; bool cmp( const KURL &u, bool ignore_trailing = false ) const TDE_DEPRECATED;
/** /**
* @brief Compares this URL with another one * @brief Compares this URL with another one

@ -82,13 +82,13 @@ public:
/** /**
* @deprecated Is equivalent with "new KURLDrag(urls, dragSource, name)". * @deprecated Is equivalent with "new KURLDrag(urls, dragSource, name)".
*/ */
static KURLDrag * newDrag( const KURL::List &urls, TQWidget* dragSource = 0, const char * name = 0 ) KDE_DEPRECATED; static KURLDrag * newDrag( const KURL::List &urls, TQWidget* dragSource = 0, const char * name = 0 ) TDE_DEPRECATED;
/** /**
* @deprecated Is equivalent with "new KURLDrag(urls, metaData, dragSource, name)". * @deprecated Is equivalent with "new KURLDrag(urls, metaData, dragSource, name)".
*/ */
static KURLDrag * newDrag( const KURL::List &urls, const TQMap<TQString, TQString>& metaData, static KURLDrag * newDrag( const KURL::List &urls, const TQMap<TQString, TQString>& metaData,
TQWidget* dragSource = 0, const char * name = 0 ) KDE_DEPRECATED; TQWidget* dragSource = 0, const char * name = 0 ) TDE_DEPRECATED;
/** /**
* Meta-data to associate with those URLs. * Meta-data to associate with those URLs.
@ -152,7 +152,7 @@ protected:
* @deprecated Use a KURLDrag constructor with a KURL::List * @deprecated Use a KURLDrag constructor with a KURL::List
*/ */
KURLDrag( const TQStrList & urls, const TQMap<TQString,TQString>& metaData, KURLDrag( const TQStrList & urls, const TQMap<TQString,TQString>& metaData,
TQWidget * dragSource, const char* name ) KDE_DEPRECATED; TQWidget * dragSource, const char* name ) TDE_DEPRECATED;
private: private:
void init(const KURL::List &urls); void init(const KURL::List &urls);

@ -80,7 +80,7 @@ public:
* @deprecated * @deprecated
* @see copyBlock * @see copyBlock
*/ */
void copy(void *dest, Block *src, int _offset = 0, size_t length = 0) KDE_DEPRECATED; void copy(void *dest, Block *src, int _offset = 0, size_t length = 0) TDE_DEPRECATED;
/** /**
* Copy @p length bytes from normal memory at address @p src to * Copy @p length bytes from normal memory at address @p src to
@ -98,7 +98,7 @@ public:
* @deprecated * @deprecated
* @see copyBlock * @see copyBlock
*/ */
void copy(Block *dest, void *src, int _offset = 0, size_t length = 0) KDE_DEPRECATED; void copy(Block *dest, void *src, int _offset = 0, size_t length = 0) TDE_DEPRECATED;
/** /**
* Map a virtual memory block in memory * Map a virtual memory block in memory

@ -109,7 +109,7 @@ public:
to the first element of the properties array in the above constructor. to the first element of the properties array in the above constructor.
**/ **/
NETRootInfo(Display *display, Window supportWindow, const char *wmName, NETRootInfo(Display *display, Window supportWindow, const char *wmName,
unsigned long properties, int screen = -1, bool doActivate = true) KDE_DEPRECATED; unsigned long properties, int screen = -1, bool doActivate = true) TDE_DEPRECATED;
/** /**
Clients should use this constructor to create a NETRootInfo object, which Clients should use this constructor to create a NETRootInfo object, which
@ -258,7 +258,7 @@ public:
@see NET::Property @see NET::Property
**/ **/
unsigned long supported() const KDE_DEPRECATED; unsigned long supported() const TDE_DEPRECATED;
/** /**
Returns an array of Window id's, which contain all managed windows. Returns an array of Window id's, which contain all managed windows.
@ -727,7 +727,7 @@ protected:
@param window the id of the window to activate @param window the id of the window to activate
**/ **/
virtual KDE_DEPRECATED void changeActiveWindow(Window window) { Q_UNUSED(window); } virtual TDE_DEPRECATED void changeActiveWindow(Window window) { Q_UNUSED(window); }
/** /**
A Window Manager should subclass NETRootInfo and reimplement this function A Window Manager should subclass NETRootInfo and reimplement this function
@ -1029,7 +1029,7 @@ public:
@see NET::Property @see NET::Property
**/ **/
unsigned long properties() const KDE_DEPRECATED; unsigned long properties() const TDE_DEPRECATED;
/** /**
Returns the icon geometry. Returns the icon geometry.
@ -1083,7 +1083,7 @@ public:
@return the type of the window @return the type of the window
**/ **/
WindowType windowType() const KDE_DEPRECATED; WindowType windowType() const TDE_DEPRECATED;
/** /**
Returns the name of the window in UTF-8 format. Returns the name of the window in UTF-8 format.

@ -319,47 +319,47 @@ class TDECORE_EXPORT TDEAccel : public TQAccel
*/ */
bool insertItem( const TQString& sLabel, const TQString& sAction, bool insertItem( const TQString& sLabel, const TQString& sAction,
const char* psKey, const char* psKey,
int nIDMenu = 0, TQPopupMenu* pMenu = 0, bool bConfigurable = true ) KDE_DEPRECATED; int nIDMenu = 0, TQPopupMenu* pMenu = 0, bool bConfigurable = true ) TDE_DEPRECATED;
/** /**
* @deprecated use insert * @deprecated use insert
*/ */
bool insertItem( const TQString& sLabel, const TQString& sAction, bool insertItem( const TQString& sLabel, const TQString& sAction,
int key, int key,
int nIDMenu = 0, TQPopupMenu* pMenu = 0, bool bConfigurable = true ) KDE_DEPRECATED; int nIDMenu = 0, TQPopupMenu* pMenu = 0, bool bConfigurable = true ) TDE_DEPRECATED;
/** /**
* @deprecated use insert * @deprecated use insert
*/ */
bool insertStdItem( TDEStdAccel::StdAccel id, const TQString& descr = TQString::null ) KDE_DEPRECATED; bool insertStdItem( TDEStdAccel::StdAccel id, const TQString& descr = TQString::null ) TDE_DEPRECATED;
/** /**
* @deprecated use insert * @deprecated use insert
*/ */
bool connectItem( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot, bool bActivate = true ) KDE_DEPRECATED; bool connectItem( const TQString& sAction, const TQObject* pObjSlot, const char* psMethodSlot, bool bActivate = true ) TDE_DEPRECATED;
/** /**
* @deprecated use insert( accel, pObjSlot, psMethodSlot ); * @deprecated use insert( accel, pObjSlot, psMethodSlot );
* *
*/ */
KDE_DEPRECATED bool connectItem( TDEStdAccel::StdAccel accel, const TQObject* pObjSlot, const char* psMethodSlot ) TDE_DEPRECATED bool connectItem( TDEStdAccel::StdAccel accel, const TQObject* pObjSlot, const char* psMethodSlot )
{ return insert( accel, pObjSlot, psMethodSlot ); } { return insert( accel, pObjSlot, psMethodSlot ); }
/** /**
* @deprecated use remove * @deprecated use remove
*/ */
bool removeItem( const TQString& sAction ) KDE_DEPRECATED; bool removeItem( const TQString& sAction ) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
*/ */
bool setItemEnabled( const TQString& sAction, bool bEnable ) KDE_DEPRECATED; bool setItemEnabled( const TQString& sAction, bool bEnable ) TDE_DEPRECATED;
/** /**
* @deprecated see KDE3PORTING.html * @deprecated see KDE3PORTING.html
*/ */
void changeMenuAccel( TQPopupMenu *menu, int id, const TQString& action ) KDE_DEPRECATED; void changeMenuAccel( TQPopupMenu *menu, int id, const TQString& action ) TDE_DEPRECATED;
/** /**
* @deprecated see KDE3PORTING.html * @deprecated see KDE3PORTING.html
*/ */
void changeMenuAccel( TQPopupMenu *menu, int id, TDEStdAccel::StdAccel accel ) KDE_DEPRECATED; void changeMenuAccel( TQPopupMenu *menu, int id, TDEStdAccel::StdAccel accel ) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
*/ */
static int stringToKey( const TQString& ) KDE_DEPRECATED; static int stringToKey( const TQString& ) TDE_DEPRECATED;
/** /**
* @deprecated Use shortcut(). * @deprecated Use shortcut().
@ -368,7 +368,7 @@ class TDECORE_EXPORT TDEAccel : public TQAccel
* @p action, or zero if either the action name cannot be * @p action, or zero if either the action name cannot be
* found or the current key is set to no key. * found or the current key is set to no key.
*/ */
int currentKey( const TQString& action ) const KDE_DEPRECATED; int currentKey( const TQString& action ) const TDE_DEPRECATED;
/** /**
* @deprecated Use actions().actionPtr(). * @deprecated Use actions().actionPtr().
@ -376,7 +376,7 @@ class TDECORE_EXPORT TDEAccel : public TQAccel
* Return the name of the accelerator item with the keycode @p key, * Return the name of the accelerator item with the keycode @p key,
* or TQString::null if the item cannot be found. * or TQString::null if the item cannot be found.
*/ */
TQString findKey( int key ) const KDE_DEPRECATED; TQString findKey( int key ) const TDE_DEPRECATED;
#endif // !KDE_NO_COMPAT #endif // !KDE_NO_COMPAT
protected: protected:

@ -268,7 +268,7 @@ public:
// REMOVE FOR KDE 4.0 - using it only gives crashing applications because // REMOVE FOR KDE 4.0 - using it only gives crashing applications because
// TDECmdLineArgs::init isn't called // TDECmdLineArgs::init isn't called
TDEApplication(int& argc, char** argv, TDEApplication(int& argc, char** argv,
const TQCString& rAppName, bool allowStyles=true, bool GUIenabled=true, bool SMenabled=true) KDE_DEPRECATED; const TQCString& rAppName, bool allowStyles=true, bool GUIenabled=true, bool SMenabled=true) TDE_DEPRECATED;
#ifdef Q_QDOC #ifdef Q_QDOC
#else // Q_QDOC #else // Q_QDOC
@ -277,7 +277,7 @@ public:
// FOR BINARY COMPATIBILITY ONLY // FOR BINARY COMPATIBILITY ONLY
// REMOVE WHEN PRACTICAL! // REMOVE WHEN PRACTICAL!
TDEApplication(int& argc, char** argv, TDEApplication(int& argc, char** argv,
const TQCString& rAppName, bool allowStyles, bool GUIenabled) KDE_DEPRECATED; const TQCString& rAppName, bool allowStyles, bool GUIenabled) TDE_DEPRECATED;
#endif // TDEAPPLICATION_BINARY_COMPAT_HACK #endif // TDEAPPLICATION_BINARY_COMPAT_HACK
#endif // Q_QDOC #endif // Q_QDOC
@ -545,7 +545,7 @@ public:
* value will be appended to the filename, * value will be appended to the filename,
* prefixed with a "#" (hash) character. * prefixed with a "#" (hash) character.
*/ */
void invokeHTMLHelp( const TQString& aFilename, const TQString& aTopic = TQString::null ) const KDE_DEPRECATED; void invokeHTMLHelp( const TQString& aFilename, const TQString& aTopic = TQString::null ) const TDE_DEPRECATED;
/** /**
* Convenience method; invokes the standard email application. * Convenience method; invokes the standard email application.
@ -893,7 +893,7 @@ public:
/** /**
* @deprecated * @deprecated
*/ */
KDE_DEPRECATED TDEStyle* tdestyle() const { return 0; } TDE_DEPRECATED TDEStyle* tdestyle() const { return 0; }
/** /**
* Builds a caption that contains the application name along with the * Builds a caption that contains the application name along with the
@ -1219,7 +1219,7 @@ public:
* @deprecated Use keyboardMouseState() * @deprecated Use keyboardMouseState()
* @since 3.1 * @since 3.1
*/ */
static uint keyboardModifiers() KDE_DEPRECATED; static uint keyboardModifiers() TDE_DEPRECATED;
/** @deprecated Same values as Button1Mask etc. in X.h */ /** @deprecated Same values as Button1Mask etc. in X.h */
enum { Button1Pressed = 1<<8, enum { Button1Pressed = 1<<8,
@ -1231,7 +1231,7 @@ public:
* @deprecated Use keyboardMouseState() * @deprecated Use keyboardMouseState()
* @since 3.1 * @since 3.1
*/ */
static uint mouseState() KDE_DEPRECATED; static uint mouseState() TDE_DEPRECATED;
/** /**
* Returns the VT that the current X server is running on, or -1 if this information is unavailable. * Returns the VT that the current X server is running on, or -1 if this information is unavailable.

@ -257,7 +257,7 @@ public:
*/ */
static void init(int _argc, char **_argv, static void init(int _argc, char **_argv,
const char *_appname, const char *_description, const char *_appname, const char *_description,
const char *_version, bool noKApp = false) KDE_DEPRECATED; const char *_version, bool noKApp = false) TDE_DEPRECATED;
/** /**
* Initialize class. * Initialize class.

@ -159,7 +159,7 @@ private:
/** /**
* @deprecated Use fileName() instead * @deprecated Use fileName() instead
*/ */
KDE_DEPRECATED TQString filename() const { return mfileName; } TDE_DEPRECATED TQString filename() const { return mfileName; }
protected: protected:
TDEConfigBase *pConfig; TDEConfigBase *pConfig;

@ -69,18 +69,18 @@
/* workaround for tdecore: stupid moc's grammar doesn't accept two macros /* workaround for tdecore: stupid moc's grammar doesn't accept two macros
between 'class' keyword and <classname>: */ between 'class' keyword and <classname>: */
#ifdef KDE_DEPRECATED #ifdef TDE_DEPRECATED
# ifndef TDECORE_EXPORT_DEPRECATED # ifndef TDECORE_EXPORT_DEPRECATED
# define TDECORE_EXPORT_DEPRECATED KDE_DEPRECATED TDECORE_EXPORT # define TDECORE_EXPORT_DEPRECATED TDE_DEPRECATED TDECORE_EXPORT
# endif # endif
# ifndef TDEIO_EXPORT_DEPRECATED # ifndef TDEIO_EXPORT_DEPRECATED
# define TDEIO_EXPORT_DEPRECATED KDE_DEPRECATED TDEIO_EXPORT # define TDEIO_EXPORT_DEPRECATED TDE_DEPRECATED TDEIO_EXPORT
# endif # endif
# ifndef TDEUI_EXPORT_DEPRECATED # ifndef TDEUI_EXPORT_DEPRECATED
# define TDEUI_EXPORT_DEPRECATED KDE_DEPRECATED TDEUI_EXPORT # define TDEUI_EXPORT_DEPRECATED TDE_DEPRECATED TDEUI_EXPORT
# endif # endif
# ifndef KABC_EXPORT_DEPRECATED # ifndef KABC_EXPORT_DEPRECATED
# define KABC_EXPORT_DEPRECATED KDE_DEPRECATED KABC_EXPORT # define KABC_EXPORT_DEPRECATED TDE_DEPRECATED KABC_EXPORT
# endif # endif
#endif #endif
/* (let's add KDE****_EXPORT_DEPRECATED for other libraries if it's needed) */ /* (let's add KDE****_EXPORT_DEPRECATED for other libraries if it's needed) */

@ -410,7 +410,7 @@ public:
* *
* calls formatNumber(numStr, 2) * calls formatNumber(numStr, 2)
*/ */
TQString formatNumber(const TQString &numStr) const KDE_DEPRECATED; TQString formatNumber(const TQString &numStr) const TDE_DEPRECATED;
/** /**
* Given a string representing a number, converts that to a numeric * Given a string representing a number, converts that to a numeric
@ -512,7 +512,7 @@ public:
* *
* @return true if the week starts on Monday * @return true if the week starts on Monday
*/ */
bool weekStartsMonday() const KDE_DEPRECATED; //### remove for KDE 4.0 bool weekStartsMonday() const TDE_DEPRECATED; //### remove for KDE 4.0
/** /**
* Use this to determine which day is the first day of the week. * Use this to determine which day is the first day of the week.
@ -542,7 +542,7 @@ public:
* \endcode * \endcode
* to the applicable file. * to the applicable file.
*/ */
TQString monthName(int i, bool shortName = false) const KDE_DEPRECATED; TQString monthName(int i, bool shortName = false) const TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
@ -567,7 +567,7 @@ public:
* \endcode * \endcode
* to the applicable file. * to the applicable file.
*/ */
TQString monthNamePossessive(int i, bool shortName = false) const KDE_DEPRECATED; TQString monthNamePossessive(int i, bool shortName = false) const TDE_DEPRECATED;
/** /**
* @deprecated use calendar()->weekDayName * @deprecated use calendar()->weekDayName
@ -579,7 +579,7 @@ public:
* *
* @return The name of the day * @return The name of the day
*/ */
TQString weekDayName(int i, bool shortName = false) const KDE_DEPRECATED; TQString weekDayName(int i, bool shortName = false) const TDE_DEPRECATED;
/** /**
* Returns a pointer to the calendar system object. * Returns a pointer to the calendar system object.
@ -880,7 +880,7 @@ public:
* *
* @param start True if Monday is the first day in the week * @param start True if Monday is the first day in the week
*/ */
void setWeekStartsMonday(bool start) KDE_DEPRECATED; //### remove for KDE 4.0 void setWeekStartsMonday(bool start) TDE_DEPRECATED; //### remove for KDE 4.0
/** /**
* Changes how TDELocale defines the first day in week. * Changes how TDELocale defines the first day in week.
@ -1148,7 +1148,7 @@ private:
* @deprecated * @deprecated
* use formatMoney(double) * use formatMoney(double)
*/ */
TQString formatMoney(const TQString &numStr) const KDE_DEPRECATED; TQString formatMoney(const TQString &numStr) const TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
@ -1156,19 +1156,19 @@ private:
* *
* @return String containing language codes separated by colons * @return String containing language codes separated by colons
*/ */
TQString languages() const KDE_DEPRECATED; TQString languages() const TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
* @return True * @return True
*/ */
bool setCharset(const TQString & charset) KDE_DEPRECATED; bool setCharset(const TQString & charset) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
* @see encoding * @see encoding
*/ */
TQString charset() const KDE_DEPRECATED; TQString charset() const TDE_DEPRECATED;
protected: protected:
/** /**

@ -452,22 +452,22 @@ namespace TDEStdAccel
* @deprecated * @deprecated
* Obsolete. Use name(). Returns a string representation for @p accel. * Obsolete. Use name(). Returns a string representation for @p accel.
*/ */
TDECORE_EXPORT TQString action(StdAccel id) KDE_DEPRECATED; TDECORE_EXPORT TQString action(StdAccel id) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
* Obsolete. Use desc(). Returns a localized description of @p accel. * Obsolete. Use desc(). Returns a localized description of @p accel.
*/ */
TDECORE_EXPORT TQString description(StdAccel id) KDE_DEPRECATED; TDECORE_EXPORT TQString description(StdAccel id) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
* Obsolete. Use shortcut(). Returns the keybinding for @p accel. * Obsolete. Use shortcut(). Returns the keybinding for @p accel.
*/ */
TDECORE_EXPORT int key(StdAccel) KDE_DEPRECATED; TDECORE_EXPORT int key(StdAccel) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
* Obsolete. Use shortcutDefault(). * Obsolete. Use shortcutDefault().
*/ */
TDECORE_EXPORT int defaultKey(StdAccel accel) KDE_DEPRECATED; TDECORE_EXPORT int defaultKey(StdAccel accel) TDE_DEPRECATED;
/** /**
* @deprecated. Use KKey(const TQKeyEvent*) == KKey(int). * @deprecated. Use KKey(const TQKeyEvent*) == KKey(int).
@ -484,7 +484,7 @@ namespace TDEStdAccel
* *
* @return true if the int value matches the integer representation of the QKeyEvent * @return true if the int value matches the integer representation of the QKeyEvent
*/ */
TDECORE_EXPORT bool isEqual(const TQKeyEvent* pEvent, int keyQt) KDE_DEPRECATED; TDECORE_EXPORT bool isEqual(const TQKeyEvent* pEvent, int keyQt) TDE_DEPRECATED;
#endif // !KDE_NO_COMPAT #endif // !KDE_NO_COMPAT
} }

@ -110,7 +110,7 @@ public:
* @deprecated Consider using activateWindow(), use forceActiveWindow() * @deprecated Consider using activateWindow(), use forceActiveWindow()
* only if necessary. * only if necessary.
*/ */
static void setActiveWindow( WId win ) KDE_DEPRECATED; static void setActiveWindow( WId win ) TDE_DEPRECATED;
/** /**
* When application finishes some operation and wants to notify * When application finishes some operation and wants to notify
@ -502,7 +502,7 @@ public:
* @deprecated * @deprecated
* Use windowInfo() . * Use windowInfo() .
*/ */
static Info info( WId win ) KDE_DEPRECATED; static Info info( WId win ) TDE_DEPRECATED;
#ifdef KDE_NO_COMPAT #ifdef KDE_NO_COMPAT
private: private:
@ -511,7 +511,7 @@ private:
* @deprecated * @deprecated
* Use TDEStartupInfo::appStarted * Use TDEStartupInfo::appStarted
*/ */
static void appStarted() KDE_DEPRECATED; static void appStarted() TDE_DEPRECATED;
}; };

@ -900,12 +900,12 @@ public:
* @internal returns the index of a node * @internal returns the index of a node
*/ */
unsigned long index() const; unsigned long index() const;
TQString toHTML() KDE_DEPRECATED; TQString toHTML() TDE_DEPRECATED;
void applyChanges(); void applyChanges();
/** /**
* @deprecated without substitution since 3.2 * @deprecated without substitution since 3.2
*/ */
void getCursor(int offset, int &_x, int &_y, int &height) KDE_DEPRECATED; void getCursor(int offset, int &_x, int &_y, int &height) TDE_DEPRECATED;
/** /**
* not part of the DOM. * not part of the DOM.
* @returns the exact coordinates and size of this element. * @returns the exact coordinates and size of this element.

@ -534,12 +534,12 @@ public:
/** /**
* @deprecated * @deprecated
*/ */
DOMString size() const KDE_DEPRECATED; DOMString size() const TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
*/ */
void setSize( const DOMString & ) KDE_DEPRECATED; void setSize( const DOMString & ) TDE_DEPRECATED;
/** /**
* Size information. The precise meaning is specific to each type * Size information. The precise meaning is specific to each type

@ -256,12 +256,12 @@ public:
/** /**
* @deprecated * @deprecated
*/ */
long border() const KDE_DEPRECATED; long border() const TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
*/ */
void setBorder( long ) KDE_DEPRECATED; void setBorder( long ) TDE_DEPRECATED;
/** /**
* Override height. See the <a * Override height. See the <a

@ -105,12 +105,12 @@ public:
/** /**
* @deprecated * @deprecated
*/ */
DOMString size() const KDE_DEPRECATED; DOMString size() const TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
*/ */
void setSize( const DOMString & ) KDE_DEPRECATED; void setSize( const DOMString & ) TDE_DEPRECATED;
}; };
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------

@ -167,12 +167,12 @@ public:
/** /**
* @deprecated * @deprecated
*/ */
DOMString hspace() const KDE_DEPRECATED; DOMString hspace() const TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
*/ */
void setHspace( const DOMString &value ) KDE_DEPRECATED; void setHspace( const DOMString &value ) TDE_DEPRECATED;
/** /**
* The name of the applet. See the <a * The name of the applet. See the <a
@ -220,12 +220,12 @@ public:
/** /**
* @deprecated * @deprecated
*/ */
DOMString vspace() const KDE_DEPRECATED; DOMString vspace() const TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
*/ */
void setVspace( const DOMString & ) KDE_DEPRECATED; void setVspace( const DOMString & ) TDE_DEPRECATED;
/** /**
* Override width. See the <a * Override width. See the <a
@ -419,12 +419,12 @@ public:
/** /**
* @deprecated * @deprecated
*/ */
DOMString hspace() const KDE_DEPRECATED; DOMString hspace() const TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
*/ */
void setHspace( const DOMString & ) KDE_DEPRECATED; void setHspace( const DOMString & ) TDE_DEPRECATED;
/** /**
* Form control or object name when submitted with a form. See the * Form control or object name when submitted with a form. See the
@ -512,12 +512,12 @@ public:
/** /**
* @deprecated * @deprecated
*/ */
DOMString vspace() const KDE_DEPRECATED; DOMString vspace() const TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
*/ */
void setVspace( const DOMString & ) KDE_DEPRECATED; void setVspace( const DOMString & ) TDE_DEPRECATED;
/** /**
* Override width. See the <a * Override width. See the <a

@ -1063,15 +1063,15 @@ public:
# undef X509_STORE_CTX_set_chain # undef X509_STORE_CTX_set_chain
# undef SSLv23_client_method # undef SSLv23_client_method
#endif #endif
STACK *sk_dup(const STACK *s) KDE_DEPRECATED; STACK *sk_dup(const STACK *s) TDE_DEPRECATED;
void sk_free(STACK *s) KDE_DEPRECATED; void sk_free(STACK *s) TDE_DEPRECATED;
STACK *sk_new(int (*cmp)()) KDE_DEPRECATED; STACK *sk_new(int (*cmp)()) TDE_DEPRECATED;
int sk_num(STACK *s) KDE_DEPRECATED; int sk_num(STACK *s) TDE_DEPRECATED;
char *sk_pop(STACK *s) KDE_DEPRECATED; char *sk_pop(STACK *s) TDE_DEPRECATED;
int sk_push(STACK *s, char *d) KDE_DEPRECATED; int sk_push(STACK *s, char *d) TDE_DEPRECATED;
char *sk_value(STACK *s, int n) KDE_DEPRECATED; char *sk_value(STACK *s, int n) TDE_DEPRECATED;
void X509_STORE_CTX_set_chain(X509_STORE_CTX *v, STACK_OF(X509)* x) KDE_DEPRECATED; void X509_STORE_CTX_set_chain(X509_STORE_CTX *v, STACK_OF(X509)* x) TDE_DEPRECATED;
SSL_METHOD *SSLv23_client_method() KDE_DEPRECATED; SSL_METHOD *SSLv23_client_method() TDE_DEPRECATED;
#endif #endif

@ -177,7 +177,7 @@ public:
* @param proxy is the IP or hostname of the proxy server * @param proxy is the IP or hostname of the proxy server
* @deprecated * @deprecated
*/ */
void setProxyUse(bool active, TQString realIP = TQString::null, int realPort = 0, TQString proxy = TQString::null) KDE_DEPRECATED; void setProxyUse(bool active, TQString realIP = TQString::null, int realPort = 0, TQString proxy = TQString::null) TDE_DEPRECATED;
/** /**
* Set the peer hostname to be used for certificate verification. * Set the peer hostname to be used for certificate verification.

@ -95,7 +95,7 @@ public:
* @param chain the certificate chain * @param chain the certificate chain
* @deprecated * @deprecated
*/ */
void setChain(TQStringList chain) KDE_DEPRECATED; void setChain(TQStringList chain) TDE_DEPRECATED;
/** /**
* Set the certificate chain as a list of base64 encoded X.509 * Set the certificate chain as a list of base64 encoded X.509

@ -65,7 +65,7 @@ public:
* @param sendChecked send the checked item to the remote host * @param sendChecked send the checked item to the remote host
* @deprecated * @deprecated
*/ */
void setup(TQStringList certs, bool saveChecked = false, bool sendChecked = true) KDE_DEPRECATED; void setup(TQStringList certs, bool saveChecked = false, bool sendChecked = true) TDE_DEPRECATED;
/** /**
* Setup the dialog. Call this before you display the dialog. * Setup the dialog. Call this before you display the dialog.

@ -120,19 +120,19 @@ public:
* Do not use this * Do not use this
* @deprecated * @deprecated
*/ */
bool warnOnSelfSigned() const KDE_DEPRECATED; bool warnOnSelfSigned() const TDE_DEPRECATED;
/** /**
* Do not use this * Do not use this
* @deprecated * @deprecated
*/ */
bool warnOnRevoked() const KDE_DEPRECATED; bool warnOnRevoked() const TDE_DEPRECATED;
/** /**
* Do not use this * Do not use this
* @deprecated * @deprecated
*/ */
bool warnOnExpired() const KDE_DEPRECATED; bool warnOnExpired() const TDE_DEPRECATED;
/** /**
* Does the user want to use the Entropy Gathering Daemon? * Does the user want to use the Entropy Gathering Daemon?

@ -129,7 +129,7 @@ public:
* @param autoShow tells the dialog whether it should show itself automatically. */ * @param autoShow tells the dialog whether it should show itself automatically. */
KPropertiesDialog( const KURL& _url, mode_t _mode, KPropertiesDialog( const KURL& _url, mode_t _mode,
TQWidget* parent = 0L, const char* name = 0L, TQWidget* parent = 0L, const char* name = 0L,
bool modal = false, bool autoShow = true) KDE_DEPRECATED; bool modal = false, bool autoShow = true) TDE_DEPRECATED;
#endif #endif
/** /**
@ -270,12 +270,12 @@ public:
* @return a pointer to the dialog * @return a pointer to the dialog
* @deprecated KPropertiesDialog directly inherits from KDialogBase, so use \a this instead * @deprecated KPropertiesDialog directly inherits from KDialogBase, so use \a this instead
*/ */
KDE_DEPRECATED KDialogBase* dialog() { return this; } TDE_DEPRECATED KDialogBase* dialog() { return this; }
/** /**
* @return a pointer to the dialog * @return a pointer to the dialog
* @deprecated KPropertiesDialog directly inherits from KDialogBase, so use \a this instead * @deprecated KPropertiesDialog directly inherits from KDialogBase, so use \a this instead
*/ */
KDE_DEPRECATED const KDialogBase* dialog() const { return this; } TDE_DEPRECATED const KDialogBase* dialog() const { return this; }
/** /**
* If the dialog is being built from a template, this method * If the dialog is being built from a template, this method

@ -309,7 +309,7 @@ public:
* Do not use in conjunction with setFilter() * Do not use in conjunction with setFilter()
* @deprecated * @deprecated
*/ */
void setFilterMimeType(const TQString &label, const KMimeType::List &types, const KMimeType::Ptr &defaultType) KDE_DEPRECATED; void setFilterMimeType(const TQString &label, const KMimeType::List &types, const KMimeType::Ptr &defaultType) TDE_DEPRECATED;
/** /**
* Returns the mimetype for the desired output format. * Returns the mimetype for the desired output format.
@ -364,7 +364,7 @@ public:
* Ownership is transferred to KFileDialog. You need to create the * Ownership is transferred to KFileDialog. You need to create the
* preview-widget with "new", i.e. on the heap. * preview-widget with "new", i.e. on the heap.
*/ */
void setPreviewWidget(const TQWidget *w) KDE_DEPRECATED; void setPreviewWidget(const TQWidget *w) TDE_DEPRECATED;
/** /**
* Adds a preview widget and enters the preview mode. * Adds a preview widget and enters the preview mode.

@ -103,7 +103,7 @@ namespace TDEIO
* @param speed speed in bytes per second * @param speed speed in bytes per second
* @return calculated remaining time * @return calculated remaining time
*/ */
TDEIO_EXPORT TQTime calculateRemaining( TDEIO::filesize_t totalSize, TDEIO::filesize_t processedSize, TDEIO::filesize_t speed ) KDE_DEPRECATED; TDEIO_EXPORT TQTime calculateRemaining( TDEIO::filesize_t totalSize, TDEIO::filesize_t processedSize, TDEIO::filesize_t speed ) TDE_DEPRECATED;
/** /**
* Helper for showing information about a set of files and directories * Helper for showing information about a set of files and directories

@ -1285,7 +1285,7 @@ namespace TDEIO {
/** /**
* @deprecated * @deprecated
*/ */
void setSourceSize( off_t size ) KDE_DEPRECATED; void setSourceSize( off_t size ) TDE_DEPRECATED;
/** /**
* Returns the source URL. * Returns the source URL.

@ -97,13 +97,13 @@ public:
* @return a large pixmap for the DataTool. * @return a large pixmap for the DataTool.
* @deprecated, use iconName() * @deprecated, use iconName()
*/ */
TQPixmap icon() const KDE_DEPRECATED; TQPixmap icon() const TDE_DEPRECATED;
/** /**
* Returns the mini icon of this data tool. * Returns the mini icon of this data tool.
* @return a mini pixmap for the DataTool. * @return a mini pixmap for the DataTool.
* @deprecated, use iconName() * @deprecated, use iconName()
*/ */
TQPixmap miniIcon() const KDE_DEPRECATED; TQPixmap miniIcon() const TDE_DEPRECATED;
/** /**
* Returns the icon name for this DataTool. * Returns the icon name for this DataTool.
* @return the name of the icon for the DataTool * @return the name of the icon for the DataTool

@ -114,7 +114,7 @@ private:
* @deprecated. Use deviceForFile instead. * @deprecated. Use deviceForFile instead.
* To be removed in KDE 3.0 * To be removed in KDE 3.0
*/ */
static TQIODevice* createFilterDevice(KFilterBase* base, TQFile* file) KDE_DEPRECATED; static TQIODevice* createFilterDevice(KFilterBase* base, TQFile* file) TDE_DEPRECATED;
public: public:
/** /**

@ -580,7 +580,7 @@ public:
* @param service the service to execute * @param service the service to execute
* @deprecated, see the other executeService * @deprecated, see the other executeService
*/ */
static void executeService( const TQString& path, KDEDesktopMimeType::Service& service ) KDE_DEPRECATED; static void executeService( const TQString& path, KDEDesktopMimeType::Service& service ) TDE_DEPRECATED;
/** /**
* Execute @p service on the list of @p urls. * Execute @p service on the list of @p urls.

@ -612,38 +612,38 @@ public:
// The following methods are deprecated: // The following methods are deprecated:
/// @deprecated /// @deprecated
static Type inputType( const TQString& protocol ) KDE_DEPRECATED; static Type inputType( const TQString& protocol ) TDE_DEPRECATED;
/// @deprecated /// @deprecated
static Type outputType( const TQString& protocol ) KDE_DEPRECATED; static Type outputType( const TQString& protocol ) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
* Returns the list of fields this protocol returns when listing * Returns the list of fields this protocol returns when listing
* The current possibilities are * The current possibilities are
* Name, Type, Size, Date, AccessDate, Access, Owner, Group, Link, URL, MimeType * Name, Type, Size, Date, AccessDate, Access, Owner, Group, Link, URL, MimeType
*/ */
static TQStringList listing( const TQString& protocol ) KDE_DEPRECATED; static TQStringList listing( const TQString& protocol ) TDE_DEPRECATED;
/// @deprecated /// @deprecated
static bool isSourceProtocol( const TQString& protocol ) KDE_DEPRECATED; static bool isSourceProtocol( const TQString& protocol ) TDE_DEPRECATED;
/// @deprecated /// @deprecated
static bool supportsListing( const TQString& protocol ) KDE_DEPRECATED; static bool supportsListing( const TQString& protocol ) TDE_DEPRECATED;
/// @deprecated /// @deprecated
static bool supportsReading( const TQString& protocol ) KDE_DEPRECATED; static bool supportsReading( const TQString& protocol ) TDE_DEPRECATED;
/// @deprecated /// @deprecated
static bool supportsWriting( const TQString& protocol ) KDE_DEPRECATED; static bool supportsWriting( const TQString& protocol ) TDE_DEPRECATED;
/// @deprecated /// @deprecated
static bool supportsMakeDir( const TQString& protocol ) KDE_DEPRECATED; static bool supportsMakeDir( const TQString& protocol ) TDE_DEPRECATED;
/// @deprecated /// @deprecated
static bool supportsDeleting( const TQString& protocol ) KDE_DEPRECATED; static bool supportsDeleting( const TQString& protocol ) TDE_DEPRECATED;
/// @deprecated /// @deprecated
static bool supportsLinking( const TQString& protocol ) KDE_DEPRECATED; static bool supportsLinking( const TQString& protocol ) TDE_DEPRECATED;
/// @deprecated /// @deprecated
static bool supportsMoving( const TQString& protocol ) KDE_DEPRECATED; static bool supportsMoving( const TQString& protocol ) TDE_DEPRECATED;
/// @deprecated /// @deprecated
static bool canCopyFromFile( const TQString& protocol ) KDE_DEPRECATED; static bool canCopyFromFile( const TQString& protocol ) TDE_DEPRECATED;
/// @deprecated /// @deprecated
static bool canCopyToFile( const TQString& protocol ) KDE_DEPRECATED; static bool canCopyToFile( const TQString& protocol ) TDE_DEPRECATED;
/// @deprecated /// @deprecated
static TQString defaultMimetype( const TQString& protocol) KDE_DEPRECATED; static TQString defaultMimetype( const TQString& protocol) TDE_DEPRECATED;
//////////////////////// END DEPRECATED /////////////////////// //////////////////////// END DEPRECATED ///////////////////////
protected: protected:

@ -142,7 +142,7 @@ public:
* *
* @deprecated * @deprecated
*/ */
KDE_DEPRECATED bool hasBeenFiltered() const { return true; } TDE_DEPRECATED bool hasBeenFiltered() const { return true; }
/** /**
* Returns the filtered or the original URL. * Returns the filtered or the original URL.

@ -119,7 +119,7 @@ public:
/** /**
* @deprecated. Use the function above instead. * @deprecated. Use the function above instead.
*/ */
static bool download(const KURL& src, TQString & target) KDE_DEPRECATED; static bool download(const KURL& src, TQString & target) TDE_DEPRECATED;
/** /**
* Removes the specified file if and only if it was created * Removes the specified file if and only if it was created
@ -158,7 +158,7 @@ public:
/** /**
* @deprecated. Use the function above instead. * @deprecated. Use the function above instead.
*/ */
static bool upload(const TQString& src, const KURL& target) KDE_DEPRECATED; static bool upload(const TQString& src, const KURL& target) TDE_DEPRECATED;
/** /**
* Alternative to upload for copying over the network. * Alternative to upload for copying over the network.
@ -184,7 +184,7 @@ public:
/** /**
* @deprecated. Use the function above instead. * @deprecated. Use the function above instead.
*/ */
static bool copy( const KURL& src, const KURL& target ) KDE_DEPRECATED; static bool copy( const KURL& src, const KURL& target ) TDE_DEPRECATED;
// KDE4: merge with above // KDE4: merge with above
/** /**
@ -226,7 +226,7 @@ public:
/** /**
* @deprecated. Use the function above instead. * @deprecated. Use the function above instead.
*/ */
static bool dircopy( const KURL& src, const KURL& target ) KDE_DEPRECATED; // KDE4: merge static bool dircopy( const KURL& src, const KURL& target ) TDE_DEPRECATED; // KDE4: merge
/** /**
* Overloaded method, which takes a list of source URLs * Overloaded method, which takes a list of source URLs
@ -283,17 +283,17 @@ public:
* @deprecated. Use the function above instead. * @deprecated. Use the function above instead.
* @since 3.2 * @since 3.2
*/ */
static bool exists(const KURL& url, TQWidget* window) KDE_DEPRECATED; static bool exists(const KURL& url, TQWidget* window) TDE_DEPRECATED;
/** /**
* @deprecated. Use the function above instead. * @deprecated. Use the function above instead.
*/ */
static bool exists(const KURL& url) KDE_DEPRECATED; static bool exists(const KURL& url) TDE_DEPRECATED;
/** /**
* @deprecated. Use the function above instead. * @deprecated. Use the function above instead.
*/ */
static bool exists(const KURL& url, bool source) KDE_DEPRECATED; // KDE4: merge static bool exists(const KURL& url, bool source) TDE_DEPRECATED; // KDE4: merge
/** /**
* Tests whether a URL exists and return information on it. * Tests whether a URL exists and return information on it.
@ -316,7 +316,7 @@ public:
/** /**
* @deprecated. Use the function above instead. * @deprecated. Use the function above instead.
*/ */
static bool stat(const KURL& url, TDEIO::UDSEntry & entry) KDE_DEPRECATED; static bool stat(const KURL& url, TDEIO::UDSEntry & entry) TDE_DEPRECATED;
/** /**
* Tries to map a local URL for the given URL. * Tries to map a local URL for the given URL.
@ -358,7 +358,7 @@ public:
* you should try to identify a suitable parent widget * you should try to identify a suitable parent widget
* if at all possible. * if at all possible.
*/ */
static bool del( const KURL & url ) KDE_DEPRECATED; static bool del( const KURL & url ) TDE_DEPRECATED;
/** /**
* Creates a directory in a synchronous way. * Creates a directory in a synchronous way.
@ -383,7 +383,7 @@ public:
* you should try to identify a suitable parent widget * you should try to identify a suitable parent widget
* if at all possible. * if at all possible.
*/ */
static bool mkdir( const KURL & url, int permissions = -1 ) KDE_DEPRECATED; static bool mkdir( const KURL & url, int permissions = -1 ) TDE_DEPRECATED;
/** /**
* Executes a remote process via the fish ioslave in a synchronous way. * Executes a remote process via the fish ioslave in a synchronous way.
@ -472,7 +472,7 @@ public:
* you should try to identify a suitable parent widget * you should try to identify a suitable parent widget
* if at all possible. * if at all possible.
*/ */
static TQString mimetype( const KURL & url ) KDE_DEPRECATED; static TQString mimetype( const KURL & url ) TDE_DEPRECATED;
/** /**
* Returns the error string for the last job, in case it failed. * Returns the error string for the last job, in case it failed.

@ -113,7 +113,7 @@ public:
/** /**
* @deprecated. Use setUserReadOnly(bool). * @deprecated. Use setUserReadOnly(bool).
*/ */
KDE_DEPRECATED void setEnableUserField( bool enable, bool=false ) { TDE_DEPRECATED void setEnableUserField( bool enable, bool=false ) {
setUserReadOnly( !enable ); setUserReadOnly( !enable );
}; };

@ -204,7 +204,7 @@ namespace TDEIO {
* within TDEIO::Slave instead. Old code directly accessing connection() * within TDEIO::Slave instead. Old code directly accessing connection()
* will not be able to access special protocols. * will not be able to access special protocols.
*/ */
KDE_DEPRECATED Connection *connection() { return &slaveconn; } // TODO(BIC): remove before KDE 4 TDE_DEPRECATED Connection *connection() { return &slaveconn; } // TODO(BIC): remove before KDE 4
void ref() { m_refCount++; } void ref() { m_refCount++; }
void deref() { m_refCount--; if (!m_refCount) delete this; } void deref() { m_refCount--; if (!m_refCount) delete this; }

@ -210,12 +210,12 @@ protected:
*/ */
void openPassDlg( const TQString& prompt, const TQString& user, void openPassDlg( const TQString& prompt, const TQString& user,
const TQString& caption, const TQString& comment, const TQString& caption, const TQString& comment,
const TQString& label, bool readOnly ) KDE_DEPRECATED; const TQString& label, bool readOnly ) TDE_DEPRECATED;
/** /**
* @deprecated. Use openPassDlg( AuthInfo& ) instead. * @deprecated. Use openPassDlg( AuthInfo& ) instead.
*/ */
void openPassDlg( const TQString& prompt, const TQString& user, bool readOnly ) KDE_DEPRECATED; void openPassDlg( const TQString& prompt, const TQString& user, bool readOnly ) TDE_DEPRECATED;
void messageBox( int type, const TQString &text, const TQString &caption, void messageBox( int type, const TQString &text, const TQString &caption,
const TQString &buttonYes, const TQString &buttonNo ); const TQString &buttonYes, const TQString &buttonNo );

@ -60,48 +60,48 @@ protected:
/** /**
* @deprecated Due to inconsistency with KDE naming convention. * @deprecated Due to inconsistency with KDE naming convention.
*/ */
KDE_DEPRECATED ssize_t Write(const void *data, ssize_t len) { return write( data, len ); } TDE_DEPRECATED ssize_t Write(const void *data, ssize_t len) { return write( data, len ); }
/** /**
* @deprecated Due to inconsistency with KDE naming convention. * @deprecated Due to inconsistency with KDE naming convention.
*/ */
KDE_DEPRECATED ssize_t Read(void *data, ssize_t len) { return read( data, len ); } TDE_DEPRECATED ssize_t Read(void *data, ssize_t len) { return read( data, len ); }
/** /**
* @deprecated Due to inconsistency with KDE naming convention. * @deprecated Due to inconsistency with KDE naming convention.
*/ */
KDE_DEPRECATED ssize_t ReadLine(char *data, ssize_t len) { return readLine( data, len ); } TDE_DEPRECATED ssize_t ReadLine(char *data, ssize_t len) { return readLine( data, len ); }
/** /**
* @deprecated Due to inconsistency with KDE naming convention. * @deprecated Due to inconsistency with KDE naming convention.
*/ */
KDE_DEPRECATED unsigned short int GetPort(unsigned short int p) { return port(p); } TDE_DEPRECATED unsigned short int GetPort(unsigned short int p) { return port(p); }
/** /**
* @deprecated Due to inconsistency with KDE naming convention. * @deprecated Due to inconsistency with KDE naming convention.
*/ */
KDE_DEPRECATED bool ConnectToHost( const TQString &host, unsigned int port, TDE_DEPRECATED bool ConnectToHost( const TQString &host, unsigned int port,
bool sendError ) { return connectToHost( host, port, sendError ); } bool sendError ) { return connectToHost( host, port, sendError ); }
/** /**
* @deprecated Due to inconsistency with KDE naming convention. * @deprecated Due to inconsistency with KDE naming convention.
*/ */
KDE_DEPRECATED void CloseDescriptor() { closeDescriptor(); } TDE_DEPRECATED void CloseDescriptor() { closeDescriptor(); }
/** /**
* @deprecated Due to inconsistency with KDE naming convention. * @deprecated Due to inconsistency with KDE naming convention.
*/ */
KDE_DEPRECATED bool AtEOF() { return atEnd(); } TDE_DEPRECATED bool AtEOF() { return atEnd(); }
/** /**
* @deprecated Due to inconsistency with KDE naming convention. * @deprecated Due to inconsistency with KDE naming convention.
*/ */
KDE_DEPRECATED bool InitializeSSL() { return initializeSSL(); } TDE_DEPRECATED bool InitializeSSL() { return initializeSSL(); }
/** /**
* @deprecated Due to inconsistency with KDE naming convention. * @deprecated Due to inconsistency with KDE naming convention.
*/ */
KDE_DEPRECATED void CleanSSL() { cleanSSL(); } TDE_DEPRECATED void CleanSSL() { cleanSSL(); }
#endif #endif
/** /**

@ -192,7 +192,7 @@ public:
* TDEGlobalSettings::inactiveTitleColor() and TDEGlobalSettings::inactiveTextColor() instead. * TDEGlobalSettings::inactiveTitleColor() and TDEGlobalSettings::inactiveTextColor() instead.
*/ */
static void getCaptionColors( const TQPalette &pal, TQColor &activeBG, TQColor &activeFG, static void getCaptionColors( const TQPalette &pal, TQColor &activeBG, TQColor &activeFG,
TQColor &inactiveBG, TQColor &inactiveFG ) KDE_DEPRECATED; TQColor &inactiveBG, TQColor &inactiveFG ) TDE_DEPRECATED;
public slots: public slots:
/** /**

@ -643,7 +643,7 @@ public slots:
* Sets the appearance of the IDEAl mode. See KMultiTabBar styles for the first 3 bits. * Sets the appearance of the IDEAl mode. See KMultiTabBar styles for the first 3 bits.
* @deprecated use setToolviewStyle(int flags) instead * @deprecated use setToolviewStyle(int flags) instead
*/ */
void setIDEAlModeStyle( int flags ) KDE_DEPRECATED; void setIDEAlModeStyle( int flags ) TDE_DEPRECATED;
//KDE4: Get rid of the above. //KDE4: Get rid of the above.
/** /**
* Sets the appearance of the toolview tabs. * Sets the appearance of the toolview tabs.

@ -188,7 +188,7 @@ class TDE_EXPORT DownloadDialog : public KDialogBase
@param type a data type such as "korganizer/calendar" @param type a data type such as "korganizer/calendar"
@deprecated use open( const TQString& type, const TQString& caption ); @deprecated use open( const TQString& type, const TQString& caption );
*/ */
static void open(TQString type) KDE_DEPRECATED; // ### KDE 4.0: remove and make caption/parent argument optional static void open(TQString type) TDE_DEPRECATED; // ### KDE 4.0: remove and make caption/parent argument optional
/** /**
Returns the list of installed data entries. Returns the list of installed data entries.

@ -326,7 +326,7 @@ public:
* *
* @see pageList() * @see pageList()
*/ */
int fromPage() const KDE_DEPRECATED; int fromPage() const TDE_DEPRECATED;
/** /**
* Returns the last page to be printed. * Returns the last page to be printed.
* @deprecated Applications * @deprecated Applications

@ -65,7 +65,7 @@ public:
/** /**
* @deprecated This is equivalent with "new KColorDrag(color, dragsource)". * @deprecated This is equivalent with "new KColorDrag(color, dragsource)".
*/ */
static KColorDrag* makeDrag( const TQColor&,TQWidget *dragsource) KDE_DEPRECATED; static KColorDrag* makeDrag( const TQColor&,TQWidget *dragsource) TDE_DEPRECATED;
private: private:
TQColor m_color; // unused TQColor m_color; // unused

@ -104,7 +104,7 @@ public:
* Returns the selected date. * Returns the selected date.
* @deprecated * @deprecated
**/ **/
const TQDate& getDate() const KDE_DEPRECATED; const TQDate& getDate() const TDE_DEPRECATED;
/** /**
* @returns the selected date. * @returns the selected date.

@ -898,7 +898,7 @@ class TDEUI_EXPORT KDialogBase : public KDialog
*/ */
void setButtonOKText( const TQString &text=TQString::null, void setButtonOKText( const TQString &text=TQString::null,
const TQString &tooltip=TQString::null, const TQString &tooltip=TQString::null,
const TQString &quickhelp=TQString::null ) KDE_DEPRECATED; const TQString &quickhelp=TQString::null ) TDE_DEPRECATED;
/** /**
* Sets the appearance of the Apply button. * Sets the appearance of the Apply button.
@ -928,7 +928,7 @@ class TDEUI_EXPORT KDialogBase : public KDialog
*/ */
void setButtonApplyText( const TQString &text=TQString::null, void setButtonApplyText( const TQString &text=TQString::null,
const TQString &tooltip=TQString::null, const TQString &tooltip=TQString::null,
const TQString &quickhelp=TQString::null ) KDE_DEPRECATED; const TQString &quickhelp=TQString::null ) TDE_DEPRECATED;
/** /**
* Sets the appearance of the Cancel button. * Sets the appearance of the Cancel button.
@ -956,7 +956,7 @@ class TDEUI_EXPORT KDialogBase : public KDialog
*/ */
void setButtonCancelText( const TQString &text=TQString::null, void setButtonCancelText( const TQString &text=TQString::null,
const TQString &tooltip=TQString::null, const TQString &tooltip=TQString::null,
const TQString &quickhelp=TQString::null ) KDE_DEPRECATED; const TQString &quickhelp=TQString::null ) TDE_DEPRECATED;
/** /**
* Sets the text of any button. * Sets the text of any button.
@ -1113,7 +1113,7 @@ class TDEUI_EXPORT KDialogBase : public KDialog
* @deprecated * @deprecated
* Use backgroundTile() instead. * Use backgroundTile() instead.
*/ */
static const TQPixmap *getBackgroundTile() KDE_DEPRECATED; static const TQPixmap *getBackgroundTile() TDE_DEPRECATED;
/** /**
* Sets the background tile. * Sets the background tile.
@ -1142,7 +1142,7 @@ class TDEUI_EXPORT KDialogBase : public KDialog
* The results are differences in pixels from the * The results are differences in pixels from the
* dialogs corners. * dialogs corners.
*/ */
void getBorderWidths( int& ulx, int& uly, int& lrx, int& lry ) const KDE_DEPRECATED; void getBorderWidths( int& ulx, int& uly, int& lrx, int& lry ) const TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
@ -1155,7 +1155,7 @@ class TDEUI_EXPORT KDialogBase : public KDialog
* If you need the "overhead" the dialog needs for its elements, * If you need the "overhead" the dialog needs for its elements,
* use getBorderWidths(). * use getBorderWidths().
*/ */
TQRect getContentsRect() const KDE_DEPRECATED; TQRect getContentsRect() const TDE_DEPRECATED;
/** /**
* Calculate the size hint for the dialog. * Calculate the size hint for the dialog.

@ -29,7 +29,7 @@
* This class is obsolete, it is provided for compatibility only. * This class is obsolete, it is provided for compatibility only.
* Use KSystemTray instead. * Use KSystemTray instead.
*/ */
class KDE_DEPRECATED KDockWindow : public KSystemTray class TDE_DEPRECATED KDockWindow : public KSystemTray
{ {
TQ_OBJECT TQ_OBJECT
public: public:

@ -52,7 +52,7 @@ class TDEUI_EXPORT KKeyButton: public TQPushButton
virtual ~KKeyButton(); virtual ~KKeyButton();
/** @deprecated Use setShortcut( cut, false ) instead */ /** @deprecated Use setShortcut( cut, false ) instead */
void setShortcut( const TDEShortcut& cut ) KDE_DEPRECATED; void setShortcut( const TDEShortcut& cut ) TDE_DEPRECATED;
/// @since 3.1 /// @since 3.1
void setShortcut( const TDEShortcut& cut, bool bQtShortcut ); void setShortcut( const TDEShortcut& cut, bool bQtShortcut );
const TDEShortcut& shortcut() const const TDEShortcut& shortcut() const

@ -377,19 +377,19 @@ public:
* @deprecated Obsolete. * @deprecated Obsolete.
* Please use KKeyDialog::configure instead * Please use KKeyDialog::configure instead
*/ */
static KDE_DEPRECATED int configureKeys( TDEAccel* keys, bool save_settings = true, TQWidget* parent = 0 ) static TDE_DEPRECATED int configureKeys( TDEAccel* keys, bool save_settings = true, TQWidget* parent = 0 )
{ return configure( keys, parent, save_settings ); } { return configure( keys, parent, save_settings ); }
/** /**
* @deprecated Obsolete. * @deprecated Obsolete.
* Please use KKeyDialog::configure instead * Please use KKeyDialog::configure instead
*/ */
static KDE_DEPRECATED int configureKeys( TDEGlobalAccel* keys, bool save_settings = true, TQWidget* parent = 0 ) static TDE_DEPRECATED int configureKeys( TDEGlobalAccel* keys, bool save_settings = true, TQWidget* parent = 0 )
{ return configure( keys, parent, save_settings ); } { return configure( keys, parent, save_settings ); }
/** /**
* @deprecated Obsolete. * @deprecated Obsolete.
* Please use KKeyDialog::configure instead * Please use KKeyDialog::configure instead
*/ */
static KDE_DEPRECATED int configureKeys( TDEActionCollection* coll, const TQString& /*xmlfile*/, static TDE_DEPRECATED int configureKeys( TDEActionCollection* coll, const TQString& /*xmlfile*/,
bool save_settings = true, TQWidget* parent = 0 ) bool save_settings = true, TQWidget* parent = 0 )
{ return configure( coll, parent, save_settings ); } { return configure( coll, parent, save_settings ); }

@ -195,7 +195,7 @@ public:
* @short Toggles LED on->off / off->on. * @short Toggles LED on->off / off->on.
* @deprecated, use #toggle() instead. * @deprecated, use #toggle() instead.
*/ */
void toggleState() KDE_DEPRECATED; void toggleState() TDE_DEPRECATED;
/** /**
* Set the color of the widget. * Set the color of the widget.

@ -57,7 +57,7 @@ public:
* @param _value Initial value of the inputline * @param _value Initial value of the inputline
* @param parent Parent widget for the line edit dialog * @param parent Parent widget for the line edit dialog
*/ */
KLineEditDlg( const TQString& _text, const TQString& _value, TQWidget *parent ) KDE_DEPRECATED; KLineEditDlg( const TQString& _text, const TQString& _value, TQWidget *parent ) TDE_DEPRECATED;
virtual ~KLineEditDlg(); virtual ~KLineEditDlg();
/** /**
@ -80,7 +80,7 @@ public:
* @param parent The parent widget * @param parent The parent widget
*/ */
static TQString getText(const TQString &text, const TQString& value, static TQString getText(const TQString &text, const TQString& value,
bool *ok, TQWidget *parent, TQValidator *validator=0 ) KDE_DEPRECATED; bool *ok, TQWidget *parent, TQValidator *validator=0 ) TDE_DEPRECATED;
/** /**
* Static convenience function to get a textual input from the user. * Static convenience function to get a textual input from the user.
@ -97,7 +97,7 @@ public:
static TQString getText(const TQString &caption, const TQString &text, static TQString getText(const TQString &caption, const TQString &text,
const TQString& value=TQString::null, const TQString& value=TQString::null,
bool *ok=0, TQWidget *parent=0, bool *ok=0, TQWidget *parent=0,
TQValidator *validator=0) KDE_DEPRECATED; TQValidator *validator=0) TDE_DEPRECATED;
public slots: public slots:
/** /**

@ -460,7 +460,7 @@ public:
* @param parent parent TQWidget * @param parent parent TQWidget
* @param name internal name for this widget * @param name internal name for this widget
*/ */
KDoubleNumInput(double value, TQWidget *parent=0, const char *name=0) KDE_DEPRECATED; KDoubleNumInput(double value, TQWidget *parent=0, const char *name=0) TDE_DEPRECATED;
/** /**
* Constructor * Constructor
@ -493,7 +493,7 @@ public:
* @param parent parent TQWidget * @param parent parent TQWidget
* @param name internal name for this widget * @param name internal name for this widget
**/ **/
KDoubleNumInput(KNumInput* below, double value, TQWidget* parent=0, const char* name=0) KDE_DEPRECATED; KDoubleNumInput(KNumInput* below, double value, TQWidget* parent=0, const char* name=0) TDE_DEPRECATED;
/** /**
* Constructor * Constructor

@ -361,7 +361,7 @@ protected:
* @deprecated Reimplement positionChange instead. * @deprecated Reimplement positionChange instead.
**/ **/
// FIXME: Remove for KDE 4 // FIXME: Remove for KDE 4
virtual KDE_DEPRECATED void orientationChange( Orientation /* orientation*/) {} virtual TDE_DEPRECATED void orientationChange( Orientation /* orientation*/) {}
/** /**
* A convenience method that translates the position of the applet into which * A convenience method that translates the position of the applet into which
@ -376,7 +376,7 @@ protected:
* @deprecated Reimplement positionChange instead. * @deprecated Reimplement positionChange instead.
**/ **/
// FIXME: Remove for KDE 4 // FIXME: Remove for KDE 4
virtual KDE_DEPRECATED void popupDirectionChange( Direction /*direction*/ ) {} virtual TDE_DEPRECATED void popupDirectionChange( Direction /*direction*/ ) {}
bool eventFilter(TQObject *, TQEvent *); bool eventFilter(TQObject *, TQEvent *);

@ -67,7 +67,7 @@ public:
* @deprecated, will be removed in KDE 4.0 * @deprecated, will be removed in KDE 4.0
* Creates a password input widget using echoMode as "echo mode". * Creates a password input widget using echoMode as "echo mode".
*/ */
KPasswordEdit(TQWidget *parent, const char *name, int echoMode) KDE_DEPRECATED; KPasswordEdit(TQWidget *parent, const char *name, int echoMode) TDE_DEPRECATED;
/** /**
* Destructs the widget. * Destructs the widget.
@ -192,7 +192,7 @@ public:
* possibility to specify a parent. Will be removed in KDE 4.0 * possibility to specify a parent. Will be removed in KDE 4.0
*/ */
KPasswordDialog(int type, TQString prompt, bool enableKeep=false, KPasswordDialog(int type, TQString prompt, bool enableKeep=false,
int extraBttn=0) KDE_DEPRECATED; int extraBttn=0) TDE_DEPRECATED;
// note that this implicitly deprecates the 'prompt' variants of // note that this implicitly deprecates the 'prompt' variants of
// getPassword() below. i guess the above constructor needs to be extended. // getPassword() below. i guess the above constructor needs to be extended.

@ -78,7 +78,7 @@ public:
* @see setValue() * @see setValue()
*/ */
// ### Remove this KDE 4.0 // ### Remove this KDE 4.0
int value() const KDE_DEPRECATED; int value() const TDE_DEPRECATED;
/** /**
* Returns @p true if progress text will be displayed, * Returns @p true if progress text will be displayed,
@ -99,13 +99,13 @@ public:
* Use setTotalSteps() instead * Use setTotalSteps() instead
*/ */
// ### Remove this KDE 4.0 // ### Remove this KDE 4.0
void setRange(int min, int max) KDE_DEPRECATED; void setRange(int min, int max) TDE_DEPRECATED;
/** /**
* @deprecated Use totalSteps() instead * @deprecated Use totalSteps() instead
*/ */
// ### Remove this KDE 4.0 // ### Remove this KDE 4.0
int maxValue() KDE_DEPRECATED; int maxValue() TDE_DEPRECATED;
public slots: public slots:
@ -234,7 +234,7 @@ class TDEUI_EXPORT KProgressDialog : public KDialogBase
* @deprecated * @deprecated
*/ */
// ### Remove this KDE 4.0 // ### Remove this KDE 4.0
TQString labelText() KDE_DEPRECATED; TQString labelText() TDE_DEPRECATED;
/** /**
* Returns the current dialog text * Returns the current dialog text
@ -257,7 +257,7 @@ class TDEUI_EXPORT KProgressDialog : public KDialogBase
* @deprecated * @deprecated
*/ */
// ### Remove this KDE 4.0 // ### Remove this KDE 4.0
bool allowCancel() KDE_DEPRECATED; bool allowCancel() TDE_DEPRECATED;
/** /**
* Returns true if the dialog can be canceled, false otherwise * Returns true if the dialog can be canceled, false otherwise
@ -344,7 +344,7 @@ class TDEUI_EXPORT KProgressDialog : public KDialogBase
* @deprecated * @deprecated
*/ */
// ### Remove this KDE 4.0 // ### Remove this KDE 4.0
TQString buttonText() KDE_DEPRECATED; TQString buttonText() TDE_DEPRECATED;
/** /**
* Returns the text on the cancel button * Returns the text on the cancel button
@ -362,7 +362,7 @@ class TDEUI_EXPORT KProgressDialog : public KDialogBase
* @deprecated * @deprecated
*/ */
// ### Remove this KDE 4.0 // ### Remove this KDE 4.0
int minimumDuration() KDE_DEPRECATED; int minimumDuration() TDE_DEPRECATED;
/** /**
* Returns the wait duration in milliseconds * Returns the wait duration in milliseconds

@ -115,7 +115,7 @@ class TDEUI_EXPORT KProgressBoxDialog : public KDialogBase
* @deprecated * @deprecated
*/ */
// ### Remove this KDE 4.0 // ### Remove this KDE 4.0
TQString labelText() KDE_DEPRECATED; TQString labelText() TDE_DEPRECATED;
/** /**
* Returns the current dialog text * Returns the current dialog text
@ -145,7 +145,7 @@ class TDEUI_EXPORT KProgressBoxDialog : public KDialogBase
* @deprecated * @deprecated
*/ */
// ### Remove this KDE 4.0 // ### Remove this KDE 4.0
bool allowCancel() KDE_DEPRECATED; bool allowCancel() TDE_DEPRECATED;
/** /**
* Returns true if the dialog can be canceled, false otherwise * Returns true if the dialog can be canceled, false otherwise
@ -232,7 +232,7 @@ class TDEUI_EXPORT KProgressBoxDialog : public KDialogBase
* @deprecated * @deprecated
*/ */
// ### Remove this KDE 4.0 // ### Remove this KDE 4.0
TQString buttonText() KDE_DEPRECATED; TQString buttonText() TDE_DEPRECATED;
/** /**
* Returns the text on the cancel button * Returns the text on the cancel button
@ -250,7 +250,7 @@ class TDEUI_EXPORT KProgressBoxDialog : public KDialogBase
* @deprecated * @deprecated
*/ */
// ### Remove this KDE 4.0 // ### Remove this KDE 4.0
int minimumDuration() KDE_DEPRECATED; int minimumDuration() TDE_DEPRECATED;
/** /**
* Returns the wait duration in milliseconds * Returns the wait duration in milliseconds

@ -97,7 +97,7 @@ public:
* Deprecated, use isAvailable() instead. * Deprecated, use isAvailable() instead.
* @deprecated * @deprecated
*/ */
KDE_DEPRECATED bool checkAvailable(bool) { return isAvailable(); } TDE_DEPRECATED bool checkAvailable(bool) { return isAvailable(); }
#endif #endif
/** @since 3.2 /** @since 3.2

@ -275,19 +275,19 @@ public:
* @deprecated * @deprecated
* This method has no effect other than an update. Do not use. * This method has no effect other than an update. Do not use.
**/ **/
void setValuePerLittleMark(int) KDE_DEPRECATED; void setValuePerLittleMark(int) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
* This method has no effect other than an update. Do not use. * This method has no effect other than an update. Do not use.
**/ **/
void setValuePerMediumMark(int) KDE_DEPRECATED; void setValuePerMediumMark(int) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
* This method has no effect other than an update. Do not use. * This method has no effect other than an update. Do not use.
*/ */
void setValuePerBigMark(int) KDE_DEPRECATED; void setValuePerBigMark(int) TDE_DEPRECATED;
/** /**
* Show/hide number values of the little marks. * Show/hide number values of the little marks.

@ -499,7 +499,7 @@ namespace KStdAction
* @since 3.1 * @since 3.1
*/ */
TDEUI_EXPORT TDEToggleAction *showToolbar(const TQObject *recvr, const char *slot, TDEUI_EXPORT TDEToggleAction *showToolbar(const TQObject *recvr, const char *slot,
TDEActionCollection* parent, const char *name = 0 ) KDE_DEPRECATED; TDEActionCollection* parent, const char *name = 0 ) TDE_DEPRECATED;
/** /**
* @obsolete. toolbar actions are created automatically now in the * @obsolete. toolbar actions are created automatically now in the
* Settings menu. Don't use this anymore. * Settings menu. Don't use this anymore.
@ -507,7 +507,7 @@ namespace KStdAction
* Show/Hide the primary toolbar. * Show/Hide the primary toolbar.
*/ */
TDEUI_EXPORT TDEToggleToolBarAction *showToolbar(const char* toolBarName, TDEUI_EXPORT TDEToggleToolBarAction *showToolbar(const char* toolBarName,
TDEActionCollection* parent, const char *name = 0 ) KDE_DEPRECATED; TDEActionCollection* parent, const char *name = 0 ) TDE_DEPRECATED;
/** /**
* Show/Hide the statusbar. * Show/Hide the statusbar.

@ -402,7 +402,7 @@ class TDEUI_EXPORT TDEAboutDialog : public KDialogBase
* *
* @since 3.3 * @since 3.3
*/ */
void setIcon( const TQString &fileName ) KDE_DEPRECATED; // KDE4: remove void setIcon( const TQString &fileName ) TDE_DEPRECATED; // KDE4: remove
/** /**
* Overloaded version of setProgramLogo(const TQPixmap& pixmap). * Overloaded version of setProgramLogo(const TQPixmap& pixmap).

@ -364,7 +364,7 @@ public:
* the TDEAccel configuration dialog (this is somehow deprecated since * the TDEAccel configuration dialog (this is somehow deprecated since
* there is now a TDEAction key configuration dialog). * there is now a TDEAction key configuration dialog).
*/ */
virtual void plugAccel(TDEAccel *accel, bool configurable = true) KDE_DEPRECATED; virtual void plugAccel(TDEAccel *accel, bool configurable = true) TDE_DEPRECATED;
/** /**
* "Unplug" or remove this action from a given widget. * "Unplug" or remove this action from a given widget.
@ -384,7 +384,7 @@ public:
* @deprecated. Complement method to plugAccel(). * @deprecated. Complement method to plugAccel().
* Disconnect this action from the TDEAccel. * Disconnect this action from the TDEAccel.
*/ */
virtual void unplugAccel() KDE_DEPRECATED; virtual void unplugAccel() TDE_DEPRECATED;
/** /**
* returns whether the action is plugged into any container widget or not. * returns whether the action is plugged into any container widget or not.
@ -640,7 +640,7 @@ public:
* @deprecated. Use shortcut(). * @deprecated. Use shortcut().
* Get the keyboard accelerator associated with this action. * Get the keyboard accelerator associated with this action.
*/ */
int accel() const KDE_DEPRECATED; int accel() const TDE_DEPRECATED;
TQString statusText() const TQString statusText() const
{ return toolTip(); } { return toolTip(); }
@ -649,7 +649,7 @@ public:
* @deprecated. Use setShortcut(). * @deprecated. Use setShortcut().
* Sets the keyboard accelerator associated with this action. * Sets the keyboard accelerator associated with this action.
*/ */
void setAccel( int key ) KDE_DEPRECATED; void setAccel( int key ) TDE_DEPRECATED;
/** /**
* @deprecated. Use setToolTip instead (they do the same thing now). * @deprecated. Use setToolTip instead (they do the same thing now).

@ -483,7 +483,7 @@ public:
* @deprecated See setMenuAccelsEnabled . * @deprecated See setMenuAccelsEnabled .
* @since 3.1 * @since 3.1
*/ */
void setRemoveAmpersandsInCombo( bool b ) KDE_DEPRECATED; void setRemoveAmpersandsInCombo( bool b ) TDE_DEPRECATED;
/// @since 3.1 /// @since 3.1
bool removeAmpersandsInCombo() const; bool removeAmpersandsInCombo() const;

@ -143,9 +143,9 @@ public:
//bool ownsTDEAccel() const; //bool ownsTDEAccel() const;
/** @deprecated Deprecated because of ambiguous name. Use tdeaccel() */ /** @deprecated Deprecated because of ambiguous name. Use tdeaccel() */
virtual TDEAccel* accel() KDE_DEPRECATED; virtual TDEAccel* accel() TDE_DEPRECATED;
/** @deprecated Deprecated because of ambiguous name. Use tdeaccel() */ /** @deprecated Deprecated because of ambiguous name. Use tdeaccel() */
virtual const TDEAccel* accel() const KDE_DEPRECATED; virtual const TDEAccel* accel() const TDE_DEPRECATED;
/** Returns the TDEAccel object of the most recently set widget. */ /** Returns the TDEAccel object of the most recently set widget. */
TDEAccel* tdeaccel(); TDEAccel* tdeaccel();

@ -286,7 +286,7 @@ public:
* Do not use. * Do not use.
* @deprecated * @deprecated
*/ */
bool createChildren() const KDE_DEPRECATED; bool createChildren() const TDE_DEPRECATED;
/** /**
* @return true if drawing of the drop-highlighter has been enabled. False by default. * @return true if drawing of the drop-highlighter has been enabled. False by default.
@ -329,7 +329,7 @@ public:
* @deprecated * @deprecated
* @see setFullWidth() * @see setFullWidth()
*/ */
void setFullWidth() KDE_DEPRECATED; void setFullWidth() TDE_DEPRECATED;
/** /**
* Let the last column fit exactly all the available width. * Let the last column fit exactly all the available width.
@ -723,7 +723,7 @@ public slots:
* Do not use. * Do not use.
* @deprecated * @deprecated
*/ */
virtual void setCreateChildren(bool b) KDE_DEPRECATED; virtual void setCreateChildren(bool b) TDE_DEPRECATED;
/** /**
* Set the selection mode. * Set the selection mode.
@ -1165,7 +1165,7 @@ public:
/** /**
* returns the background color for this item * returns the background color for this item
*/ */
const TQColor &backgroundColor() KDE_DEPRECATED; // #### should be removed in 4.0; use below instead const TQColor &backgroundColor() TDE_DEPRECATED; // #### should be removed in 4.0; use below instead
/** /**
* returns the background color for this item at given column * returns the background color for this item at given column

@ -668,7 +668,7 @@ public:
* *
*/ */
// KDE4 to be removed // KDE4 to be removed
TQSize sizeForCentralWidgetSize(TQSize size) KDE_DEPRECATED; TQSize sizeForCentralWidgetSize(TQSize size) TDE_DEPRECATED;
/** /**
* @internal * @internal

@ -51,14 +51,14 @@ public:
*/ */
TDEPopupTitle(KPixmapEffect::GradientType gradient, const TQColor &color, TDEPopupTitle(KPixmapEffect::GradientType gradient, const TQColor &color,
const TQColor &textColor, TQWidget *parent=0, const TQColor &textColor, TQWidget *parent=0,
const char *name=0) KDE_DEPRECATED; const char *name=0) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
* Constructs a title widget with the specified pixmap and colors. * Constructs a title widget with the specified pixmap and colors.
*/ */
TDEPopupTitle(const KPixmap &background, const TQColor &color, TDEPopupTitle(const KPixmap &background, const TQColor &color,
const TQColor &textColor, TQWidget *parent=0, const TQColor &textColor, TQWidget *parent=0,
const char *name=0) KDE_DEPRECATED; const char *name=0) TDE_DEPRECATED;
/** /**
* Sets the title string and optional icon for the title widget. * Sets the title string and optional icon for the title widget.
* *
@ -191,14 +191,14 @@ public:
* Obsolete method provided for backwards compatibility only. Use the * Obsolete method provided for backwards compatibility only. Use the
* normal constructor and insertTitle instead. * normal constructor and insertTitle instead.
*/ */
TDEPopupMenu(const TQString &title, TQWidget *parent=0, const char *name=0) KDE_DEPRECATED; TDEPopupMenu(const TQString &title, TQWidget *parent=0, const char *name=0) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
* Obsolete method provided for backwards compatibility only. Use * Obsolete method provided for backwards compatibility only. Use
* insertTitle and changeTitle instead. * insertTitle and changeTitle instead.
*/ */
void setTitle(const TQString &title) KDE_DEPRECATED; void setTitle(const TQString &title) TDE_DEPRECATED;
/** /**
* Returns the context menu associated with this menu * Returns the context menu associated with this menu

@ -310,7 +310,7 @@ public:
* Your application's GUI will still be updated, however. * Your application's GUI will still be updated, however.
* *
*/ */
static int modalCheck( TQString& text ) KDE_DEPRECATED; static int modalCheck( TQString& text ) TDE_DEPRECATED;
/** /**
* Performs a synchronous spellcheck. * Performs a synchronous spellcheck.

@ -733,7 +733,7 @@ public:
* Enable or disable moving of toolbar. * Enable or disable moving of toolbar.
* @deprecated use setMovingEnabled(bool) instead. * @deprecated use setMovingEnabled(bool) instead.
*/ */
void enableMoving(bool flag = true) KDE_DEPRECATED; void enableMoving(bool flag = true) TDE_DEPRECATED;
/** /**
* Set position of toolbar. * Set position of toolbar.
@ -755,13 +755,13 @@ public:
* @see BarStatus * @see BarStatus
* @deprecated * @deprecated
*/ */
bool enable(BarStatus stat) KDE_DEPRECATED; bool enable(BarStatus stat) TDE_DEPRECATED;
/** /**
* Use setMaximumHeight() instead. * Use setMaximumHeight() instead.
* @deprecated * @deprecated
*/ */
void setMaxHeight (int h) KDE_DEPRECATED; // Set max height for vertical toolbars void setMaxHeight (int h) TDE_DEPRECATED; // Set max height for vertical toolbars
/** /**
* Returns the value set with setMaxHeight(). * Returns the value set with setMaxHeight().
@ -769,14 +769,14 @@ public:
* Use maximumHeight() instead. * Use maximumHeight() instead.
* @return the value set with setMaxHeight(). * @return the value set with setMaxHeight().
*/ */
int maxHeight() KDE_DEPRECATED; int maxHeight() TDE_DEPRECATED;
/** /**
* Use setMaximumWidth() instead. * Use setMaximumWidth() instead.
* Set maximal width of horizontal (top or bottom) toolbar. * Set maximal width of horizontal (top or bottom) toolbar.
* @deprecated * @deprecated
*/ */
void setMaxWidth (int dw) KDE_DEPRECATED; void setMaxWidth (int dw) TDE_DEPRECATED;
/** /**
* Returns the value set with setMaxWidth(). * Returns the value set with setMaxWidth().
@ -784,7 +784,7 @@ public:
* @return the value set with setMaxWidth(). * @return the value set with setMaxWidth().
* @deprecated * @deprecated
*/ */
int maxWidth() KDE_DEPRECATED; int maxWidth() TDE_DEPRECATED;
/** /**
* Set title for toolbar when it floats. * Set title for toolbar when it floats.
@ -798,7 +798,7 @@ public:
* Use setMovingEnabled(bool) instead. * Use setMovingEnabled(bool) instead.
* @deprecated * @deprecated
*/ */
void enableFloating (bool flag) KDE_DEPRECATED; void enableFloating (bool flag) TDE_DEPRECATED;
/** /**
* Set the kind of painting for buttons. * Set the kind of painting for buttons.

@ -101,7 +101,7 @@ public:
* @param pixmap The active pixmap * @param pixmap The active pixmap
*/ */
// this one is from TQButton, so #ifdef-ing it out doesn't break BC // this one is from TQButton, so #ifdef-ing it out doesn't break BC
virtual void setPixmap(const TQPixmap &pixmap) KDE_DEPRECATED; virtual void setPixmap(const TQPixmap &pixmap) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
@ -110,7 +110,7 @@ public:
* *
* @param pixmap The pixmap to use as the default (normal) one * @param pixmap The pixmap to use as the default (normal) one
*/ */
void setDefaultPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; void setDefaultPixmap(const TQPixmap& pixmap) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
@ -119,7 +119,7 @@ public:
* *
* @param pixmap The pixmap to use when disabled * @param pixmap The pixmap to use when disabled
*/ */
void setDisabledPixmap(const TQPixmap& pixmap) KDE_DEPRECATED; void setDisabledPixmap(const TQPixmap& pixmap) TDE_DEPRECATED;
#endif #endif
/** /**
@ -162,7 +162,7 @@ public:
* @param generate If true, then the other icons are automagically * @param generate If true, then the other icons are automagically
* generated from this one * generated from this one
*/ */
KDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); } TDE_DEPRECATED void setIcon(const TQString &icon, bool generate ) { Q_UNUSED(generate); setIcon( icon ); }
/** /**
* @deprecated * @deprecated
@ -171,7 +171,7 @@ public:
* *
* @param icon The icon to use as the default (normal) one * @param icon The icon to use as the default (normal) one
*/ */
void setDefaultIcon(const TQString& icon) KDE_DEPRECATED; void setDefaultIcon(const TQString& icon) TDE_DEPRECATED;
/** /**
* @deprecated * @deprecated
@ -180,7 +180,7 @@ public:
* *
* @param icon The icon to use when disabled * @param icon The icon to use when disabled
*/ */
void setDisabledIcon(const TQString& icon) KDE_DEPRECATED; void setDisabledIcon(const TQString& icon) TDE_DEPRECATED;
#endif #endif
/** /**

@ -102,7 +102,7 @@ public:
KCMultiDialog( int dialogFace, const KGuiItem &user2, KCMultiDialog( int dialogFace, const KGuiItem &user2,
const KGuiItem &user3=KGuiItem(), int buttonMask=User2, const KGuiItem &user3=KGuiItem(), int buttonMask=User2,
const TQString &caption=i18n("Configure"), TQWidget *parent=0, const TQString &caption=i18n("Configure"), TQWidget *parent=0,
const char *name=0, bool modal=false ) KDE_DEPRECATED; const char *name=0, bool modal=false ) TDE_DEPRECATED;
// KDE4 remove the user3 argument, and instead initialize it to KStdGuiItem::adminMode. // KDE4 remove the user3 argument, and instead initialize it to KStdGuiItem::adminMode.
/** /**

@ -176,7 +176,7 @@ public:
* @deprecated * @deprecated
* @return the isHiddenByDefault attribute. * @return the isHiddenByDefault attribute.
*/ */
bool isHiddenByDefault() const KDE_DEPRECATED; bool isHiddenByDefault() const TDE_DEPRECATED;
/** /**

@ -62,7 +62,7 @@ class TDEUTILS_EXPORT TDECModuleLoader
*/ */
static TDECModule *loadModule(const TDECModuleInfo &module, bool withFallback=true, static TDECModule *loadModule(const TDECModuleInfo &module, bool withFallback=true,
TQWidget * parent = 0, const char * name = 0, TQWidget * parent = 0, const char * name = 0,
const TQStringList & args = TQStringList() ) KDE_DEPRECATED; const TQStringList & args = TQStringList() ) TDE_DEPRECATED;
/** /**
* Loads a @ref TDECModule. If loading fails a zero pointer is returned. * Loads a @ref TDECModule. If loading fails a zero pointer is returned.
@ -76,7 +76,7 @@ class TDEUTILS_EXPORT TDECModuleLoader
* method * method
*/ */
static TDECModule *loadModule(const TQString &module, TQWidget *parent = 0, static TDECModule *loadModule(const TQString &module, TQWidget *parent = 0,
const char *name = 0, const TQStringList & args = TQStringList()) KDE_DEPRECATED; const char *name = 0, const TQStringList & args = TQStringList()) TDE_DEPRECATED;
/** /**
* Determines the way errors are reported * Determines the way errors are reported
@ -147,7 +147,7 @@ class TDEUTILS_EXPORT TDECModuleLoader
* @deprecated Use a constructor with ErrorReporting set to Dialog to show a * @deprecated Use a constructor with ErrorReporting set to Dialog to show a
* message box like this function did. * message box like this function did.
*/ */
static void showLastLoaderError(TQWidget *parent) KDE_DEPRECATED; static void showLastLoaderError(TQWidget *parent) TDE_DEPRECATED;
/** /**

Loading…
Cancel
Save