Logo Search packages:      
Sourcecode: katalog version File versions  Download package

KatalogUDSEntry Katalog::findEntry ( QStringList &  fullPath  )  const

Get the given entry

Definition at line 348 of file katalog.cpp.

References findNode(), and m_rootElement.

{
  QDomNode node = findNode(path);
  if(node == m_rootElement)
  {
    KatalogUDSEntry entry;
    KatalogUDSAtom atom;
    atom.m_uds = UDS_FILE_TYPE;
    atom.m_long = S_IFDIR;
    entry.append( atom );
    return entry;
  }
  
  if(node.isNull()){
    KatalogUDSEntry entry;
    entry.clear();
    return entry;
  }
  
  return createUDSEntry(node.toElement());
}


Generated by  Doxygen 1.6.0   Back to index