Captcha example

master
const an teen 2022-02-10 12:09:00 -05:00
parent 65d93eb61b
commit 118309c3e8
2 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,9 @@
* Copyright (c) 2022 Acetone
* Updated for IRCaBot project
* Usage example:
* #include <QApplication>
* int main(int argc, char *argv[]) {
* QApplication a(argc, argv);
* Captcha cp;
* cp.randomize();
* cp.generateText(5);
@ -29,6 +32,7 @@
* f.close();
* }
* qInfo() << cp.captchaText(); // answer
* }
*/
#include "captcha.h"

View File

@ -20,6 +20,9 @@
* Copyright (c) 2022 Acetone
* Updated for IRCaBot project
* Usage example:
* #include <QApplication>
* int main(int argc, char *argv[]) {
* QApplication a(argc, argv);
* Captcha cp;
* cp.randomize();
* cp.generateText(5);
@ -29,6 +32,7 @@
* f.close();
* }
* qInfo() << cp.captchaText(); // answer
* }
*/
#ifndef CAPTCHA_H