Commit de579d62 authored by hjk's avatar hjk
Browse files

Debugger: add entryList and entryInfoList to QDir dumper



Change-Id: If41dd33952844223788bf0bc54245732b229fe45
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 4c9f7dac
......@@ -233,8 +233,15 @@ def qdump__QDir(d, value):
d.putStringValue(data["dirEntry"]["m_filePath"])
if d.isExpanded():
with Children(d):
qdir = d.ns + "QDir::"
d.putCallItem("absolutePath", value, "absolutePath")
d.putCallItem("canonicalPath", value, "canonicalPath")
d.putSubItem("entryList", parseAndEvaluate(
"'%sentryList'(%s, %sNoFilter, %sNoSort)"
% (qdir, value.address, qdir, qdir)), False)
d.putSubItem("entryInfoList", parseAndEvaluate(
"'%sentryInfoList'(%s, %sNoFilter, %sNoSort)"
% (qdir, value.address, qdir, qdir)), False)
def qdump__QFile(d, value):
......
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