Commit 5a386203 authored by Frerich Raabe's avatar Frerich Raabe
Browse files

- Use KDE_DEPRECATED

svn path=/trunk/kdelibs/; revision=246739
parent bb23753f
......@@ -31,6 +31,8 @@
#include <qcolor.h>
#include <kdemacros.h>
namespace DOM {
class CSSStyleDeclarationImpl;
......
......@@ -31,6 +31,7 @@
#define _DOM_Node_h_
#include <qstring.h>
#include <kdemacros.h>
class QRect;
......@@ -872,7 +873,7 @@ public:
/**
* @deprecated without substitution since 3.2
*/
void getCursor(int offset, int &_x, int &_y, int &height);
void getCursor(int offset, int &_x, int &_y, int &height) KDE_DEPRECATED;
/**
* not part of the DOM.
* @returns the exact coordinates and size of this element.
......
......@@ -34,6 +34,8 @@
#include <dom/html_element.h>
#include <dom/html_misc.h>
#include <kdemacros.h>
namespace DOM {
class HTMLButtonElementImpl;
......@@ -175,7 +177,7 @@ public:
/**
* @deprecated. ### KDE 4.0: remove.
*/
HTMLFormElement form() const;
HTMLFormElement form() const KDE_DEPRECATED;
};
// --------------------------------------------------------------------------
......@@ -377,7 +379,7 @@ public:
/**
* @deprecated. ### KDE 4.0: remove.
*/
HTMLFormElement form() const;
HTMLFormElement form() const KDE_DEPRECATED;
/**
* A comma-separated list of content types that a server
......@@ -511,12 +513,12 @@ public:
/**
* @deprecated
*/
DOMString size() const;
DOMString size() const KDE_DEPRECATED;
/**
* @deprecated
*/
void setSize( const DOMString & );
void setSize( const DOMString & ) KDE_DEPRECATED;
/**
* Size information. The precise meaning is specific to each type
......@@ -712,7 +714,7 @@ public:
/**
* @deprecated. ### KDE 4.0: remove
*/
HTMLFormElement form() const;
HTMLFormElement form() const KDE_DEPRECATED;
/**
* A single character access key to give access to the form
......@@ -861,7 +863,7 @@ public:
/**
* @deprecated. ### KDE 4.0: remove.
*/
HTMLFormElement form() const;
HTMLFormElement form() const KDE_DEPRECATED;
/**
* The collection of \c OPTION elements contained by
......@@ -1013,7 +1015,7 @@ public:
/**
* @deprecated. ### KDE 4.0: remove.
*/
HTMLFormElement form() const;
HTMLFormElement form() const KDE_DEPRECATED;
/**
* A single character access key to give access to the form
......@@ -1172,7 +1174,7 @@ public:
/**
* @deprecated. ### KDE 4.0: remove
*/
HTMLFormElement form() const;
HTMLFormElement form() const KDE_DEPRECATED;
/**
* Stores the initial value of the \c selected
......@@ -1292,7 +1294,7 @@ public:
/**
* @deprecated: ### KDE 4.0: remove
*/
HTMLFormElement form() const;
HTMLFormElement form() const KDE_DEPRECATED;
/**
* The prompt message. See the <a
......
......@@ -31,6 +31,8 @@
#include <dom/html_element.h>
#include <kdemacros.h>
namespace DOM {
class HTMLAreaElementImpl;
......@@ -254,12 +256,12 @@ public:
/**
* @deprecated
*/
long border() const;
long border() const KDE_DEPRECATED;
/**
* @deprecated
*/
void setBorder( long );
void setBorder( long ) KDE_DEPRECATED;
/**
* Override height. See the <a
......
......@@ -30,6 +30,7 @@
#define HTML_MISC_H
#include <dom/html_element.h>
#include <kdemacros.h>
namespace DOM {
......@@ -104,12 +105,12 @@ public:
/**
* @deprecated
*/
DOMString size() const;
DOMString size() const KDE_DEPRECATED;
/**
* @deprecated
*/
void setSize( const DOMString & );
void setSize( const DOMString & ) KDE_DEPRECATED;
};
// --------------------------------------------------------------------------
......
......@@ -35,6 +35,7 @@
#include <dom/html_element.h>
#include <dom/html_form.h>
#include <kdemacros.h>
namespace DOM {
......@@ -167,12 +168,12 @@ public:
/**
* @deprecated
*/
DOMString hspace() const;
DOMString hspace() const KDE_DEPRECATED;
/**
* @deprecated
*/
void setHspace( const DOMString & );
void setHspace( const DOMString & ) KDE_DEPRECATED;
/**
* The name of the applet. See the <a
......@@ -220,12 +221,12 @@ public:
/**
* @deprecated
*/
DOMString vspace() const;
DOMString vspace() const KDE_DEPRECATED;
/**
* @deprecated
*/
void setVspace( const DOMString & );
void setVspace( const DOMString & ) KDE_DEPRECATED;
/**
* Override width. See the <a
......@@ -419,12 +420,12 @@ public:
/**
* @deprecated
*/
DOMString hspace() const;
DOMString hspace() const KDE_DEPRECATED;
/**
* @deprecated
*/
void setHspace( const DOMString & );
void setHspace( const DOMString & ) KDE_DEPRECATED;
/**
* Form control or object name when submitted with a form. See the
......@@ -512,12 +513,12 @@ public:
/**
* @deprecated
*/
DOMString vspace() const;
DOMString vspace() const KDE_DEPRECATED;
/**
* @deprecated
*/
void setVspace( const DOMString & );
void setVspace( const DOMString & ) KDE_DEPRECATED;
/**
* Override width. See the <a
......
......@@ -31,6 +31,7 @@
#include <kparts/part.h>
#include <kparts/browserextension.h>
#include <kdemacros.h>
#include <qregexp.h>
......@@ -927,7 +928,7 @@ public slots:
* and the code returned true itself or @p false otherwise.
* @deprecated, use the one below.
*/
QVariant executeScript( const QString &script );
QVariant executeScript( const QString &script ) KDE_DEPRECATED;
/**
* Enables/disables caret mode.
......
......@@ -30,6 +30,7 @@
#include "ustring.h"
#include "simple_number.h"
#include <kjs/global.h>
#include <kdemacros.h>
// Primitive data types
......@@ -185,7 +186,7 @@ namespace KJS {
* @deprecated
* Use !isValid() instead.
*/
bool isNull() const { return rep == 0; }
KDE_DEPRECATED bool isNull() const { return rep == 0; }
ValueImp *imp() const { return rep; }
/**
......
......@@ -25,6 +25,7 @@
#define KCMODULEINFO_H
#include <kservice.h>
#include <kdemacros.h>
class QPixmap;
class QString;
......@@ -133,7 +134,7 @@ public:
* @deprecated
* @return the isHiddenByDefault attribute.
*/
bool isHiddenByDefault() const;
bool isHiddenByDefault() const KDE_DEPRECATED;
QCString moduleId() const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment