123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- var NAVTREE =
- [
- [ "QBluetoothZero", "index.html", [
- [ "Class List", "annotated.html", [
- [ "QBtAddress", "class_q_bt_address.html", null ],
- [ "QBtConstants", "class_q_bt_constants.html", null ],
- [ "QBtDevice", "class_q_bt_device.html", null ],
- [ "QBtDeviceDiscoverer", "class_q_bt_device_discoverer.html", null ],
- [ "QBtLocalDevice", "class_q_bt_local_device.html", null ],
- [ "QBtObjectExchangeClient", "class_q_bt_object_exchange_client.html", null ],
- [ "QBtObjectExchangeServer", "class_q_bt_object_exchange_server.html", null ],
- [ "QBtRemoteFileInfo", "class_q_bt_remote_file_info.html", null ],
- [ "QBtSerialPortClient", "class_q_bt_serial_port_client.html", null ],
- [ "QBtSerialPortServer", "class_q_bt_serial_port_server.html", null ],
- [ "QBtService", "class_q_bt_service.html", null ],
- [ "QBtServiceAdvertiser", "class_q_bt_service_advertiser.html", null ],
- [ "QBtServiceDiscoverer", "class_q_bt_service_discoverer.html", null ],
- [ "QBtServiceDiscovererForAll", "class_q_bt_service_discoverer_for_all.html", null ],
- [ "QBtSingleDeviceSelectorUI", "class_q_bt_single_device_selector_u_i.html", null ],
- [ "QBtUuid", "class_q_bt_uuid.html", null ]
- ] ],
- [ "Class Index", "classes.html", null ],
- [ "Class Members", "functions.html", null ],
- [ "Namespace List", "namespaces.html", [
- [ "QBluetooth", "namespace_q_bluetooth.html", null ]
- ] ],
- [ "File List", "files.html", [
- [ "QBluetoothZero.h", "_q_bluetooth_zero_8h.html", null ],
- [ "QBtAddress.h", "_q_bt_address_8h.html", null ],
- [ "QBtAuxFunctions.h", "_q_bt_aux_functions_8h.html", null ],
- [ "QBtConstants.h", "_q_bt_constants_8h.html", null ],
- [ "QBtDevice.h", "_q_bt_device_8h.html", null ],
- [ "QBtDeviceDiscoverer.h", "_q_bt_device_discoverer_8h.html", null ],
- [ "QBtGlobal.h", "_q_bt_global_8h.html", null ],
- [ "QBtLocalDevice.h", "_q_bt_local_device_8h.html", null ],
- [ "QBtObjectExchangeClient.h", "_q_bt_object_exchange_client_8h.html", null ],
- [ "QBtObjectExchangeServer.h", "_q_bt_object_exchange_server_8h.html", null ],
- [ "QBtRemoteFileInfo.h", "_q_bt_remote_file_info_8h.html", null ],
- [ "QBtSerialPortClient.h", "_q_bt_serial_port_client_8h.html", null ],
- [ "QBtSerialPortServer.h", "_q_bt_serial_port_server_8h.html", null ],
- [ "QBtService.h", "_q_bt_service_8h.html", null ],
- [ "QBtServiceAdvertiser.h", "_q_bt_service_advertiser_8h.html", null ],
- [ "QBtServiceDiscoverer.h", "_q_bt_service_discoverer_8h.html", null ],
- [ "QBtServiceDiscovererForAll.h", "_q_bt_service_discoverer_for_all_8h.html", null ],
- [ "QBtSingleDeviceSelectorUI.h", "_q_bt_single_device_selector_u_i_8h.html", null ],
- [ "QBtTypes.h", "_q_bt_types_8h.html", null ],
- [ "QBtUuid.h", "_q_bt_uuid_8h.html", null ]
- ] ],
- [ "File Members", "globals.html", null ]
- ] ]
- ];
- function createIndent(o,domNode,node,level)
- {
- if (node.parentNode && node.parentNode.parentNode)
- {
- createIndent(o,domNode,node.parentNode,level+1);
- }
- var imgNode = document.createElement("img");
- if (level==0 && node.childrenData)
- {
- node.plus_img = imgNode;
- node.expandToggle = document.createElement("a");
- node.expandToggle.href = "javascript:void(0)";
- node.expandToggle.onclick = function()
- {
- if (node.expanded)
- {
- $(node.getChildrenUL()).slideUp("fast");
- if (node.isLast)
- {
- node.plus_img.src = node.relpath+"ftv2plastnode.png";
- }
- else
- {
- node.plus_img.src = node.relpath+"ftv2pnode.png";
- }
- node.expanded = false;
- }
- else
- {
- expandNode(o, node, false);
- }
- }
- node.expandToggle.appendChild(imgNode);
- domNode.appendChild(node.expandToggle);
- }
- else
- {
- domNode.appendChild(imgNode);
- }
- if (level==0)
- {
- if (node.isLast)
- {
- if (node.childrenData)
- {
- imgNode.src = node.relpath+"ftv2plastnode.png";
- }
- else
- {
- imgNode.src = node.relpath+"ftv2lastnode.png";
- domNode.appendChild(imgNode);
- }
- }
- else
- {
- if (node.childrenData)
- {
- imgNode.src = node.relpath+"ftv2pnode.png";
- }
- else
- {
- imgNode.src = node.relpath+"ftv2node.png";
- domNode.appendChild(imgNode);
- }
- }
- }
- else
- {
- if (node.isLast)
- {
- imgNode.src = node.relpath+"ftv2blank.png";
- }
- else
- {
- imgNode.src = node.relpath+"ftv2vertline.png";
- }
- }
- imgNode.border = "0";
- }
- function newNode(o, po, text, link, childrenData, lastNode)
- {
- var node = new Object();
- node.children = Array();
- node.childrenData = childrenData;
- node.depth = po.depth + 1;
- node.relpath = po.relpath;
- node.isLast = lastNode;
- node.li = document.createElement("li");
- po.getChildrenUL().appendChild(node.li);
- node.parentNode = po;
- node.itemDiv = document.createElement("div");
- node.itemDiv.className = "item";
- node.labelSpan = document.createElement("span");
- node.labelSpan.className = "label";
- createIndent(o,node.itemDiv,node,0);
- node.itemDiv.appendChild(node.labelSpan);
- node.li.appendChild(node.itemDiv);
- var a = document.createElement("a");
- node.labelSpan.appendChild(a);
- node.label = document.createTextNode(text);
- a.appendChild(node.label);
- if (link)
- {
- a.href = node.relpath+link;
- }
- else
- {
- if (childrenData != null)
- {
- a.className = "nolink";
- a.href = "javascript:void(0)";
- a.onclick = node.expandToggle.onclick;
- node.expanded = false;
- }
- }
- node.childrenUL = null;
- node.getChildrenUL = function()
- {
- if (!node.childrenUL)
- {
- node.childrenUL = document.createElement("ul");
- node.childrenUL.className = "children_ul";
- node.childrenUL.style.display = "none";
- node.li.appendChild(node.childrenUL);
- }
- return node.childrenUL;
- };
- return node;
- }
- function showRoot()
- {
- var headerHeight = $("#top").height();
- var footerHeight = $("#nav-path").height();
- var windowHeight = $(window).height() - headerHeight - footerHeight;
- navtree.scrollTo('#selected',0,{offset:-windowHeight/2});
- }
- function expandNode(o, node, imm)
- {
- if (node.childrenData && !node.expanded)
- {
- if (!node.childrenVisited)
- {
- getNode(o, node);
- }
- if (imm)
- {
- $(node.getChildrenUL()).show();
- }
- else
- {
- $(node.getChildrenUL()).slideDown("fast",showRoot);
- }
- if (node.isLast)
- {
- node.plus_img.src = node.relpath+"ftv2mlastnode.png";
- }
- else
- {
- node.plus_img.src = node.relpath+"ftv2mnode.png";
- }
- node.expanded = true;
- }
- }
- function getNode(o, po)
- {
- po.childrenVisited = true;
- var l = po.childrenData.length-1;
- for (var i in po.childrenData)
- {
- var nodeData = po.childrenData[i];
- po.children[i] = newNode(o, po, nodeData[0], nodeData[1], nodeData[2],
- i==l);
- }
- }
- function findNavTreePage(url, data)
- {
- var nodes = data;
- var result = null;
- for (var i in nodes)
- {
- var d = nodes[i];
- if (d[1] == url)
- {
- return new Array(i);
- }
- else if (d[2] != null) // array of children
- {
- result = findNavTreePage(url, d[2]);
- if (result != null)
- {
- return (new Array(i).concat(result));
- }
- }
- }
- return null;
- }
- function initNavTree(toroot,relpath)
- {
- var o = new Object();
- o.toroot = toroot;
- o.node = new Object();
- o.node.li = document.getElementById("nav-tree-contents");
- o.node.childrenData = NAVTREE;
- o.node.children = new Array();
- o.node.childrenUL = document.createElement("ul");
- o.node.getChildrenUL = function() { return o.node.childrenUL; };
- o.node.li.appendChild(o.node.childrenUL);
- o.node.depth = 0;
- o.node.relpath = relpath;
- getNode(o, o.node);
- o.breadcrumbs = findNavTreePage(toroot, NAVTREE);
- if (o.breadcrumbs == null)
- {
- o.breadcrumbs = findNavTreePage("index.html",NAVTREE);
- }
- if (o.breadcrumbs != null && o.breadcrumbs.length>0)
- {
- var p = o.node;
- for (var i in o.breadcrumbs)
- {
- var j = o.breadcrumbs[i];
- p = p.children[j];
- expandNode(o,p,true);
- }
- p.itemDiv.className = p.itemDiv.className + " selected";
- p.itemDiv.id = "selected";
- $(window).load(showRoot);
- }
- }
|