Switch to side-by-side view

--- a/src/query/wasastringtoquery.h
+++ b/src/query/wasastringtoquery.h
@@ -1,6 +1,6 @@
 #ifndef _WASASTRINGTOQUERY_H_INCLUDED_
 #define _WASASTRINGTOQUERY_H_INCLUDED_
-/* @(#$Id: wasastringtoquery.h,v 1.3 2006-12-10 17:03:08 dockes Exp $  (C) 2006 J.F.Dockes */
+/* @(#$Id: wasastringtoquery.h,v 1.4 2007-01-17 13:53:41 dockes Exp $  (C) 2006 J.F.Dockes */
 /*
  *   This program is free software; you can redistribute it and/or modify
  *   it under the terms of the GNU General Public License as published by
@@ -40,23 +40,28 @@
     {}
     ~WasaQuery();
 
-    // Get string describing the query tree from this point
+    /** Get string describing the query tree from this point */
     void describe(string &desc) const;
 
+    /** Op to be performed on either value or subqueries */
     WasaQuery::Op      m_op;
+
+    /** Field specification if any (ie: title, author ...) */
     string             m_fieldspec;
-    /* Valid for op == OP_LEAF */
+
+    /* String value. Valid for op == OP_LEAF */
     string             m_value;
-    /* Valid for conjunctions */
+
+    /** Subqueries. Valid for conjunctions */
     vector<WasaQuery*> m_subs;
     
-    /* Restrict results to some file type, defined by either mime, app group, 
-     * or extension */
+    /** Restrict results to some file type, defined by either mime,
+     *  app group, or extension */
     enum TypeKind {WQTK_NONE, WQTK_MIME, WQTK_GROUP, WQTK_EXT};
     TypeKind           m_typeKind;
     vector<string>     m_types;
 
-    /* Sort on relevance, date, name or group */
+    /** Sort on relevance, date, name or group */
     enum SortKind {WQSK_REL, WQSK_DATE, WQSK_ALPHA, WQSK_GROUP};
     vector<SortKind>   m_sortSpec;
 };