#include <AIMLEngine.h>
| Public Slots | |
| void | addDirectory (const QString &directoryName) | 
| Add a AIML directory filled with AIML files all ending in the extension ".AIML" to the AIML engine. | |
| void | addFile (const QString &fileName) | 
| Add a AIML file to the AIML engine. | |
| void | clearAIML () | 
| Deletes the AIML engine. | |
| void | userInput (const QString &text) | 
| This accepts all user input to the AIML engine. | |
| Signals | |
| void | addBotName (const QString &text) | 
| Emit the name of the bot for anyone who is listening and interested. | |
| void | addBotText (const QString &text) | 
| Emit to anyone listening that we have text from the bot for them to add. | |
| void | addText (const QString &text) | 
| Emit to anyone listening that we have text for them to add. | |
| void | doneLoading () | 
| Emit that a AIML set of files is done loading. | |
| void | loading () | 
| Emit that a AIML set of files is loading. | |
| Public Member Functions | |
| AIMLEngine () | |
| Default constructor. | |
| void | initAIML () | 
| Initalize the AIML engine. | |
| Private Attributes | |
| AimlFacade * | m_aiml | 
| This is responsible for memory management of the AIMLEngine GraphBuilder. | |
| QtGuiCallBacks | m_callback | 
| This is for the call backs on the AIML engine. | |
| 
 | 
| Default constructor. Initalizes the AIML engine pointer to zero and hooks up the QtGuiCallBacks::addText() signal to this classes signal, AIMLEngine::addText(). Now when the QtGuiCallBacks emits a QtGuiCallBacks::addText(), this class will also. | 
| 
 | 
| Emit the name of the bot for anyone who is listening and interested. 
 
 | 
| 
 | 
| Emit to anyone listening that we have text from the bot for them to add. 
 
 | 
| 
 | 
| Add a AIML directory filled with AIML files all ending in the extension ".AIML" to the AIML engine. 
 
 | 
| 
 | 
| Add a AIML file to the AIML engine. 
 
 | 
| 
 | 
| Emit to anyone listening that we have text for them to add. 
 
 | 
| 
 | 
| Deletes the AIML engine. 
 | 
| 
 | 
| Emit that a AIML set of files is done loading. 
 | 
| 
 | 
| Initalize the AIML engine. 
 | 
| 
 | 
| Emit that a AIML set of files is loading. 
 | 
| 
 | 
| This accepts all user input to the AIML engine. 
 
 | 
| 
 | 
| This is responsible for memory management of the AIMLEngine GraphBuilder. 
 | 
| 
 | 
| This is for the call backs on the AIML engine. It is used to ultimately update the gui. | 
 1.4.5
 1.4.5