git-svn-id: svn://db.shs.com.ru/libs@129 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
37
telegram_test/mainwindow.h
Normal file
37
telegram_test/mainwindow.h
Normal file
@@ -0,0 +1,37 @@
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QTimerEvent>
|
||||
#include <QTimer>
|
||||
#include "telegrambotbase.h"
|
||||
#include "execbot.h"
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
}
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MainWindow(QWidget *parent = 0);
|
||||
~MainWindow();
|
||||
|
||||
private slots:
|
||||
void on_pushButton_1_clicked();
|
||||
void on_pushButton_2_clicked();
|
||||
void printMessage(TelegramBotAPI::Message msg);
|
||||
void printImage(TelegramBotAPI::File file);
|
||||
|
||||
void on_lineEdit_editingFinished();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
ExecBot bot;
|
||||
uint lid;
|
||||
QTimer bot_timer;
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
Reference in New Issue
Block a user