mirror of https://notabug.org/acetone/ircabot.git
Captcha example
parent
65d93eb61b
commit
118309c3e8
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue