Commit 7e91d11f authored by Maks Orlovich's avatar Maks Orlovich

The old hashes got obsoleted by IDString a while back. So clean them up,

and remove a whole lot of includes.

svn path=/trunk/KDE/kdelibs/; revision=1138756
parent 4a4becd3
......@@ -202,7 +202,6 @@ set(khtmldom_STAT_SRCS
set(khtmlmisc_STAT_SRCS
${CMAKE_SOURCE_DIR}/khtml/misc/loader.cpp
#${CMAKE_SOURCE_DIR}/khtml/misc/htmlhashes.cpp
${CMAKE_SOURCE_DIR}/khtml/misc/helper.cpp
${CMAKE_SOURCE_DIR}/khtml/misc/arena.cpp
${CMAKE_SOURCE_DIR}/khtml/misc/stringit.cpp
......
......@@ -37,7 +37,6 @@
#include "css_stylesheetimpl.h"
#include <xml/dom_docimpl.h>
#include <misc/htmlhashes.h>
#include "css_valueimpl.h"
using namespace DOM;
......
......@@ -31,9 +31,6 @@
#include <dom/dom_exception.h>
#include <dom/dom_string.h>
#include <misc/loader.h>
#include <misc/htmltags.h>
#include <misc/htmlattrs.h>
#include <xml/dom_docimpl.h>
using namespace DOM;
......
......@@ -49,7 +49,6 @@ using namespace DOM;
#include "misc/khtmllayout.h"
#include "khtml_settings.h"
#include "misc/htmlhashes.h"
#include "misc/helper.h"
#include "misc/loader.h"
......
......@@ -110,7 +110,6 @@
#include <css/css_stylesheetimpl.h>
#include <css/css_valueimpl.h>
#include <css/css_mediaquery.h>
#include <misc/htmlhashes.h>
#include "cssparser.h"
......
......@@ -30,7 +30,6 @@
#include "html/html_headimpl.h"
#include "css/css_stylesheetimpl.h"
#include "misc/htmlhashes.h"
#include <stdio.h>
......
......@@ -24,7 +24,6 @@
#include "dom_doc.h"
#include <xml/dom_docimpl.h>
#include <html/html_baseimpl.h>
#include <misc/htmlhashes.h>
using namespace DOM;
......
......@@ -30,8 +30,6 @@
using namespace DOM;
#include "misc/htmlhashes.h"
HTMLBlockquoteElement::HTMLBlockquoteElement()
: HTMLElement()
{
......
......@@ -28,7 +28,6 @@
#include "xml/dom_textimpl.h"
#include "html/html_documentimpl.h"
#include "html/html_miscimpl.h"
#include "misc/htmlhashes.h"
using namespace DOM;
......
......@@ -24,8 +24,6 @@
#include "css/css_base.h"
#include "html/html_miscimpl.h" // HTMLCollectionImpl
#include "misc/htmlhashes.h"
using namespace DOM;
HTMLElement::HTMLElement() : Element()
......
......@@ -29,7 +29,6 @@
#include "html/html_miscimpl.h"
#include "xml/dom_docimpl.h"
#include "misc/htmlhashes.h"
using namespace DOM;
......
......@@ -23,7 +23,6 @@
#include "dom/html_head.h"
#include "html/html_headimpl.h"
#include "misc/htmlhashes.h"
#include "xml/dom_docimpl.h"
using namespace DOM;
......
......@@ -27,7 +27,6 @@
#include <html/html_imageimpl.h>
#include <html/html_miscimpl.h>
#include <misc/htmlhashes.h>
#include <xml/dom_docimpl.h>
using namespace DOM;
......
......@@ -28,7 +28,6 @@
#include <html/html_inlineimpl.h>
#include <html/html_baseimpl.h>
#include <xml/dom_docimpl.h>
#include <misc/htmlhashes.h>
using namespace DOM;
......
......@@ -23,7 +23,6 @@
#include "dom/html_list.h"
#include "html/html_listimpl.h"
#include "misc/htmlhashes.h"
using namespace DOM;
......
......@@ -23,7 +23,6 @@
#include "dom/html_misc.h"
#include "html/html_miscimpl.h"
#include "misc/htmlhashes.h"
using namespace DOM;
......
......@@ -24,7 +24,6 @@
#include "dom_doc.h"
#include <html/html_objectimpl.h>
#include <misc/htmlhashes.h>
using namespace DOM;
......
......@@ -27,7 +27,6 @@
#include <html/html_miscimpl.h>
#include <html/html_tableimpl.h>
#include <misc/htmlhashes.h>
using namespace DOM;
......
......@@ -36,8 +36,6 @@
#include "css/css_valueimpl.h"
#include "css/cssproperties.h"
#include "misc/htmltags.h"
#include "kjs_dom.h"
using DOM::CSSCharsetRuleImpl;
......
......@@ -30,8 +30,6 @@
#include <xml/dom_nodeimpl.h>
#include <xml/dom_docimpl.h>
#include <xml/dom3_xpathimpl.h>
#include <misc/htmltags.h> // ID_*
#include <misc/htmlattrs.h> // ATTR_*
#include <html/html_baseimpl.h>
#include <html/html_documentimpl.h>
#include <html/html_miscimpl.h>
......
......@@ -54,8 +54,6 @@
#include "kjs_context2d.h"
#include <kjs/PropertyNameArray.h>
#include <misc/htmltags.h>
#include <misc/htmlattrs.h>
#include <rendering/render_object.h>
#include <rendering/render_canvas.h>
#include <rendering/render_frames.h>
......
......@@ -29,7 +29,6 @@
#include <xml/dom2_eventsimpl.h>
#include <xml/dom_docimpl.h>
#include <dom/html_document.h>
#include <misc/htmltags.h>
#include <html/html_documentimpl.h>
#include <rendering/render_frames.h>
......
......@@ -25,7 +25,6 @@
#include "css/css_renderstyledeclarationimpl.h"
#include "css/css_valueimpl.h"
#include "misc/htmlattrs.h"
#include "xml/dom_selection.h"
#include "xml/dom_docimpl.h"
#include "xml/dom_elementimpl.h"
......
......@@ -31,8 +31,6 @@
#include "dom/css_value.h"
#include "html/html_elementimpl.h"
#include "html/html_imageimpl.h"
#include "misc/htmlattrs.h"
#include "misc/htmltags.h"
#include "rendering/render_object.h"
#include "rendering/render_style.h"
#include "rendering/render_text.h"
......
......@@ -24,7 +24,6 @@
*/
#include "HTMLAudioElement.h"
#include <misc/htmltags.h>
namespace khtml {
......
......@@ -31,7 +31,6 @@
#include "html_element.h"
#include "HTMLSourceElement.h"
#include "HTMLDocument.h"
#include <misc/htmlhashes.h>
#include "MediaError.h"
#include "TimeRanges.h"
#include "css/cssstyleselector.h"
......
......@@ -25,7 +25,6 @@
#include "HTMLSourceElement.h"
#include "HTMLDocument.h"
#include <misc/htmlhashes.h>
namespace khtml {
......
......@@ -26,7 +26,6 @@
#include "HTMLVideoElement.h"
#include "HTMLDocument.h"
#include <misc/htmlhashes.h>
#include <rendering/render_media.h>
namespace khtml {
......
......@@ -37,7 +37,6 @@
#include "css/cssvalues.h"
#include "css/csshelper.h"
#include "misc/loader.h"
#include "misc/htmlhashes.h"
#include "dom/dom_string.h"
#include "dom/dom_doc.h"
#include "xml/dom2_eventsimpl.h"
......
......@@ -30,7 +30,6 @@
#include "css/cssproperties.h"
#include "css/cssvalues.h"
#include "misc/htmlhashes.h"
#include <kdebug.h>
......
......@@ -64,8 +64,6 @@
#include <xml/dom2_eventsimpl.h>
#include <html/html_imageimpl.h>
#include <misc/helper.h> // for colorFromCSSValue
#include <misc/htmltags.h>
#include <misc/htmlattrs.h>
#include <misc/translator.h>
#include <misc/imagefilter.h>
#include <imload/canvasimage.h>
......
......@@ -33,8 +33,6 @@
#include "khtml_part.h"
#include "khtmlpart_p.h"
#include "khtml_settings.h"
#include "misc/htmlattrs.h"
#include "misc/htmlhashes.h"
#include "xml/xml_tokenizer.h"
#include "xml/dom2_eventsimpl.h"
......
......@@ -35,8 +35,6 @@
#include "html_documentimpl.h"
#include "htmltokenizer.h"
#include <misc/htmlhashes.h>
#include <khtmlview.h>
#include <khtml_part.h>
......
......@@ -32,7 +32,6 @@
#include "khtml_part.h"
#include "html/html_documentimpl.h"
#include "khtml_settings.h"
#include "misc/htmlhashes.h"
#include "css/cssstyleselector.h"
#include "css/cssproperties.h"
......
......@@ -31,7 +31,6 @@
#include "khtmlview.h"
#include "khtml_part.h"
#include "misc/htmlhashes.h"
#include "misc/loader.h"
#include "misc/helper.h"
......
......@@ -24,7 +24,6 @@
#include "html/html_formimpl.h"
#include "html/html_documentimpl.h"
#include "misc/htmlhashes.h"
#include "khtmlview.h"
#include "khtml_part.h"
......
......@@ -28,7 +28,6 @@
#include "html/html_imageimpl.h"
#include "html/html_documentimpl.h"
#include "misc/htmlhashes.h"
#include "khtmlview.h"
#include "khtml_part.h"
#include "css/csshelper.h"
......
......@@ -27,7 +27,6 @@ using namespace DOM;
#include "css/cssproperties.h"
#include "css/cssvalues.h"
#include "rendering/render_list.h"
#include "misc/htmlhashes.h"
#include "xml/dom_docimpl.h"
using namespace khtml;
......
......@@ -27,7 +27,6 @@
#include "html_formimpl.h"
#include "html_documentimpl.h"
#include <misc/htmlhashes.h>
#include <dom/dom_node.h>
using namespace DOM;
......
......@@ -25,7 +25,6 @@
#include "khtml_part.h"
#include "dom/dom_string.h"
#include "misc/htmlhashes.h"
#include "imload/imagemanager.h"
#include "khtmlview.h"
#include <QtCore/QCharRef>
......
......@@ -32,7 +32,6 @@
#include <dom/dom_exception.h>
#include <dom/dom_node.h>
#include <misc/htmlhashes.h>
#include <khtmlview.h>
#include <khtml_part.h>
......
......@@ -27,7 +27,6 @@
#ifndef HTML_TABLEIMPL_H
#define HTML_TABLEIMPL_H
#include "misc/htmltags.h"
#include "html/html_elementimpl.h"
namespace DOM {
......
......@@ -49,7 +49,6 @@
#include <html/HTMLSourceElement.h>
#include <xml/dom_textimpl.h>
#include <xml/dom_nodeimpl.h>
#include <misc/htmlhashes.h>
#include <html/htmltokenizer.h>
#include <khtmlview.h>
#include <khtml_part.h>
......
......@@ -36,7 +36,6 @@
#include "dtd.h"
#include <misc/loader.h>
#include <misc/htmlhashes.h>
#include <khtmlview.h>
#include <khtml_part.h>
#include <xml/dom_docimpl.h>
......
......@@ -34,7 +34,6 @@
#include <QtCore/QTime>
#include "misc/loader_client.h"
#include "misc/htmltags.h"
#include "misc/stringit.h"
#include "xml/dom_stringimpl.h"
#include "xml/xml_tokenizer.h"
......
......@@ -56,7 +56,6 @@
#include "xml/dom2_eventsimpl.h"
#include "css/cssstyleselector.h"
#include "css/csshelper.h"
#include "misc/htmlhashes.h"
#include "misc/helper.h"
#include "misc/loader.h"
#include "khtml_settings.h"
......
This diff is collapsed.
/* This file is automatically generated from
htmlattrs.in by makeattrs, do not edit */
/* Copyright 1999 Lars Knoll */
#if 0
#ifndef HTML_ATTRS_H
#define HTML_ATTRS_H
#include "dom/dom_string.h"
#include <kdemacros.h>
using namespace DOM;
#define ATTR_ACCEPT_CHARSET 1
#define ATTR_ACCEPT 2
#define ATTR_ACCESSKEY 3
#define ATTR_ALIGN 4
#define ATTR_ALINK 5
#define ATTR_AUTOCOMPLETE 6
#define ATTR_AUTOPLAY 7
#define ATTR_AXIS 8
#define ATTR_BEHAVIOR 9
#define ATTR_BGCOLOR 10
#define ATTR_BGPROPERTIES 11
#define ATTR_BORDER 12
#define ATTR_BORDERCOLOR 13
#define ATTR_CELLPADDING 14
#define ATTR_CELLSPACING 15
#define ATTR_CHAR 16
#define ATTR_CHALLENGE 17
#define ATTR_CHAROFF 18
#define ATTR_CHARSET 19
#define ATTR_CHECKED 20
#define ATTR_CLEAR 21
#define ATTR_CODETYPE 22
#define ATTR_COLOR 23
#define ATTR_COLS 24
#define ATTR_COLSPAN 25
#define ATTR_COMPACT 26
#define ATTR_CONTENTEDITABLE 27
#define ATTR_CONTROLS 28
#define ATTR_COORDS 29
#define ATTR_DECLARE 30
#define ATTR_DEFER 31
#define ATTR_DIR 32
#define ATTR_DIRECTION 33
#define ATTR_DISABLED 34
#define ATTR_ENCTYPE 35
#define ATTR_END 36
#define ATTR_FACE 37
#define ATTR_FRAME 38
#define ATTR_FRAMEBORDER 39
#define ATTR_HEIGHT 40
#define ATTR_HIDDEN 41
#define ATTR_HREFLANG 42
#define ATTR_HSPACE 43
#define ATTR_HTML 44
#define ATTR_HTTP_EQUIV 45
#define ATTR_ISMAP 46
#define ATTR_LANG 47
#define ATTR_LANGUAGE 48
#define ATTR_LEFT 49
#define ATTR_LEFTMARGIN 50
#define ATTR_LINK 51
#define ATTR_LOOP 52
#define ATTR_LOOPEND 53
#define ATTR_LOOPSTART 54
#define ATTR_MARGINHEIGHT 55
#define ATTR_MARGINWIDTH 56
#define ATTR_MAXLENGTH 57
#define ATTR_MEDIA 58
#define ATTR_METHOD 59
#define ATTR_MULTIPLE 60
#define ATTR_NOHREF 61
#define ATTR_NORESIZE 62
#define ATTR_NOSAVE 63
#define ATTR_NOSHADE 64
#define ATTR_NOWRAP 65
#define ATTR_ONABORT 66
#define ATTR_ONERROR 67
#define ATTR_ONRESIZE 68
#define ATTR_OVERSRC 69
#define ATTR_PAGEX 70
#define ATTR_PAGEY 71
#define ATTR_PLAIN 72
#define ATTR_PLAYCOUNT 73
#define ATTR_PLUGINPAGE 74
#define ATTR_PLUGINSPAGE 75
#define ATTR_PLUGINURL 76
#define ATTR_POSTER 77
#define ATTR_READONLY 78
#define ATTR_REL 79
#define ATTR_REV 80
#define ATTR_ROWS 81
#define ATTR_ROWSPAN 82
#define ATTR_RULES 83
#define ATTR_SCOPE 84
#define ATTR_SCROLLAMOUNT 85
#define ATTR_SCROLLDELAY 86
#define ATTR_SCROLLING 87
#define ATTR_SELECTED 88
#define ATTR_SHAPE 89
#define ATTR_SIZE 90
#define ATTR_SPAN 91
#define ATTR_START 92
#define ATTR_STYLE 93
#define ATTR_TABINDEX 94
#define ATTR_TARGET 95
#define ATTR_TEXT 96
#define ATTR_TOP 97
#define ATTR_TOPMARGIN 98
#define ATTR_TRUESPEED 99
#define ATTR_TYPE 100
#define ATTR_UNKNOWN 101
#define ATTR_VALIGN 102
#define ATTR_VALUETYPE 103
#define ATTR_VERSION 104
#define ATTR_VISIBILITY 105
#define ATTR_VLINK 106
#define ATTR_VSPACE 107
#define ATTR_WIDTH 108
#define ATTR_WRAP 109
#define ATTR_Z_INDEX 110
#define ATTR_ABBR 111
#define ATTR_ACTION 112
#define ATTR_ALT 113
#define ATTR_ARCHIVE 114
#define ATTR_BACKGROUND 115
#define ATTR_CITE 116
#define ATTR_CLASS 117
#define ATTR_CLASSID 118
#define ATTR_CODE 119
#define ATTR_CODEBASE 120
#define ATTR_CONTENT 121
#define ATTR_DATA 122
#define ATTR_DATETIME 123
#define ATTR_FOR 124
#define ATTR_HEADERS 125
#define ATTR_HREF 126
#define ATTR_ID 127
#define ATTR_LABEL 128
#define ATTR_LONGDESC 129
#define ATTR_NAME 130
#define ATTR_OBJECT 131
#define ATTR_ONBLUR 132
#define ATTR_ONCHANGE 133
#define ATTR_ONCLICK 134
#define ATTR_ONDBLCLICK 135
#define ATTR_ONFOCUS 136
#define ATTR_ONKEYDOWN 137
#define ATTR_ONKEYPRESS 138
#define ATTR_ONKEYUP 139
#define ATTR_ONLOAD 140
#define ATTR_ONMOUSEDOWN 141
#define ATTR_ONMOUSEMOVE 142
#define ATTR_ONMOUSEOUT 143
#define ATTR_ONMOUSEOVER 144
#define ATTR_ONMOUSEUP 145
#define ATTR_ONRESET 146
#define ATTR_ONSELECT 147
#define ATTR_ONSCROLL 148
#define ATTR_ONSUBMIT 149
#define ATTR_ONUNLOAD 150
#define ATTR_PROFILE 151
#define ATTR_PROMPT 152
#define ATTR_SCHEME 153
#define ATTR_SRC 154
#define ATTR_STANDBY 155
#define ATTR_SUMMARY 156
#define ATTR_TITLE 157
#define ATTR_USEMAP 158
#define ATTR_VALUE 159
#define ATTR_LAST_ATTR 159
#define ATTR_LAST_CI_ATTR 110
const char* getAttrName(unsigned short id) KDE_NO_EXPORT;
#endif
#endif
/*
This file is part of the KDE libraries
Copyright (C) 1999 Lars Knoll (knoll@mpi-hd.mpg.de)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "htmlhashes.h"
#include "htmltags.c"
#include "htmlattrs.c"
#include <kglobal.h>