MCPcopy Create free account
hub / github.com/KDE/okular / toStringList

Method toStringList

part/pageviewannotator.cpp:907–920  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

905 }
906
907 QStringList toStringList()
908 {
909 QStringList tools;
910 QDomElement toolElement = m_toolsDefinition.documentElement().firstChildElement();
911 QString str;
912 QTextStream stream(&str);
913 while (!toolElement.isNull()) {
914 str.clear();
915 toolElement.save(stream, -1 /* indent disabled */);
916 tools << str;
917 toolElement = toolElement.nextSiblingElement();
918 }
919 return tools;
920 }
921
922 QDomElement tool(int toolId)
923 {

Callers 4

openDocumentMethod · 0.80
optionCupsPropertiesMethod · 0.80
addToQuickAnnotationsMethod · 0.80

Calls 3

isNullMethod · 0.45
clearMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected