diff options
author | jutaipal <juhani.taipale@digia.com> | 2012-10-09 10:25:52 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-14 01:41:49 (GMT) |
commit | 3fbc68b372741d04f477915bb09efbd2a277a570 (patch) | |
tree | 46cc2889800d5647a5b91a0b73a3a6267b2bd2ef /tools/qdoc3/doc/config/scripts | |
parent | c680ca946be60ce9c2629a3fef62c5a29407b355 (diff) | |
download | Qt-3fbc68b372741d04f477915bb09efbd2a277a570.zip Qt-3fbc68b372741d04f477915bb09efbd2a277a570.tar.gz Qt-3fbc68b372741d04f477915bb09efbd2a277a570.tar.bz2 |
More copyright changes to Digia Plc in translations and tools
Change-Id: Idb88b4e72548dfa641c6b8ce78a661fa61757ad0
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tools/qdoc3/doc/config/scripts')
-rw-r--r-- | tools/qdoc3/doc/config/scripts/functions.js | 6 | ||||
-rw-r--r-- | tools/qdoc3/doc/config/scripts/narrow.js | 134 |
2 files changed, 70 insertions, 70 deletions
diff --git a/tools/qdoc3/doc/config/scripts/functions.js b/tools/qdoc3/doc/config/scripts/functions.js index af204d8..c966e40 100644 --- a/tools/qdoc3/doc/config/scripts/functions.js +++ b/tools/qdoc3/doc/config/scripts/functions.js @@ -75,7 +75,7 @@ var qturl = ""; // Process data sent back from the server. The data is structured as a XML. /* -XML structure handled by function processNokiaData() +XML structure handled by function processDigiaData() <page> - container for each page returned <pageWords/> - contains keywords <pageTitle/> - contains page title/header content @@ -85,7 +85,7 @@ XML structure handled by function processNokiaData() */ -function processNokiaData(response){ +function processDigiaData(response){ /* fetch the responce from the server using page as the root element */ var propertyTags = response.getElementsByTagName('page'); /* reset counters */ @@ -238,7 +238,7 @@ function CheckEmptyAndLoadList() $('.searching').remove(); $('#pageType').removeClass('loading'); - processNokiaData(response); + processDigiaData(response); } }); diff --git a/tools/qdoc3/doc/config/scripts/narrow.js b/tools/qdoc3/doc/config/scripts/narrow.js index a5e8b97..7b48208 100644 --- a/tools/qdoc3/doc/config/scripts/narrow.js +++ b/tools/qdoc3/doc/config/scripts/narrow.js @@ -58,76 +58,76 @@ var narrowInit = function() { /* Executes on doc ready */ $(document).ready(function(){ - /* check if body has the narrow class */ - if ($('body').hasClass('narrow')) { - /* run narrowInit */ - narrowInit(); - } - - /* messure window width and add class if it is smaller than 600 px */ - if($(window).width()<600) { - $('body').addClass('narrow'); - /* if the search box contains */ - if ($("#narrowsearch").length == 0) { - /* run narrowInit */ - narrowInit(); - } - } - else { /* if the window is wider than 600 px, narrow is removed */ - $('body').removeClass('narrow'); - if ($("#narrowsearch").length == 0) { - } - } + /* check if body has the narrow class */ + if ($('body').hasClass('narrow')) { + /* run narrowInit */ + narrowInit(); + } + + /* messure window width and add class if it is smaller than 600 px */ + if ($(window).width()<600) { + $('body').addClass('narrow'); + /* if the search box contains */ + if ($("#narrowsearch").length == 0) { + /* run narrowInit */ + narrowInit(); + } + } + else { /* if the window is wider than 600 px, narrow is removed */ + $('body').removeClass('narrow'); + if ($("#narrowsearch").length == 0) { + } + } }); /* binding resize event to this funciton */ $(window).bind('resize', function () { - /* if the window is wider than 600 px, narrow class is added */ - if($(window).width()<600) { - $('body').addClass('narrow'); - if ($("#narrowsearch").length == 0) { - narrowInit(); - } - } - else { - /* else we remove the narrow class */ - $('body').removeClass('narrow'); - } + /* if the window is wider than 600 px, narrow class is added */ + if ($(window).width()<600) { + $('body').addClass('narrow'); + if ($("#narrowsearch").length == 0) { + narrowInit(); + } + } + else { + /* else we remove the narrow class */ + $('body').removeClass('narrow'); + } }); - $('#narrowsearch').keyup(function () { - /* extract the search box content */ - var searchString = $('#narrowsearch').val(); - /* if the string is less than three characters */ - if ((searchString == null) || (searchString.length < 3)) { - /* remove classes and elements*/ - $('#narrowsearch').removeClass('loading'); - $('.searching').remove(); - /* run CheckEmptyAndLoadList */ - CheckEmptyAndLoadList(); - - $('.report').remove(); - return; - } - /* if timer checks out */ - if (this.timer) clearTimeout(this.timer); - this.timer = setTimeout(function () { - /* add loading image by adding loading class */ - $('#narrowsearch').addClass('loading'); - $('.searching').remove(); + $('#narrowsearch').keyup(function () { + /* extract the search box content */ + var searchString = $('#narrowsearch').val(); + /* if the string is less than three characters */ + if ((searchString == null) || (searchString.length < 3)) { + /* remove classes and elements*/ + $('#narrowsearch').removeClass('loading'); + $('.searching').remove(); + /* run CheckEmptyAndLoadList */ + CheckEmptyAndLoadList(); + + $('.report').remove(); + return; + } + /* if timer checks out */ + if (this.timer) clearTimeout(this.timer); + this.timer = setTimeout(function () { + /* add loading image by adding loading class */ + $('#narrowsearch').addClass('loading'); + $('.searching').remove(); - /* run the actual search */ - $.ajax({ - contentType: "application/x-www-form-urlencoded", - url: 'http://' + location.host + '/nokiasearch/GetDataServlet', - data: 'searchString='+searchString, - dataType:'xml', - type: 'post', - success: function (response, textStatus) { - /* on success remove loading img */ - $('.searching').remove(); - $('#narrowsearch').removeClass('loading'); - processNokiaData(response); - } - }); - }, 500); /* timer set to 500 ms */ - });
\ No newline at end of file + /* run the actual search */ + $.ajax({ + contentType: "application/x-www-form-urlencoded", + url: 'http://' + location.host + '/nokiasearch/GetDataServlet', + data: 'searchString='+searchString, + dataType:'xml', + type: 'post', + success: function (response, textStatus) { + /* on success remove loading img */ + $('.searching').remove(); + $('#narrowsearch').removeClass('loading'); + processDigiaData(response); + } + }); + }, 500); /* timer set to 500 ms */ +}); |