~qqworini/aesydict/online-improve

« back to all changes in this revision

Viewing changes to src/dict.h

  • Committer: Joey Chan
  • Date: 2015-04-02 15:10:17 UTC
  • Revision ID: qqworini@gmail.com-20150402151017-50skhy76lhkj7xgx
c++ functions initially done

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
    D_ALL_METHOD_TEMPL(DictInfoType, infotype, DictInfoType_NormDict)
72
72
 
73
73
public slots:
74
 
    void search(const QString &word);      //search the words(return the QList) begin with the @word
 
74
    //search the words(return the QList) begin with the @word
 
75
    void search(const QString &word);
 
76
 
 
77
    // slot, get one word's detail
 
78
    void getWordDetail(const QString &dictName, const QString &word
 
79
                       , const qint32 &offset, const qint32 &size) ;
75
80
 
76
81
 
77
82
signals:
78
83
    void error_message(QString);                                                                    //error messages signals.
79
84
    void warning_message(QString);                                                              //warning messahes signals.
80
85
    void searchFinished(QString dictName, WordList wordList, bool status);
 
86
    void getWordDetailFinished(QJsonObject wordDetail);
81
87
 
82
88
private slots:
83
89
    void get_error(QString e)