QTfrontend/ui/widget/SmartLineEdit.h
changeset 6205 7764cbe4ddd7
parent 6200 6a4ace88d85a
child 6616 f77bb02b669f
equal deleted inserted replaced
6204:80cd75daf80f 6205:7764cbe4ddd7
    42  *
    42  *
    43  * Notes:
    43  * Notes:
    44  * <ul>
    44  * <ul>
    45  *   <li>A Keyword can either be a command (if first word) or
    45  *   <li>A Keyword can either be a command (if first word) or
    46  *       a nickname (completed regardless of position in text).</li>
    46  *       a nickname (completed regardless of position in text).</li>
    47  *   <li>Public methods for accessing keywords are <b>thread-safe.</b></li>
       
    48  * </ul>
    47  * </ul>
    49  * 
    48  * 
    50  * @author sheepluva
    49  * @author sheepluva
    51  * @since 0.9.17
    50  * @since 0.9.17
    52  */
    51  */
   135     QString m_beforeMatch; ///< the string that was just matched
   134     QString m_beforeMatch; ///< the string that was just matched
   136     bool m_hasJustMatched; ///< whether this widget just did an auto-completion
   135     bool m_hasJustMatched; ///< whether this widget just did an auto-completion
   137     QString m_prefix; ///< prefix of the text replacement this widget just did
   136     QString m_prefix; ///< prefix of the text replacement this widget just did
   138     QString m_postfix; ///< postfix of the text replacement this widget just did
   137     QString m_postfix; ///< postfix of the text replacement this widget just did
   139 
   138 
   140     QMutex m_keywordMutex; ///< make keyword QStringList action thread-safe
       
   141 
       
   142     /**
   139     /**
   143      * @brief Autocompletes the contents based on the known commands and/or names.
   140      * @brief Autocompletes the contents based on the known commands and/or names.
   144      */
   141      */
   145     void autoComplete();
   142     void autoComplete();
   146 
   143